Template:Cite web/doc: Difference between revisions
m partial update of template variable docs and test |
RuefulSeraph (talk | contribs) m minor grammar/mechanical changes |
||
(4 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
{{Hatnote|From https://en.wikipedia.org/wiki/Template:Cite_web under CC BY-SA 4.0 }} | {{Hatnote|From https://en.wikipedia.org/wiki/Template:Cite_web under CC-BY-SA 4.0}} | ||
==Usage== | ==Usage== | ||
See the [https://en.wikipedia.org/w/index.php?title=Template:Cite_web/doc&oldid=1272810747 full documentation on | See the [https://en.wikipedia.org/w/index.php?title=Template:Cite_web/doc&oldid=1272810747 full documentation on Wikipedia] for extensive examples and documentation. | ||
A good general format for fields to use when using this template in references is the following: | A good general format for fields to use when using this template in references is the following: | ||
<pre> | <pre> | ||
<ref name="shortname"> | <ref name="shortname"> | ||
{{cite web | {{cite web | ||
|last= | |last= | ||
|first= | |||
|title= | |title= | ||
|url= | |url= | ||
Line 46: | Line 46: | ||
"type": "date", | "type": "date", | ||
"suggested": true, | "suggested": true, | ||
"example": "Format as | "example": "Format as YYYY-MM-DD (2020-12-30) or DD Mon YYYY (30 Dec 2025)" | ||
}, | }, | ||
"access-date": { | "access-date": { | ||
Line 53: | Line 53: | ||
"type": "date", | "type": "date", | ||
"suggested": true, | "suggested": true, | ||
"example": "Format as YYYY-MM-DD (2020-12-30) or DD Mon YYYY (30 Dec 2025)", | |||
"aliases": [ | "aliases": [ | ||
"accessdate" | "accessdate" | ||
Line 93: | Line 94: | ||
"first": { | "first": { | ||
"label": "First name", | "label": "First name", | ||
"description": "Given or first name, middle names, or initials of the author;don't wikilink (use 'author-link' for that); can suffix with a numeral to add additional authors (eg first1). Tied to 'last'.", | "description": "Given or first name, middle names, or initials of the author; don't wikilink (use 'author-link' for that); can suffix with a numeral to add additional authors (eg first1). Tied to 'last'.", | ||
"aliases": [ | "aliases": [ | ||
"given", | "given", | ||
Line 107: | Line 108: | ||
"author-link": { | "author-link": { | ||
"label": "Author link", | "label": "Author link", | ||
"description": "Title of existing | "description": "Title of existing Consumer Rights Wiki article about the author; can suffix with a numeral to add additional authors (e.g. author-link1)", | ||
"type": "wiki-page-name", | "type": "wiki-page-name", | ||
"aliases": [ | "aliases": [ | ||
Line 133: | Line 134: | ||
"author-link2": { | "author-link2": { | ||
"label": "Author link 2", | "label": "Author link 2", | ||
"description": "Title of existing | "description": "Title of existing Consumer Rights Wiki article about the second author.", | ||
"type": "wiki-page-name", | "type": "wiki-page-name", | ||
"aliases": [ | "aliases": [ | ||
Line 173: | Line 174: | ||
"editor-link": { | "editor-link": { | ||
"label": "Editor link", | "label": "Editor link", | ||
"description": "Title of existing | "description": "Title of existing Consumer Rights Wiki article about the editor; can suffix with a numeral to add additional editors", | ||
"aliases": [ | "aliases": [ | ||
"editor1-link" | "editor1-link" | ||
Line 192: | Line 193: | ||
"label": "Publication date", | "label": "Publication date", | ||
"description": "Date of publication when different from the date the work was written; do not wikilink", | "description": "Date of publication when different from the date the work was written; do not wikilink", | ||
"example": "Format as YYYY-MM-DD (2020-12-30) or DD Mon YYYY (30 Dec 2025)", | |||
"type": "date" | "type": "date" | ||
}, | }, | ||
Line 375: | Line 377: | ||
"type": "date", | "type": "date", | ||
"suggested": true, | "suggested": true, | ||
"example": "Format as YYYY-MM-DD (2020-12-30) or DD Mon YYYY (30 Dec 2025)", | |||
"aliases": [ | "aliases": [ | ||
"archivedate" | "archivedate" | ||
Line 426: | Line 429: | ||
"author-link3": { | "author-link3": { | ||
"label": "Author link 3", | "label": "Author link 3", | ||
"description": "Title of existing | "description": "Title of existing Consumer Rights Wiki article about the third author.", | ||
"type": "wiki-page-name", | "type": "wiki-page-name", | ||
"aliases": [ | "aliases": [ | ||
Line 447: | Line 450: | ||
"author-link4": { | "author-link4": { | ||
"label": "Author link 4", | "label": "Author link 4", | ||
"description": "Title of existing | "description": "Title of existing Consumer Rights Wiki article about the fourth author.", | ||
"type": "wiki-page-name", | "type": "wiki-page-name", | ||
"aliases": [ | "aliases": [ | ||
Line 468: | Line 471: | ||
"author-link5": { | "author-link5": { | ||
"label": "Author link 5", | "label": "Author link 5", | ||
"description": "Title of existing | "description": "Title of existing Consumer Rights Wiki article about the fifth author.", | ||
"type": "wiki-page-name", | "type": "wiki-page-name", | ||
"aliases": [ | "aliases": [ | ||
Line 489: | Line 492: | ||
"author-link6": { | "author-link6": { | ||
"label": "Author link 6", | "label": "Author link 6", | ||
"description": "Title of existing | "description": "Title of existing Consumer Rights Wiki article about the sixth author.", | ||
"type": "wiki-page-name", | "type": "wiki-page-name", | ||
"aliases": [ | "aliases": [ | ||
Line 510: | Line 513: | ||
"author-link7": { | "author-link7": { | ||
"label": "Author link 7", | "label": "Author link 7", | ||
"description": "Title of existing | "description": "Title of existing Consumer Rights Wiki article about the seventh author.", | ||
"type": "wiki-page-name", | "type": "wiki-page-name", | ||
"aliases": [ | "aliases": [ | ||
Line 531: | Line 534: | ||
"author-link8": { | "author-link8": { | ||
"label": "Author link 8", | "label": "Author link 8", | ||
"description": "Title of existing | "description": "Title of existing Consumer Rights Wiki article about the eighth author.", | ||
"type": "wiki-page-name", | "type": "wiki-page-name", | ||
"aliases": [ | "aliases": [ | ||
Line 552: | Line 555: | ||
"author-link9": { | "author-link9": { | ||
"label": "Author link 9", | "label": "Author link 9", | ||
"description": "Title of existing | "description": "Title of existing Consumer Rights Wiki article about the ninth author.", | ||
"type": "wiki-page-name", | "type": "wiki-page-name", | ||
"aliases": [ | "aliases": [ | ||
Line 679: | Line 682: | ||
"editor2-link": { | "editor2-link": { | ||
"label": "Editor link 2", | "label": "Editor link 2", | ||
"description": "Title of existing | "description": "Title of existing Consumer Rights Wiki article about the second editor.", | ||
"type": "wiki-page-name" | "type": "wiki-page-name" | ||
}, | }, | ||
"editor3-link": { | "editor3-link": { | ||
"label": "Editor link 3", | "label": "Editor link 3", | ||
"description": "Title of existing | "description": "Title of existing Consumer Rights Wiki article about the third editor.", | ||
"type": "wiki-page-name" | "type": "wiki-page-name" | ||
}, | }, | ||
"editor4-link": { | "editor4-link": { | ||
"label": "Editor link 4", | "label": "Editor link 4", | ||
"description": "Title of existing | "description": "Title of existing Consumer Rights Wiki article about the fourth editor.", | ||
"type": "wiki-page-name" | "type": "wiki-page-name" | ||
}, | }, | ||
"editor5-link": { | "editor5-link": { | ||
"label": "Editor link 5", | "label": "Editor link 5", | ||
"description": "Title of existing | "description": "Title of existing Consumer Rights Wiki article about the fifth editor.", | ||
"type": "wiki-page-name" | "type": "wiki-page-name" | ||
}, | }, | ||
"editor6-link": { | "editor6-link": { | ||
"label": "Editor link 6", | "label": "Editor link 6", | ||
"description": "Title of existing | "description": "Title of existing Consumer Rights Wiki article about the sixth editor.", | ||
"type": "wiki-page-name" | "type": "wiki-page-name" | ||
}, | }, | ||
"editor7-link": { | "editor7-link": { | ||
"label": "Editor link 7", | "label": "Editor link 7", | ||
"description": "Title of existing | "description": "Title of existing Consumer Rights Wiki article about the seventh editor.", | ||
"type": "wiki-page-name" | "type": "wiki-page-name" | ||
}, | }, | ||
"editor8-link": { | "editor8-link": { | ||
"label": "Editor link 8", | "label": "Editor link 8", | ||
"description": "Title of existing | "description": "Title of existing Consumer Rights Wiki article about the eighth editor.", | ||
"type": "wiki-page-name" | "type": "wiki-page-name" | ||
}, | }, | ||
"editor9-link": { | "editor9-link": { | ||
"label": "Editor link 9", | "label": "Editor link 9", | ||
"description": "Title of existing | "description": "Title of existing Consumer Rights Wiki article about the ninth editor.", | ||
"type": "wiki-page-name" | "type": "wiki-page-name" | ||
}, | }, | ||
Line 806: | Line 809: | ||
], | ], | ||
"label": "Author link 10", | "label": "Author link 10", | ||
"description": "Title of existing | "description": "Title of existing Consumer Rights Wiki article about the tenth author.", | ||
"type": "wiki-page-name" | "type": "wiki-page-name" | ||
}, | }, | ||
Line 814: | Line 817: | ||
], | ], | ||
"label": "Author link 11", | "label": "Author link 11", | ||
"description": "Title of existing | "description": "Title of existing Consumer Rights Wiki article about the eleventh author.", | ||
"type": "wiki-page-name" | "type": "wiki-page-name" | ||
}, | }, | ||
Line 861: | Line 864: | ||
], | ], | ||
"label": "Author link 12", | "label": "Author link 12", | ||
"description": "Title of existing | "description": "Title of existing Consumer Rights Wiki article about the twelfth author.", | ||
"type": "wiki-page-name" | "type": "wiki-page-name" | ||
}, | }, | ||
Line 882: | Line 885: | ||
], | ], | ||
"label": "Author link 13", | "label": "Author link 13", | ||
"description": "Title of existing | "description": "Title of existing Consumer Rights Wiki article about the thirteenth author.", | ||
"type": "wiki-page-name" | "type": "wiki-page-name" | ||
}, | }, | ||
Line 903: | Line 906: | ||
], | ], | ||
"label": "Author link 14", | "label": "Author link 14", | ||
"description": "Title of existing | "description": "Title of existing Consumer Rights Wiki article about the fourteenth author.", | ||
"type": "wiki-page-name" | "type": "wiki-page-name" | ||
}, | }, | ||
Line 924: | Line 927: | ||
], | ], | ||
"label": "Author link 15", | "label": "Author link 15", | ||
"description": "Title of existing | "description": "Title of existing Consumer Rights Wiki article about the fifteenth author.", | ||
"type": "wiki-page-name" | "type": "wiki-page-name" | ||
}, | }, |