Content deleted Content added
m MOS:HYPHEN, punct. |
Adding category and interwiki ___location comments |
||
(18 intermediate revisions by 9 users not shown) | |||
Line 1:
{{Documentation subpage}}
<!--Categories where indicated at the bottom of this page, please; interwikis at Wikidata (see [[Wikipedia:Wikidata]])-->
{{template shortcut|csdoc}}
{{notice|When updating this template keep in mind that it is used on a number of template documentation pages. If the parameters in question are unique to a template, then either add it manually to the template documentation or create a new section here for transclusion.}}
Line 32 ⟶ 33:
*** Quote
*** Editors
*** Display options
==Lead section==
Use {{tlx|csdoc|lead|<var>content type</var>}} to create consistent content for the lead:
{{Citation Style documentation/edit|lead}}
Line 63:
* Close the table with {{tlx|end}}
{{
{{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
{{end}}</nowiki>
}}
{{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
{{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}}.
Line 79:
* Close the table with {{tlx|end}}
{{csdoc|usage common}}
:<code>
{{end}}
}}
</syntaxhighlight>
{{csdoc|usage common}}
:<code><nowiki>{{cite book |last= |first= |author-link= |title= |url= |access-date= |date= |publisher= |___location= |isbn= |page= |pages=}}</nowiki></code>
Line 93 ⟶ 94:
====Three-columns format====
The full vertical style in three columns consists of a "Vertical list", "Prerequisites" and "Brief instructions / notes".
<syntaxhighlight lang="
<!--
* Start with:
Line 107 ⟶ 108:
<pre style="margin:0px;">
<!--
* Create the prerequisites column; blank lines must include a
* Separate the next column with:
-->
Line 114 ⟶ 115:
<pre style="margin:0px;">
<!--
* Create the instructions column; blank lines must include a
* End with:
-->
Line 121 ⟶ 122:
</syntaxhighlight>
Example:
<syntaxhighlight lang="
{{csdoc|usage vertical}}
<pre style="margin:0px;">
Line 147 ⟶ 148:
</pre>
{{csdoc|usage vertical end}}
</syntaxhighlight>
{{csdoc|usage vertical}}
<pre style="margin:0px;">
Line 170 ⟶ 172:
</pre>
{{csdoc|usage vertical end}}
▲</syntaxhighlight>
====Four-columns format====
<syntaxhighlight lang="
{| class="wikitable"
|+ Full parameter set in vertical format
! Parameters !! Prerequisites !! Brief instructions / notes !! Vertical list
|-
| {{
|
| Author's last name or single name author. Don't link.
Line 190 ⟶ 192:
</pre>
|-
| {{
| {{
| Author's first name. Don't link.
|-
| {{
| {{
| Title of Wikipedia article about the first author. Don't link.
|}
Line 204 ⟶ 206:
! Parameters !! Prerequisites !! Brief instructions / notes !! Vertical list
|-
| {{
|
| Author's last name or single name author. Don't link.
| rowspan="
{{cite xxxxx
|last1 =
Line 322 ⟶ 324:
|chapter-url =
|chapter-format =
|access-date =
|no-tracking =
Line 389 ⟶ 387:
</pre>
|-
| {{
| {{
| Author's first name. Don't link.
|-
| {{
| {{
| Title of Wikipedia article about the first author. Don't link.
|-
| {{
| {{
| Like <code>last1</code>, but for 2nd author.
|-
| {{
| {{
| Like <code>first1</code>, but for 2nd author.
|-
| {{
| {{
| Like <code>author-link1</code>, but for 2nd author.
|-
| {{
| {{
| Like <code>last1</code>, but for 3rd author.
|-
| {{
| {{
| Like <code>first1</code>, but for 3rd author.
|-
| {{
| {{
| Like <code>author-link1</code>, but for 3rd author.
|-
| {{
| {{
| Like <code>last1</code>, but for 4th author.
|-
| {{
| {{
| Like <code>first1</code>, but for 4th author.
|-
| {{
| {{
| Like <code>author-link1</code>, but for 4th author.
|-
| {{
| {{
| Like <code>last1</code>, but for 5th author. Similar: last6, etc.
|-
| {{
| {{
| Like <code>first1</code>, but for 5th author. Similar: first6, etc.
|-
| {{
| {{
| Like <code>author-link1</code>, but for 5th author. Similar: author-link6, etc.
|-
Line 640 ⟶ 638:
|-
|| chapter-format || chapter-url ||
|-
|| access-date || url ||
Line 669 ⟶ 659:
|| author-mask5 || last5 ||
|-
| {{
| {{
| number (number of authors displayed) or <code>etal</code> (more authors)
|-
Line 988 ⟶ 978:
===chapterurl===
{{Citation Style documentation/edit|chapterurl}}
===quote===
Line 1,038 ⟶ 1,025:
{{Citation Style 1}}
{{Wikipedia referencing}}
<includeonly>{{Sandbox other||▼
▲<includeonly>{{Sandbox other||
▲<!-- Categories and interwikis go here: -->
[[Category:Documentation assistance templates]]
}}</includeonly>
|