Template:Collapsible option: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Pomte
add use of state=autocollapse
meta>David Kernow
m +<br/> (so relatively long <code> statement near start of a line, hence less likely to cause large wrap)
Line 1: Line 1:
<br/>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 instantiate the template in, respectively, its collapsed (hidden) or uncollapsed (expanded) state. 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.<noinclude><!--
<br/>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 instantiate the template 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.<noinclude><!--


--><br/><br/>{{/doc}}
--><br/><br/>{{/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 04:38, 4 May 2007


Use  {{Template name|state=collapsed}}  or  {{Template name|state=uncollapsed}}  to instantiate the template 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.

Template:Collapsible option/doc