Template:Citation Style documentation/doc: Difference between revisions

Content deleted Content added
m Full horizontal style: logical sequence
Full vertical style: implemented, as discussed at Help talk:Citation Style 1
Line 89:
 
===Full vertical style===
The full vertical style iscan createdbe implemented in a three columns: Verticalformat list(only practical when the number of parameters is not too extended), Prerequisitesor andin Briefa instructionsfour /columns notesformat.
 
====Three columns format====
The full vertical style in three columns consists of a "Vertical list", "Prerequisites" and "Brief instructions / notes".
 
* Start with:
Line 170 ⟶ 173:
</pre>
{{csdoc|usage vertical end}}
 
====Four columns format====
{{pre2|<nowiki>
 
{| class="wikitable"
|+Full parameter set in vertical format
! Parameters !! Prerequisites !! Brief instructions / notes !! Vertical list
|-
| {{Hover title|or any of its aliases, including: last; author1; author; author-last1; author-last; (etc.)|last1}}
|
| Author's last name; or author in "Lastname, Firstname" format; or single name author. Don't link.
| rowspan="3" style="vertical-align:top;" | <pre style="margin:0px; border:none;">
{{cite xxxxx
|last1 =
|first1 =
|author-link1 =
}}
</pre>
|-
| {{Hover title|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}}
| Author's first name (unless if already included as ",&nbsp;Firstname" in <code>last1</code>).
|-
| {{Hover title|or any of its aliases, including: author-link; authorlink1; authorlink; subject-link1; subject-link; (etc.)|author-link1}}
| {{Hover title|or any of its aliases, including: last; author1; author; author-last1; author-last; (etc.)|last1}}
| Title of Wikipedia article about the first author.
|-
| {{Hover title|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}}
| Like <code>last1</code>, but for 2nd author.
|}</nowiki>}}
 
