Template:Citation Style documentation/doc: Difference between revisions

Content deleted Content added
Four columns format: display-authors detail
Three columns format: <syntaxhighlight lang="html">
Line 93:
====Three columns format====
The full vertical style in three columns consists of a "Vertical list", "Prerequisites" and "Brief instructions / notes".
<syntaxhighlight lang="html">
 
<!--
* Start with:
{{pre2|<nowiki>
-->
{{csdoc|usage vertical}}
<pre style="margin:0px;">
<!--
</nowiki>}}
* Create the vertical list column
* Separate the next column with:
-->
{{pre2|<nowiki>
</pre>
{{csdoc|usage vertical mid}}
<pre style="margin:0px;">
<!--
</nowiki>}}
* Create the prerequisites column; blank lines must include a <code>&amp;nbsp;</code>
* Separate the next column with:
-->
{{pre2|<nowiki>
</pre>
{{csdoc|usage vertical mid}}
<pre style="margin:0px;">
<!--
</nowiki>}}
* Create the instructions column; blank lines must include a <code>&amp;nbsp;</code>
* End with:
-->
{{pre2|<nowiki>
</pre>
{{csdoc|usage vertical end}}
</syntaxhighlight>
</nowiki>}}
 
Example:
<syntaxhighlight lang="html">
{{pre2|<nowiki>
{{csdoc|usage vertical}}
<pre style="margin:0px;">
Line 132:
{{csdoc|usage vertical mid}}
<pre style="margin:0px;">
&amp;nbsp;
&amp;nbsp;
last
&amp;nbsp;
&amp;nbsp;
</pre>
{{csdoc|usage vertical mid}}
<pre style="margin:0px;">
&amp;nbsp;
same as last1
same as first1
&amp;nbsp;
&amp;nbsp;
</pre>
{{csdoc|usage vertical end}}
</nowiki>}}
{{csdoc|usage vertical}}
<pre style="margin:0px;">
Line 171 ⟶ 170:
&nbsp;
&nbsp;
</pre>
{{csdoc|usage vertical end}}
</syntaxhighlight>
 
====Four columns format====