Template:Cite web/doc: Difference between revisions
mNo edit summary |
m add example on date format |
||
(3 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
==Usage== | ==Usage== | ||
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. | 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> | ||
Line 43: | Line 43: | ||
"date": { | "date": { | ||
"label": "Source date", | "label": "Source date", | ||
"description": "Full date when the source was published; if unknown, use access-date instead; do not wikilink", | "description": "Full date when the source was published; if unknown, use access-date instead; do not wikilink ", | ||
"type": "date", | "type": "date", | ||
"suggested": true | "suggested": true, | ||
"example": "Format as YYY-MM-DD (2020-12-30) or DD Mon YYYY (30 Dec 2025)" | |||
}, | }, | ||
"access-date": { | "access-date": { | ||
Line 52: | Line 53: | ||
"type": "date", | "type": "date", | ||
"suggested": true, | "suggested": true, | ||
"example": "Format as YYY-MM-DD (2020-12-30) or DD Mon YYYY (30 Dec 2025)", | |||
"aliases": [ | "aliases": [ | ||
"accessdate" | "accessdate" | ||
Line 74: | Line 76: | ||
"last": { | "last": { | ||
"label": "Last name", | "label": "Last name", | ||
"description": "The surname of the author; don't wikilink | "description": "The surname of the author; don't wikilink (use 'author-link' for that); can suffix with a numeral to add additional authors (eg last1). Tied to 'first'", | ||
"aliases": [ | "aliases": [ | ||
"last1", | "last1", | ||
Line 92: | 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 | "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 106: | Line 108: | ||
"author-link": { | "author-link": { | ||
"label": "Author link", | "label": "Author link", | ||
"description": "Title of existing | "description": "Title of existing CAT wiki article about the author; can suffix with a numeral to add additional authors (eg author-link1)", | ||
"type": "wiki-page-name", | "type": "wiki-page-name", | ||
"aliases": [ | "aliases": [ | ||
Line 132: | Line 134: | ||
"author-link2": { | "author-link2": { | ||
"label": "Author link 2", | "label": "Author link 2", | ||
"description": "Title of existing | "description": "Title of existing CAT wiki article about the second author.", | ||
"type": "wiki-page-name", | "type": "wiki-page-name", | ||
"aliases": [ | "aliases": [ | ||
Line 172: | Line 174: | ||
"editor-link": { | "editor-link": { | ||
"label": "Editor link", | "label": "Editor link", | ||
"description": "Title of existing | "description": "Title of existing CAT wiki article about the editor; can suffix with a numeral to add additional editors", | ||
"aliases": [ | "aliases": [ | ||
"editor1-link" | "editor1-link" | ||
Line 191: | 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 YYY-MM-DD (2020-12-30) or DD Mon YYYY (30 Dec 2025)", | |||
"type": "date" | "type": "date" | ||
}, | }, | ||
Line 374: | Line 377: | ||
"type": "date", | "type": "date", | ||
"suggested": true, | "suggested": true, | ||
"example": "Format as YYY-MM-DD (2020-12-30) or DD Mon YYYY (30 Dec 2025)", | |||
"aliases": [ | "aliases": [ | ||
"archivedate" | "archivedate" | ||
Line 425: | Line 429: | ||
"author-link3": { | "author-link3": { | ||
"label": "Author link 3", | "label": "Author link 3", | ||
"description": "Title of existing | "description": "Title of existing CAT wiki article about the third author.", | ||
"type": "wiki-page-name", | "type": "wiki-page-name", | ||
"aliases": [ | "aliases": [ | ||
Line 446: | Line 450: | ||
"author-link4": { | "author-link4": { | ||
"label": "Author link 4", | "label": "Author link 4", | ||
"description": "Title of existing | "description": "Title of existing CAT wiki article about the fourth author.", | ||
"type": "wiki-page-name", | "type": "wiki-page-name", | ||
"aliases": [ | "aliases": [ | ||
Line 467: | Line 471: | ||
"author-link5": { | "author-link5": { | ||
"label": "Author link 5", | "label": "Author link 5", | ||
"description": "Title of existing | "description": "Title of existing CAT wiki article about the fifth author.", | ||
"type": "wiki-page-name", | "type": "wiki-page-name", | ||
"aliases": [ | "aliases": [ | ||
Line 488: | Line 492: | ||
"author-link6": { | "author-link6": { | ||
"label": "Author link 6", | "label": "Author link 6", | ||
"description": "Title of existing | "description": "Title of existing CAT wiki article about the sixth author.", | ||
"type": "wiki-page-name", | "type": "wiki-page-name", | ||
"aliases": [ | "aliases": [ | ||
Line 509: | Line 513: | ||
"author-link7": { | "author-link7": { | ||
"label": "Author link 7", | "label": "Author link 7", | ||
"description": "Title of existing | "description": "Title of existing CAT wiki article about the seventh author.", | ||
"type": "wiki-page-name", | "type": "wiki-page-name", | ||
"aliases": [ | "aliases": [ | ||
Line 530: | Line 534: | ||
"author-link8": { | "author-link8": { | ||
"label": "Author link 8", | "label": "Author link 8", | ||
"description": "Title of existing | "description": "Title of existing CAT wiki article about the eighth author.", | ||
"type": "wiki-page-name", | "type": "wiki-page-name", | ||
"aliases": [ | "aliases": [ | ||
Line 551: | Line 555: | ||
"author-link9": { | "author-link9": { | ||
"label": "Author link 9", | "label": "Author link 9", | ||
"description": "Title of existing | "description": "Title of existing CAT wiki article about the ninth author.", | ||
"type": "wiki-page-name", | "type": "wiki-page-name", | ||
"aliases": [ | "aliases": [ | ||
Line 678: | Line 682: | ||
"editor2-link": { | "editor2-link": { | ||
"label": "Editor link 2", | "label": "Editor link 2", | ||
"description": "Title of existing | "description": "Title of existing CAT 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 CAT 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 CAT 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 CAT 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 CAT 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 CAT 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 CAT 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 CAT wiki article about the ninth editor.", | ||
"type": "wiki-page-name" | "type": "wiki-page-name" | ||
}, | }, | ||
Line 805: | Line 809: | ||
], | ], | ||
"label": "Author link 10", | "label": "Author link 10", | ||
"description": "Title of existing | "description": "Title of existing CAT wiki article about the tenth author.", | ||
"type": "wiki-page-name" | "type": "wiki-page-name" | ||
}, | }, | ||
Line 813: | Line 817: | ||
], | ], | ||
"label": "Author link 11", | "label": "Author link 11", | ||
"description": "Title of existing | "description": "Title of existing CAT wiki article about the eleventh author.", | ||
"type": "wiki-page-name" | "type": "wiki-page-name" | ||
}, | }, | ||
Line 860: | Line 864: | ||
], | ], | ||
"label": "Author link 12", | "label": "Author link 12", | ||
"description": "Title of existing | "description": "Title of existing CAT wiki article about the twelfth author.", | ||
"type": "wiki-page-name" | "type": "wiki-page-name" | ||
}, | }, | ||
Line 881: | Line 885: | ||
], | ], | ||
"label": "Author link 13", | "label": "Author link 13", | ||
"description": "Title of existing | "description": "Title of existing CAT wiki article about the thirteenth author.", | ||
"type": "wiki-page-name" | "type": "wiki-page-name" | ||
}, | }, | ||
Line 902: | Line 906: | ||
], | ], | ||
"label": "Author link 14", | "label": "Author link 14", | ||
"description": "Title of existing | "description": "Title of existing CAT wiki article about the fourteenth author.", | ||
"type": "wiki-page-name" | "type": "wiki-page-name" | ||
}, | }, | ||
Line 923: | Line 927: | ||
], | ], | ||
"label": "Author link 15", | "label": "Author link 15", | ||
"description": "Title of existing | "description": "Title of existing CAT wiki article about the fifteenth author.", | ||
"type": "wiki-page-name" | "type": "wiki-page-name" | ||
}, | }, | ||
Line 1,176: | Line 1,180: | ||
"format": "{{_ |_=_}}" | "format": "{{_ |_=_}}" | ||
} | } | ||
</templatedata> | </templatedata> |