Template:Citation/doc: Difference between revisions
No edit summary |
(Preparation when its the time to rewrite/update the template) |
||
Line 3: | Line 3: | ||
This template is used in tandem with {{tl2|Cite}} and {{tl2|References}} to mimic citation. This template supports three parameters, {{param|cite id}}, {{param|access-date}} and {{param|1}}. {{param|cite id}} should match the {{param|1}} parameter found earlier in the {{tl2|cite}} template, so if {{tl2|cite}} uses "1" then {{param|cite id}} should also be "1". The {{param|access-date}} is used to display the date when the editors recently visited the cited website. The {{param|1}} parameter in this template is the actual text to be inserted after the cite id link. This will also include a link to the position of the cited text. | This template is used in tandem with {{tl2|Cite}} and {{tl2|References}} to mimic citation. This template supports three parameters, {{param|cite id}}, {{param|access-date}} and {{param|1}}. {{param|cite id}} should match the {{param|1}} parameter found earlier in the {{tl2|cite}} template, so if {{tl2|cite}} uses "1" then {{param|cite id}} should also be "1". The {{param|access-date}} is used to display the date when the editors recently visited the cited website. The {{param|1}} parameter in this template is the actual text to be inserted after the cite id link. This will also include a link to the position of the cited text. | ||
{{Cite/doc/example}} | <!-- | ||
This template is used in tandem with {{tl2|Cite}} and {{tl2|References}} to mimic citation. | |||
== Parameters == | |||
{| class=standard-table | style="width:100%;" | |||
|- | |||
! width="20%" | Parameter | |||
! Description | |||
|- | |||
| {{Param|cite id}} | |||
| The id should match the cite number from the {{tl2|cite}} template. If {{tl2|cite}} uses "1" then {{param|cite id}} should also be "1". | |||
|- | |||
| {{Param|last}} | |||
| The author's surname or last name. Don't use with the author parameter. | |||
|- | |||
| {{Param|first}} | |||
| The author's first or given name(s). | |||
|- | |||
| {{Param|author}} | |||
| The name of the publisher. Omit terms such as Publishers, Co., Inc., Ltd., etc., but retain the words ''Books'' or ''Press''. | |||
|- | |||
| {{Param|date}} | |||
| Date of referenced source. Can be full date (day, month, and year) or partial date (month and year, season and year, or year). {{wikinote|Please enter dates in the format: day month name, year (e.g. 31 July, 2025) if possible.}} | |||
|- | |||
| {{Param|title}} | |||
| Title of the work. Mandatory for web references. | |||
|- | |||
| {{Param|url}} | |||
| URL of the citation. | |||
|- | |||
| {{Param|website}} | |||
| Name of the work containing the source; may be wikilinked if relevant. | |||
|- | |||
| {{Param|location}} | |||
| | |||
|- | |||
| {{Param|publisher}} | |||
| Name of publisher; may be wikilinked if relevant. | |||
|- | |||
| {{Param|url-status}} | |||
| Current link status, if its a dead link, or is it still active. Current parameters are: '''dead''', '''live''', and '''deviated'''. | |||
|- | |||
| {{Param|archive-url}} | |||
| The URL of an archived snapshot of a web page. Typically used to refer to services such as [https://archive.org/ Internet Archive]. | |||
|- | |||
| {{Param|archive-date}} | |||
| Archive service snapshot date | |||
|- | |||
| {{Param|access-date}} | |||
| The date when the editors recently visited the cited website. | |||
|} | |||
-->{{Cite/doc/example}} |
Revision as of 08:38, 31 July 2025

Don't forget to purge the contents of the base page upon creating or editing this subpage.
Usage
This template is used in tandem with {{Cite}} and {{References}} to mimic citation. This template supports three parameters, {{{cite id}}}, {{{access-date}}} and {{{1}}}. {{{cite id}}} should match the {{{1}}} parameter found earlier in the {{cite}} template, so if {{cite}} uses "1" then {{{cite id}}} should also be "1". The {{{access-date}}} is used to display the date when the editors recently visited the cited website. The {{{1}}} parameter in this template is the actual text to be inserted after the cite id link. This will also include a link to the position of the cited text.
Example
{{lorem ipsum|1}}{{cite|1}} {{highlight|color=white|text color=black|1=This is really cool text from an external source.}}{{cite|2}}{{cite|4}}{{cite|5}} {{highlight|color=white|text color=black|1=This is really cool text from an external source which has since become dead.}}{{cite|3}} {{lorem ipsum|1}}{{cite|6}}{{cite|7}}{{Citation | cite id = 1 | last = Doe | first = John | author = Doe, John S | date = 27 September, 2007 | title = Really Cool Article | url = http://url/ | website = Site Name <!--| work = Work Name--> | location = Planet Earth | publisher = Cool name Publishing | url-status = <!-- dead, live, deviated --> | archive-url = http://archiveurl/ | archive-date = 4 July, 2016 | access-date = 28 July, 2025 }} {{Citation | cite id = 5 | 1 = Old template being used in this testcase! Please fix! | access-date = 7 March, 2024 }} {{Citation | cite id = 6 | title = Test title for things }} {{Citation | cite id = 7 }} {{Citation|}} {{Citation |cite id=9 |archive-url=http://archive-url/ |access-date=IDK |title=testing testing, ahem, everything seems to be in order }}
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.[1]
This is really cool text from an external source.[2][4][5]
This is really cool text from an external source which has since become dead.[3]
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.[6][7]
References
References | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|