Template:Citation Style documentation/doc: Difference between revisions

Content deleted Content added
Three-columns format: how did this get duplicated?
Adding category and interwiki ___location comments
 
(5 intermediate revisions by 3 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 78 ⟶ 79:
* Close the table with {{tlx|end}}
 
<syntaxhighlight lang="wikitext">
{{pre|<nowiki>
{{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>
{{end}}</nowiki>
}}
</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 92 ⟶ 94:
====Three-columns format====
The full vertical style in three columns consists of a "Vertical list", "Prerequisites" and "Brief instructions / notes".
<syntaxhighlight lang="htmlwikitext">
<!--
* Start with:
Line 120 ⟶ 122:
</syntaxhighlight>
Example:
<syntaxhighlight lang="htmlwikitext">
{{csdoc|usage vertical}}
<pre style="margin:0px;">
Line 147 ⟶ 149:
{{csdoc|usage vertical end}}
</syntaxhighlight>
{{csdoc|usage vertical}}
<pre style="margin:0px;">
{{cite book
| last =
| first =
| author-link =
}}
</pre>
{{csdoc|usage vertical mid}}
<pre style="margin:0px;">
&nbsp;
&nbsp;
last
&nbsp;
&nbsp;
</pre>
{{csdoc|usage vertical mid}}
<pre style="margin:0px;">
&nbsp;
same as last1
same as first1
&nbsp;
&nbsp;
</pre>
{{csdoc|usage vertical end}}
 
====Four-columns format====
<syntaxhighlight lang="htmlwikitext">
{| class="wikitable"
|+ Full parameter set in vertical format
Line 998 ⟶ 1,025:
 
{{Citation Style 1}}
{{Wikipedia referencing}}
<includeonly>{{Sandbox other||
<!-- Categories andbelow this line, interwikis goto Wikidata please; thank here:you -->
 
<includeonly>{{Sandbox other||
<!-- Categories and interwikis go here: -->
[[Category:Documentation assistance templates]]
 
}}</includeonly>