{| class="wikitable"
|+Full parameter set in vertical format
! Parameters !! Prerequisites !! Brief instructions / notes !! Vertical list
|-
| {{Hover title|or any of its aliases, including: last; author1; author; author-last1; author-last; (etc.)|last1}}
|
| Author's last name; or author in "Lastname, Firstname" format; or single name author. Don't link.
| rowspan="179" style="vertical-align:top;" | <pre style="margin:0px; border:none;">
{{cite xxxxx
|last1 =
|first1 =
|author-link1 =
|last2 =
|first2 =
|author-link2 =
|last3 =
|first3 =
|author-link3 =
|last4 =
|first4 =
|author-link4 =
|last5 =
|first5 =
|author-link5 =
|name-list-format =
|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-year =
|df =
|publisher =
|___location =
|publication-place =
|via =
|language =
|page =
|pages =
|nopp =
|at =
|minutes =
|time =
|time-caption =
|id =
|arxiv =
|asin =
|asin-tld =
|bibcode =
|biorxiv =
|citeseerx =
|doi =
|doi-broken-date =
|eissn =
|hdl =
|sbn =
|isbn =
|ignore-isbn-error =
|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 =
|template-doc-demo =
|quote =
|ref =
|mode =
|author-mask1 =
|author-mask2 =
|author-mask3 =
|author-mask4 =
|author-mask5 =
|display-authors =
|last-author-amp =
|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 =
&nbsp;|season&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
|series-number =
|series-separator =
|network =
|station =
|transcript =
|transcript-url =
|transcript-format =
|conference =
|conference-url =
|conference-format =
}}
</pre>
|-
| {{Hover title|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}}
| Author's first name (unless if already included as ",&nbsp;Firstname" in <code>last1</code>).
|-
| {{Hover title|or any of its aliases, including: author-link; authorlink1; authorlink; subject-link1; subject-link; (etc.)|author-link1}}
| {{Hover title|or any of its aliases, including: last; author1; author; author-last1; author-last; (etc.)|last1}}
| Title of Wikipedia article about the first author.
|-
| {{Hover title|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}}
| Like <code>last1</code>, but for 2nd author.
|-
| {{Hover title|or any of its aliases, including: given2; author-first2; (etc.)|first2}}
| {{Hover title|or any of its aliases, including: author2; author-last2; (etc.)|last2}}
| Like <code>first1</code>, but for 2nd author.
|-
| {{Hover title|or any of its aliases, including: authorlink2; subject-link2; (etc.)|author-link2}}
| {{Hover title|or any of its aliases, including: author2; author-last2; (etc.)|last2}}
| Like <code>author-link1</code>, but for 2nd author.
|-
|| last3 || {{Hover title|or any of its aliases, including: author2; author-last2; (etc.)|last2}} ||
|-
|| first3 || last3 ||
|-
|| author-link3 || last3 ||
|-
|| last4 || last3 ||
|-
|| first4 || last4 ||
|-
|| author-link4 || last4 ||
|-
|| last5 || last4 || Similar: last6, last7, etc.
|-
|| first5 || last5 || Similar: first6, first7, etc.
|-
|| author-link5 || last5 || Similar: author-link6, author-link7, etc.
|-
|| name-list-format || || <code>vanc</code> to emulate [[Vancouver style]]
|-
|| vauthors || ||
|-
|| translator-last1 || ||
|-
|| translator-first1 || translator-last1 ||
|-
|| translator-link1 || translator-last1 ||
|-
|| translator-last2 || translator-last1 || Additional translators: translator-last3, etc.
|-
|| translator-first2 || translator-last2 ||
|-
|| translator-link2 || translator-last2 ||
|-
|| collaboration || ||
|-
|| contributor-last1 || ||
|-
|| contributor-first1 || ||
|-
|| contributor-link1 || ||
|-
|| contributor-last2 || ||
|-
|| contributor-first2 || ||
|-
|| contributor-link2 || ||
|-
|| others || ||
|-
|| editor-last1 || ||
|-
|| editor-first1 || editor-last1 ||
|-
|| editor-link1 || editor-last1 ||
|-
|| editor-last2 || editor-last1 ||
|-
|| editor-first2 || editor-last2 ||
|-
|| editor-link2 || editor-last2 ||
|-
|| editor-last3 || editor-last2 ||
|-
|| editor-first3 || editor-last3 ||
|-
|| editor-link3 || editor-last3 ||
|-
|| veditors || ||
|-
|| title || ||
|-
|| script-title || ||
|-
|| trans-title || title or script-title ||
|-
|| work || ||
|-
|| script-work || ||
|-
|| trans-work || work or script-work ||
|-
|| issue || ||
|-
|| department || ||
|-
|| chapter || || Chapter title can be wikilinked unless when a <code>chapterurl</code> is given
|-
|| script-chapter || ||
|-
|| trans-chapter || chapter or script-chapter ||
|-
|| contribution || ||
|-
|| type || ||
|-
|| edition || || Ordinal number
|-
|| series || ||
|-
|| series-link || ||
|-
|| episode || ||
|-
|| event || ||
|-
|| agency || ||
|-
|| volume || ||
|-
|| date || ||
|-
|| year || ||
|-
|| orig-year || year or date ||
|-
|| df || ||
|-
|| publisher || ||
|-
|| ___location || publisher ||
|-
|| publication-place || ||
|-
|| via || ||
|-
|| language || ||
|-
|| page || || choose one: "page", "pages", or "at"
|-
|| pages || || choose one: "page", "pages", or "at". Use when content on multiple pages supports the article text.
|-
|| nopp || page or pages || set nopp to "yes" to suppress the "p." or "pp." before page numbers
|-
|| at || || choose one: "page", "pages", or "at"
|-
|| minutes || ||
|-
|| time || ||
|-
|| time-caption || ||
|-
|| id || ||
|-
|| arxiv || ||
|-
|| asin || ||
|-
|| asin-tld || ||
|-
|| bibcode || ||
|-
|| biorxiv || ||
|-
|| citeseerx || ||
|-
|| doi || ||
|-
|| doi-broken-date || doi ||
|-
|| eissn || ||
|-
|| hdl || ||
|-
|| sbn || ||
|-
|| isbn || || '''always include ISBN''', if one has been assigned
|-
|| ignore-isbn-error || ||
|-
|| ismn || ||
|-
|| issn || ||
|-
|| jfm || ||
|-
|| jstor || ||
|-
|| lccn || ||
|-
|| mr || ||
|-
|| oclc || ||
|-
|| ol || ||
|-
|| osti || ||
|-
|| pmc || ||
|-
|| embargo || ||
|-
|| pmid || ||
|-
|| rfc || ||
|-
|| ssrn || ||
|-
|| zbl || ||
|-
|| url || title or script-title ||
|-
|| format || url ||
|-
|| archive-url || archive-date, url ||
|-
|| archive-format || ||
|-
|| url-status || archive-url ||
|-
|| archive-date || archive-url ||
|-
|| chapter-url || chapter or script-chapter ||
|-
|| chapter-format || chapter-url ||
|-
|| lay-url || ||
|-
|| lay-format || lay-url ||
|-
|| lay-source || lay-url ||
|-
|| lay-date || lay-url ||
|-
|| access-date || url ||
|-
|| template-doc-demo || ||
|-
|| quote || ||
|-
|| ref || ||
|-
|| mode || || <code>cs1</code> or <code>cs2</code>
|-
|| author-mask1 || last1 ||
|-
|| author-mask2 || last2 ||
|-
|| author-mask3 || last3 ||
|-
|| author-mask4 || last4 ||
|-
|| author-mask5 || last5 ||
|-
|| display-authors || last1 ||
|-
|| last-author-amp || last1 ||
|-
|| translator-mask1 || translator-last1 ||
|-
|| translator-mask2 || translator-last2 ||
|-
|| display-translators || ||
|-
|| contributor-mask1 || ||
|-
|| contributor-mask2 || ||
|-
|| display-contributors || ||
|-
|| editor-mask1 || editor-last1 ||
|-
|| editor-mask2 || editor-last2 ||
|-
|| editor-mask3 || editor-last3 ||
|-
|| 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 || ||
|-
|| {{nowrap|display-interviewers}} || ||
|-
|| season || ||
|-
|| series-number || ||
|-
|| series-separator || ||
|-
|| network || ||
|-
|| station || ||
|-
|| transcript || ||
|-
|| transcript-url || ||
|-
|| transcript-format || ||
|-
|| conference || ||
|-
|| conference-url || ||
|-
|| conference-format || ||
|-
| colspan="4" style="text-align: center " | If a field name is listed in the '''Prerequisites''' column it is a prerequisite for the field to the left.
|-
! colspan="4" | Additional parameters (available for at least some cite templates)
|-
|| || || || {{para|air-date}}
|-
|| || || || {{para|authors}}
|-
|| || || || {{para|book-title}}
|-
|| || || || {{para|class}}
|-
|| || || || {{para|degree}}
|-
|| || || || {{para|docket}}
|-
|| || || || {{para|editors}}
|-
|| || || || {{para|encyclopedia}}
|-
|| || || || {{para|mailinglist}}
|-
|| || || (MessageID variant) || {{para|message-id}}
|-
|| || || (USENETID variant) || {{para|message-id}}
|-
|| || || || {{para|number}}
|-
|| || || || {{para|publicationdate}}
|-
|| || || || {{para|section}}
|-
|| || || || {{para|sheet}}
|-
|| || || || {{para|sheets}}
|-
|| || || || {{para|title-link}}
|-
|| || || (available from late April 2020) || {{para|s2cid}}
|}
 
===Sub-templates===