Template:Cite web/doc: Difference between revisions

YYY -> YYYY, CAT -> CRW
RuefulSeraph (talk | contribs)
m minor grammar/mechanical changes
 
(2 intermediate revisions by 2 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 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>
<ref name="shortname">
<ref name="shortname">
{{cite web  
{{cite web
|first=
|last=  
|last=  
|first= 
|title=
|title=
|url=  
|url=  
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)",
"example": "Format as YYYY-MM-DD (2020-12-30) or DD Mon YYYY (30 Dec 2025)",
"aliases": [
"aliases": [
"accessdate"
"accessdate"
Line 94: 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 108: Line 108:
"author-link": {
"author-link": {
"label": "Author link",
"label": "Author link",
"description": "Title of existing Consumer Rights Wiki article about the author; can suffix with a numeral to add additional authors (eg author-link1)",
"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 193: 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)",
"example": "Format as YYYY-MM-DD (2020-12-30) or DD Mon YYYY (30 Dec 2025)",
"type": "date"
"type": "date"
},
},
Line 377: 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)",
"example": "Format as YYYY-MM-DD (2020-12-30) or DD Mon YYYY (30 Dec 2025)",
"aliases": [
"aliases": [
"archivedate"
"archivedate"