Template:Citation: Difference between revisions

From Know Islam
Jump to navigation Jump to search
(Created page with "<includeonly>{{#if:{{{last|}}} | {{{last}}}, }}{{#if:{{{first|}}} | {{{first}}}. }}{{#if:{{{year|}}} | ({{{year}}}). }}''{{#if:{{{title|}}} | '''{{{title}}}'''. }}{{#if:{{{publisher|}}} | {{{publisher}}}. }}{{#if:{{{page|}}} | p. {{{page}}}. }}</includeonly> <noinclude>{{documentation}}</noinclude>")
 
No edit summary
 
Line 1: Line 1:
<includeonly>{{#if:{{{last|}}} | {{{last}}}, }}{{#if:{{{first|}}} | {{{first}}}. }}{{#if:{{{year|}}} | ({{{year}}}). }}''{{#if:{{{title|}}} | '''{{{title}}}'''. }}{{#if:{{{publisher|}}} | {{{publisher}}}. }}{{#if:{{{page|}}} | p. {{{page}}}. }}</includeonly>
<includeonly>{{#if:{{{last|}}} | {{{last}}}, }}{{#if:{{{first|}}} | {{{first}}}. }}{{#if:{{{title|}}} | "''{{{title}}}.''" }}{{#if:{{{website|}}} | <i>{{{website}}}</i>, }}{{#if:{{{publisher|}}} | {{{publisher}}}, }}{{#if:{{{year|}}} | {{{year}}}. }}{{#if:{{{page|}}} | p. {{{page}}}. }}{{#if:{{{url|}}} | <nowiki>[</nowiki>{{{url}}} <nowiki>]</nowiki>. }}</includeonly>
<noinclude>{{documentation}}</noinclude>
<noinclude>{{documentation}}</noinclude>

Latest revision as of 14:06, 25 June 2024

Usage

This template is used to create a standardized citation format. Example usage:

{{Citation
| last = Smith
| first = John
| title = Example Article
| website = Example Website
| publisher = Example Publisher
| year = 2023
| page = 45
| url = http://www.example.com/article
}}

Parameters

last
Author's last name.
first
Author's first name.
title
Title of the article or book.
website
Name of the website.
publisher
Publisher of the source.
year
Year of publication.
page
Page number(s) of the citation.
url
URL of the source.