Template:Collapsible option: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Sardanaphalus
simpler rephrasing
meta>Malyctenar
- pointless formatting, allow stating unusual defaults
Line 1: Line 1:
<div style="font-size:95%;"><!--
Use <code><nowiki>{{</nowiki><includeonly>{{PAGENAME}}</includeonly><noinclude>''Template name''</noinclude>|state=collapsed}}</code>
to show this template in its collapsed (hidden) state.<br/><!--


--><span style="white-space:nowrap;">Use &nbsp;<code><nowiki>{{</nowiki><includeonly>{{PAGENAME}}</includeonly><noinclude>''Template name''</noinclude>|state=collapsed}}</code>&nbsp; </span><!--
-->Use <code><nowiki>{{</nowiki><includeonly>{{PAGENAME}}</includeonly><noinclude>''Template name''</noinclude>|state=expanded}}</code>
-->to show this template in its collapsed (hidden) state.<br/><!--
to show this template in its expanded (fully visible) state.<br/><!--


--><span style="white-space:nowrap;">Use &nbsp;<code><nowiki>{{</nowiki><includeonly>{{PAGENAME}}</includeonly><noinclude>''Template name''</noinclude>|state=expanded}}</code>&nbsp; </span><!--
-->Use <code><nowiki>{{</nowiki><includeonly>{{PAGENAME}}</includeonly><noinclude>''Template name''</noinclude>|state=autocollapse}}</code>
-->to show this template in its expanded (uncollapsed) state.<br/><!--
to show this template in its collapsed (hidden) state only if there is another template of the same type on the page. ({{{state|This}}} is the usual default.)<!--


--><span style="white-space:nowrap;">Use &nbsp;<code><nowiki>{{</nowiki><includeonly>{{PAGENAME}}</includeonly><noinclude>''Template name''</noinclude>|state=autocollapse}}</code>&nbsp; </span><!--
--><noinclude>
-->to show this template in its collapsed (hidden) state only if there is another template of the same type on the page. (This is the usual default.)<!--


--></div><noinclude>
{{template doc}}


<br/>{{template doc}}
<!--Please add categories, interwiki links etc on the /doc page, not here - thanks!-->
<!--Please add any interwiki links etc on the /doc page, not here - thanks!-->
</noinclude>
</noinclude>

Revision as of 11:56, 25 March 2008

Use {{Template name|state=collapsed}} to show this template in its collapsed (hidden) state.
Use {{Template name|state=expanded}} to show this template in its expanded (fully visible) state.
Use {{Template name|state=autocollapse}} to show this template in its collapsed (hidden) state only if there is another template of the same type on the page. (This is the usual default.)