Template:Collapsible option: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Kirrages
instantiate is a word.... but not the right one for this instance....!
meta>Sardanaphalus
formatting (improved handling for long template names)
Line 1: Line 1:
<span style="font-size:95%;">Use &nbsp;<code><nowiki>{{</nowiki><includeonly>{{PAGENAME}}</includeonly><noinclude>''Template name''</noinclude>|state=collapsed}}</code>&nbsp; or &nbsp;<code><nowiki>{{</nowiki><includeonly>{{PAGENAME}}</includeonly><noinclude>''Template name''</noinclude>|state=uncollapsed}}</code>&nbsp; to include the template so that it initially displays in, respectively, its collapsed (hidden) or uncollapsed (expanded) state.<br/>Use &nbsp;<code><nowiki>{{</nowiki><includeonly>{{PAGENAME}}</includeonly><noinclude>''Template name''</noinclude>|state=autocollapse}}</code>&nbsp; to collapse the template only if there is another template of the same type on the page.</span><noinclude>{{template doc}}
<div style="font-size:95%;"><!--
 
--><span style="white-space:nowrap;">Use &nbsp;<code><nowiki>{{</nowiki><includeonly>{{PAGENAME}}</includeonly><noinclude>''Template name''</noinclude>|state=collapsed}}</code>&nbsp; </span><!--
--><span style="white-space:nowrap;">or &nbsp;<code><nowiki>{{</nowiki><includeonly>{{PAGENAME}}</includeonly><noinclude>''Template name''</noinclude>|state=uncollapsed}}</code>&nbsp; </span><!--
-->to include the template so that it initially displays in, respectively, its collapsed (hidden) or uncollapsed (expanded) state.<br/>
 
<span style="white-space:nowrap;">Use &nbsp;<code><nowiki>{{</nowiki><includeonly>{{PAGENAME}}</includeonly><noinclude>''Template name''</noinclude>|state=autocollapse}}</code>&nbsp; </span><!--
-->to collapse the template only if there is another template of the same type on the page.<!--
 
--></div><noinclude>
 
{{template doc}}
<!--Please add any 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 23:48, 19 February 2008

Use  {{Template name|state=collapsed}}  or  {{Template name|state=uncollapsed}}  to include the template so that it initially displays in, respectively, its collapsed (hidden) or uncollapsed (expanded) state.
Use  {{Template name|state=autocollapse}}  to collapse the template only if there is another template of the same type on the page.