Template:Citation Style documentation/doc: Difference between revisions

m
1 revision imported: Templates and CSS files
m (MOS:HYPHEN, punct.)
 
m (1 revision imported: Templates and CSS files)
 
(2 intermediate revisions by 2 users not shown)
Line 63: Line 63:
* Close the table with {{tlx|end}}
* Close the table with {{tlx|end}}


{{pre2|<nowiki>
{{pre|<nowiki>
{{csdoc|usage full}}
{{csdoc|usage full}}
:<code>&lt;nowiki>{{cite xxxxx |last1= |first1= |author-link1= |last2= |first2= |author-link2= |last3= |first3= |author-link3= |last4= |first4= |author-link4= |last5= |first5= |author-link5= |name-list-style= |vauthors= |translator-last1= |translator-first1= |translator-link1= |translator-last2= |translator-first2= |translator-link2= |collaboration= |contributor-last1= |contributor-first1= |contributor-link1= |contributor-last2= |contributor-first2= |contributor-link2= |others= |editor-last1= |editor-first1= |editor-link1= |editor-last2= |editor-first2= |editor-link2= |editor-last3= |editor-first3= |editor-link3= |veditors= |title= |script-title= |trans-title= |work= |script-work= |trans-work= |issue= |department= |chapter= |script-chapter= |trans-chapter= |contribution= |type= |edition= |series= |series-link= |episode= |event= |agency= |volume= |date= |year= |orig-date= |df= |publisher= |location= |publication-place= |via= |language= |page= |pages= |no-pp= |at= |minutes= |time= |time-caption= |id= |arxiv= |asin= |asin-tld= |bibcode= |biorxiv= |citeseerx= |doi= |doi-broken-date= |eissn= |hdl= |sbn= |isbn= |ismn= |issn= |jfm= |jstor= |lccn= |mr= |oclc= |ol= |osti= |pmc= |embargo= |pmid= |rfc= |ssrn= |zbl= |url= |format= |archive-url= |archive-format= |url-status= |archive-date= |chapter-url= |chapter-format= |lay-url= |lay-format= |lay-source= |lay-date= |access-date= |no-tracking= |quote= |ref= |mode= |author-mask1= |author-mask2= |author-mask3= |author-mask4= |author-mask5= |display-authors= |translator-mask1= |translator-mask2= |display-translators= |contributor-mask1= |contributor-mask2= |display-contributors= |editor-mask1= |editor-mask2= |editor-mask3= |display-editors= |postscript= |url-access= |chapter-url-access= |bibcode-access= |doi-access= |hdl-access= |jstor-access= |ol-access= |osti-access= |map= |script-map= |trans-map= |map-url= |map-format= |map-url-access= |scale= |cartography= |inset= |sections= |interviewer-last1= |interviewer-first1= |interviewer-link1= |interviewer-last2= |interviewer-first2= |interviewer-link2= |interviewer-mask1= |interviewer-mask2= |display-interviewers= |season= |series-number= |series-separator= |network= |station= |transcript= |transcript-url= |transcript-format= |conference= |conference-url= |conference-format=}}&lt;/nowiki></code>
:<code>&lt;nowiki>{{cite xxxxx |last1= |first1= |author-link1= |last2= |first2= |author-link2= |last3= |first3= |author-link3= |last4= |first4= |author-link4= |last5= |first5= |author-link5= |name-list-style= |vauthors= |translator-last1= |translator-first1= |translator-link1= |translator-last2= |translator-first2= |translator-link2= |collaboration= |contributor-last1= |contributor-first1= |contributor-link1= |contributor-last2= |contributor-first2= |contributor-link2= |others= |editor-last1= |editor-first1= |editor-link1= |editor-last2= |editor-first2= |editor-link2= |editor-last3= |editor-first3= |editor-link3= |veditors= |title= |script-title= |trans-title= |work= |script-work= |trans-work= |issue= |department= |chapter= |script-chapter= |trans-chapter= |contribution= |type= |edition= |series= |series-link= |episode= |event= |agency= |volume= |date= |year= |orig-date= |df= |publisher= |location= |publication-place= |via= |language= |page= |pages= |no-pp= |at= |minutes= |time= |time-caption= |id= |arxiv= |asin= |asin-tld= |bibcode= |biorxiv= |citeseerx= |doi= |doi-broken-date= |eissn= |hdl= |sbn= |isbn= |ismn= |issn= |jfm= |jstor= |lccn= |mr= |oclc= |ol= |osti= |pmc= |embargo= |pmid= |rfc= |ssrn= |zbl= |url= |format= |archive-url= |archive-format= |url-status= |archive-date= |chapter-url= |chapter-format= |access-date= |no-tracking= |quote= |ref= |mode= |author-mask1= |author-mask2= |author-mask3= |author-mask4= |author-mask5= |display-authors= |translator-mask1= |translator-mask2= |display-translators= |contributor-mask1= |contributor-mask2= |display-contributors= |editor-mask1= |editor-mask2= |editor-mask3= |display-editors= |postscript= |url-access= |chapter-url-access= |bibcode-access= |doi-access= |hdl-access= |jstor-access= |ol-access= |osti-access= |map= |script-map= |trans-map= |map-url= |map-format= |map-url-access= |scale= |cartography= |inset= |sections= |interviewer-last1= |interviewer-first1= |interviewer-link1= |interviewer-last2= |interviewer-first2= |interviewer-link2= |interviewer-mask1= |interviewer-mask2= |display-interviewers= |season= |series-number= |series-separator= |network= |station= |transcript= |transcript-url= |transcript-format= |conference= |conference-url= |conference-format=}}&lt;/nowiki></code>
{{end}}</nowiki>
{{end}}</nowiki>
}}
}}
{{csdoc|usage full}}
{{csdoc|usage full}}
:<code><nowiki>{{cite xxxxx |last1= |first1= |author-link1= |last2= |first2= |author-link2= |last3= |first3= |author-link3= |last4= |first4= |author-link4= |last5= |first5= |author-link5= |name-list-style= |vauthors= |translator-last1= |translator-first1= |translator-link1= |translator-last2= |translator-first2= |translator-link2= |collaboration= |contributor-last1= |contributor-first1= |contributor-link1= |contributor-last2= |contributor-first2= |contributor-link2= |others= |editor-last1= |editor-first1= |editor-link1= |editor-last2= |editor-first2= |editor-link2= |editor-last3= |editor-first3= |editor-link3= |veditors= |title= |script-title= |trans-title= |work= |script-work= |trans-work= |issue= |department= |chapter= |script-chapter= |trans-chapter= |contribution= |type= |edition= |series= |series-link= |episode= |event= |agency= |volume= |date= |year= |orig-date= |df= |publisher= |location= |publication-place= |via= |language= |page= |pages= |no-pp= |at= |minutes= |time= |time-caption= |id= |arxiv= |asin= |asin-tld= |bibcode= |biorxiv= |citeseerx= |doi= |doi-broken-date= |eissn= |hdl= |sbn= |isbn= |ismn= |issn= |jfm= |jstor= |lccn= |mr= |oclc= |ol= |osti= |pmc= |embargo= |pmid= |rfc= |ssrn= |zbl= |url= |format= |archive-url= |archive-format= |url-status= |archive-date= |chapter-url= |chapter-format= |lay-url= |lay-format= |lay-source= |lay-date= |access-date= |no-tracking= |quote= |ref= |mode= |author-mask1= |author-mask2= |author-mask3= |author-mask4= |author-mask5= |display-authors= |translator-mask1= |translator-mask2= |display-translators= |contributor-mask1= |contributor-mask2= |display-contributors= |editor-mask1= |editor-mask2= |editor-mask3= |display-editors= |postscript= |url-access= |chapter-url-access= |bibcode-access= |doi-access= |hdl-access= |jstor-access= |ol-access= |osti-access= |map= |script-map= |trans-map= |map-url= |map-format= |map-url-access= |scale= |cartography= |inset= |sections= |interviewer-last1= |interviewer-first1= |interviewer-link1= |interviewer-last2= |interviewer-first2= |interviewer-link2= |interviewer-mask1= |interviewer-mask2= |display-interviewers= |season= |series-number= |series-separator= |network= |station= |transcript= |transcript-url= |transcript-format= |conference= |conference-url= |conference-format=}}</nowiki></code>
:<code><nowiki>{{cite xxxxx |last1= |first1= |author-link1= |last2= |first2= |author-link2= |last3= |first3= |author-link3= |last4= |first4= |author-link4= |last5= |first5= |author-link5= |name-list-style= |vauthors= |translator-last1= |translator-first1= |translator-link1= |translator-last2= |translator-first2= |translator-link2= |collaboration= |contributor-last1= |contributor-first1= |contributor-link1= |contributor-last2= |contributor-first2= |contributor-link2= |others= |editor-last1= |editor-first1= |editor-link1= |editor-last2= |editor-first2= |editor-link2= |editor-last3= |editor-first3= |editor-link3= |veditors= |title= |script-title= |trans-title= |work= |script-work= |trans-work= |issue= |department= |chapter= |script-chapter= |trans-chapter= |contribution= |type= |edition= |series= |series-link= |episode= |event= |agency= |volume= |date= |year= |orig-date= |df= |publisher= |location= |publication-place= |via= |language= |page= |pages= |no-pp= |at= |minutes= |time= |time-caption= |id= |arxiv= |asin= |asin-tld= |bibcode= |biorxiv= |citeseerx= |doi= |doi-broken-date= |eissn= |hdl= |sbn= |isbn= |ismn= |issn= |jfm= |jstor= |lccn= |mr= |oclc= |ol= |osti= |pmc= |embargo= |pmid= |rfc= |ssrn= |zbl= |url= |format= |archive-url= |archive-format= |url-status= |archive-date= |chapter-url= |chapter-format= |access-date= |no-tracking= |quote= |ref= |mode= |author-mask1= |author-mask2= |author-mask3= |author-mask4= |author-mask5= |display-authors= |translator-mask1= |translator-mask2= |display-translators= |contributor-mask1= |contributor-mask2= |display-contributors= |editor-mask1= |editor-mask2= |editor-mask3= |display-editors= |postscript= |url-access= |chapter-url-access= |bibcode-access= |doi-access= |hdl-access= |jstor-access= |ol-access= |osti-access= |map= |script-map= |trans-map= |map-url= |map-format= |map-url-access= |scale= |cartography= |inset= |sections= |interviewer-last1= |interviewer-first1= |interviewer-link1= |interviewer-last2= |interviewer-first2= |interviewer-link2= |interviewer-mask1= |interviewer-mask2= |display-interviewers= |season= |series-number= |series-separator= |network= |station= |transcript= |transcript-url= |transcript-format= |conference= |conference-url= |conference-format=}}</nowiki></code>
{{end}}
{{end}}
The above set is organised contextually rather than alphabetically. The following parameters, which are usually available for at least a few cite templates, are not included in the full parameter set above: {{para|authors}}; {{para|book-title}}; {{para|class}}; {{para|degree}}; {{para|docket}}; {{para|encyclopedia}}; {{para|mailing-list}}; {{para|message-id}}; {{para|number}}; {{para|publication-date}}; {{para|section}}; {{para|sheet}}; {{para|sheets}}; {{para|title-link}}; {{para|s2cid}}.
The above set is organised contextually rather than alphabetically. The following parameters, which are usually available for at least a few cite templates, are not included in the full parameter set above: {{para|authors}}; {{para|book-title}}; {{para|class}}; {{para|degree}}; {{para|docket}}; {{para|encyclopedia}}; {{para|mailing-list}}; {{para|message-id}}; {{para|number}}; {{para|publication-date}}; {{para|section}}; {{para|sheet}}; {{para|sheets}}; {{para|title-link}}; {{para|s2cid}}.
Line 79: Line 79:
* Close the table with {{tlx|end}}
* Close the table with {{tlx|end}}


