Content deleted Content added
→Four-columns format: Fix vertical-format rowspan value to account for removed rows |
Adding category and interwiki ___location comments |
||
(10 intermediate revisions by 5 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 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
Line 976 ⟶ 978:
===chapterurl===
{{Citation Style documentation/edit|chapterurl}}
===quote===
Line 1,026 ⟶ 1,025:
{{Citation Style 1}}
{{Wikipedia referencing}}
<includeonly>{{Sandbox other||▼
▲<includeonly>{{Sandbox other||
▲<!-- Categories and interwikis go here: -->
[[Category:Documentation assistance templates]]
}}</includeonly>
|