{{pre2|<nowiki>
{{pre|<nowiki>
{{csdoc|usage common}}
{{csdoc|usage common}}
:<code>&lt;nowiki>{{cite book |last= |first= |author-link= |title= |url= |access-date= |date= |publisher= |location= |isbn= |page= |pages=}}&lt;/nowiki></code>
:<code>&lt;nowiki>{{cite book |last= |first= |author-link= |title= |url= |access-date= |date= |publisher= |location= |isbn= |page= |pages=}}&lt;/nowiki></code>
Line 179: Line 179:
! Parameters !! Prerequisites !! Brief instructions / notes !! Vertical list
! Parameters !! Prerequisites !! Brief instructions / notes !! Vertical list
|-
|-
| {{Hover title|or any of its aliases, including: last; author1; author; author-last1; author-last; (etc.)|last1}}
| {{tooltip|2=or any of its aliases, including: last; author1; author; author-last1; author-last; (etc.)|last1}}
|  
|  
| Author's last name or single name author. Don't link.
| Author's last name or single name author. Don't link.
Line 190: Line 190:
</pre>
</pre>
|-
|-
| {{Hover title|or any of its aliases, including: first; given1; given; author-first1; author-first; (etc.)|first1}}
| {{tooltip|2=or any of its aliases, including: first; given1; given; author-first1; author-first; (etc.)|first1}}
| {{Hover title|or any of its aliases, including: last; author1; author; author-last1; author-last; (etc.)|last1}}
| {{tooltip|2=or any of its aliases, including: last; author1; author; author-last1; author-last; (etc.)|last1}}
| Author's first name. Don't link.
| Author's first name. Don't link.
|-
|-
| {{Hover title|or any of its aliases, including: author-link; subject-link1; subject-link; (etc.)|author-link1}}
| {{tooltip|2=or any of its aliases, including: author-link; subject-link1; subject-link; (etc.)|author-link1}}
| {{Hover title|or any of its aliases, including: last; author1; author; author-last1; author-last; (etc.)|last1}}
| {{tooltip|2=or any of its aliases, including: last; author1; author; author-last1; author-last; (etc.)|last1}}
| Title of Wikipedia article about the first author. Don't link.
| Title of Wikipedia article about the first author. Don't link.
|}
|}
Line 204: Line 204:
! Parameters !! Prerequisites !! Brief instructions / notes !! Vertical list
! Parameters !! Prerequisites !! Brief instructions / notes !! Vertical list
|-
|-
| {{Hover title|or any of its aliases, including: last; author1; author; author-last1; author-last; (etc.)|last1}}
| {{tooltip|2=or any of its aliases, including: last; author1; author; author-last1; author-last; (etc.)|last1}}
|  
|  
| Author's last name or single name author. Don't link.
| Author's last name or single name author. Don't link.
Line 322: Line 322:
  |chapter-url          =
  |chapter-url          =
  |chapter-format      =
  |chapter-format      =
|lay-url              =
|lay-format          =
|lay-source          =
|lay-date            =
  |access-date          =
  |access-date          =
  |no-tracking          =
  |no-tracking          =
Line 389: Line 385:
</pre>
</pre>
|-
|-
| {{Hover title|or any of its aliases, including: first; given1; given; author-first1; author-first; (etc.)|first1}}
| {{tooltip|2=or any of its aliases, including: first; given1; given; author-first1; author-first; (etc.)|first1}}
| {{Hover title|or any of its aliases, including: last; author1; author; author-last1; author-last; (etc.)|last1}}
| {{tooltip|2=or any of its aliases, including: last; author1; author; author-last1; author-last; (etc.)|last1}}
| Author's first name. Don't link.
| Author's first name. Don't link.
|-
|-
| {{Hover title|or any of its aliases, including: author-link; author1-link; subject-link1; subject-link; (etc.)|author-link1}}
| {{tooltip|2=or any of its aliases, including: author-link; author1-link; subject-link1; subject-link; (etc.)|author-link1}}
| {{Hover title|or any of its aliases, including: last; author1; author; author-last1; author-last; (etc.)|last1}}
| {{tooltip|2=or any of its aliases, including: last; author1; author; author-last1; author-last; (etc.)|last1}}
| Title of Wikipedia article about the first author. Don't link.
| Title of Wikipedia article about the first author. Don't link.
|-
|-
| {{Hover title|or any of its aliases, including: author2; author-last2; (etc.)|last2}}
| {{tooltip|2=or any of its aliases, including: author2; author-last2; (etc.)|last2}}
| {{Hover title|or any of its aliases, including: last; author1; author; author-last1; author-last; (etc.)|last1}}
| {{tooltip|2=or any of its aliases, including: last; author1; author; author-last1; author-last; (etc.)|last1}}
| Like <code>last1</code>, but for 2nd author.
| Like <code>last1</code>, but for 2nd author.
|-
|-
| {{Hover title|or any of its aliases, including: given2; author-first2; (etc.)|first2}}
| {{tooltip|2=or any of its aliases, including: given2; author-first2; (etc.)|first2}}
| {{Hover title|or any of its aliases, including: author2; author-last2; (etc.)|last2}}
| {{tooltip|2=or any of its aliases, including: author2; author-last2; (etc.)|last2}}
| Like <code>first1</code>, but for 2nd author.
| Like <code>first1</code>, but for 2nd author.
|-
|-
| {{Hover title|or any of its aliases, including: author2-link; subject-link2; (etc.)|author-link2}}
| {{tooltip|2=or any of its aliases, including: author2-link; subject-link2; (etc.)|author-link2}}
| {{Hover title|or any of its aliases, including: author2; author-last2; (etc.)|last2}}
| {{tooltip|2=or any of its aliases, including: author2; author-last2; (etc.)|last2}}
| Like <code>author-link1</code>, but for 2nd author.
| Like <code>author-link1</code>, but for 2nd author.
|-
|-
| {{Hover title|or any of its aliases, including: author3; author-last3; (etc.)|last3}}
| {{tooltip|2=or any of its aliases, including: author3; author-last3; (etc.)|last3}}
| {{Hover title|or any of its aliases, including: author2; author-last2; (etc.)|last2}}
| {{tooltip|2=or any of its aliases, including: author2; author-last2; (etc.)|last2}}
| Like <code>last1</code>, but for 3rd author.
| Like <code>last1</code>, but for 3rd author.
|-
|-
| {{Hover title|or any of its aliases, including: given3; author-first3; (etc.)|first3}}
| {{tooltip|2=or any of its aliases, including: given3; author-first3; (etc.)|first3}}
| {{Hover title|or any of its aliases, including: author3; author-last3; (etc.)|last3}}
| {{tooltip|2=or any of its aliases, including: author3; author-last3; (etc.)|last3}}
| Like <code>first1</code>, but for 3rd author.
| Like <code>first1</code>, but for 3rd author.
|-
|-
| {{Hover title|or any of its aliases, including: author3-link; subject-link3; (etc.)|author-link3}}
| {{tooltip|2=or any of its aliases, including: author3-link; subject-link3; (etc.)|author-link3}}
| {{Hover title|or any of its aliases, including: author3; author-last3; (etc.)|last3}}
| {{tooltip|2=or any of its aliases, including: author3; author-last3; (etc.)|last3}}
| Like <code>author-link1</code>, but for 3rd author.
| Like <code>author-link1</code>, but for 3rd author.
|-
|-
| {{Hover title|or any of its aliases, including: author4; author-last4; (etc.)|last4}}
| {{tooltip|2=or any of its aliases, including: author4; author-last4; (etc.)|last4}}
| {{Hover title|or any of its aliases, including: author3; author-last3; (etc.)|last3}}
| {{tooltip|2=or any of its aliases, including: author3; author-last3; (etc.)|last3}}
| Like <code>last1</code>, but for 4th author.
| Like <code>last1</code>, but for 4th author.
|-
|-
| {{Hover title|or any of its aliases, including: given4; author-first4; (etc.)|first4}}
| {{tooltip|2=or any of its aliases, including: given4; author-first4; (etc.)|first4}}
| {{Hover title|or any of its aliases, including: author4; author-last4; (etc.)|last4}}
| {{tooltip|2=or any of its aliases, including: author4; author-last4; (etc.)|last4}}
| Like <code>first1</code>, but for 4th author.
| Like <code>first1</code>, but for 4th author.
|-
|-
| {{Hover title|or any of its aliases, including: author4-link; subject-link4; (etc.)|author-link4}}
| {{tooltip|2=or any of its aliases, including: author4-link; subject-link4; (etc.)|author-link4}}
| {{Hover title|or any of its aliases, including: author4; author-last4; (etc.)|last4}}
| {{tooltip|2=or any of its aliases, including: author4; author-last4; (etc.)|last4}}
| Like <code>author-link1</code>, but for 4th author.
| Like <code>author-link1</code>, but for 4th author.
|-
|-
| {{Hover title|or any of its aliases, including: author5; author-last5; (etc.)|last5}}
| {{tooltip|2=or any of its aliases, including: author5; author-last5; (etc.)|last5}}
| {{Hover title|or any of its aliases, including: author4; author-last4; (etc.)|last4}}
| {{tooltip|2=or any of its aliases, including: author4; author-last4; (etc.)|last4}}
| Like <code>last1</code>, but for 5th author. Similar: last6, etc.
| Like <code>last1</code>, but for 5th author. Similar: last6, etc.
|-
|-
| {{Hover title|or any of its aliases, including: given5; author-first5; (etc.)|first5}}
| {{tooltip|2=or any of its aliases, including: given5; author-first5; (etc.)|first5}}
| {{Hover title|or any of its aliases, including: author5; author-last5; (etc.)|last5}}
| {{tooltip|2=or any of its aliases, including: author5; author-last5; (etc.)|last5}}
| Like <code>first1</code>, but for 5th author. Similar: first6, etc.
| Like <code>first1</code>, but for 5th author. Similar: first6, etc.
|-
|-
| {{Hover title|or any of its aliases, including: author5-link; subject-link5; (etc.)|author-link5}}
| {{tooltip|2=or any of its aliases, including: author5-link; subject-link5; (etc.)|author-link5}}
| {{Hover title|or any of its aliases, including: author5; author-last5; (etc.)|last5}}
| {{tooltip|2=or any of its aliases, including: author5; author-last5; (etc.)|last5}}
| Like <code>author-link1</code>, but for 5th author. Similar: author-link6, etc.
| Like <code>author-link1</code>, but for 5th author. Similar: author-link6, etc.
|-
|-
Line 640: Line 636:
|-
|-
|| chapter-format || chapter-url ||  
|| chapter-format || chapter-url ||  
|-
|| lay-url ||  ||
|-
|| lay-format || lay-url ||
|-
|| lay-source || lay-url ||
|-
|| lay-date || lay-url ||
|-
|-
|| access-date || url ||  
|| access-date || url ||  
Line 669: Line 657:
|| author-mask5 || last5 ||
|| author-mask5 || last5 ||
|-
|-
| {{Hover title|or alias displayauthors|display-authors}}
| {{tooltip|2=or alias displayauthors|display-authors}}
| {{Hover title|or any of its aliases, including: last; author1; author; author-last1; author-last; (etc.)|last1}}
| {{tooltip|2=or any of its aliases, including: last; author1; author; author-last1; author-last; (etc.)|last1}}
| number (number of authors displayed) or <code>etal</code> (more authors)
| number (number of authors displayed) or <code>etal</code> (more authors)
|-
|-