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: | ||
< | <div style="font-size:95%;"><!-- | ||
--><span style="white-space:nowrap;">Use <code><nowiki>{{</nowiki><includeonly>{{PAGENAME}}</includeonly><noinclude>''Template name''</noinclude>|state=collapsed}}</code> </span><!-- | |||
--><span style="white-space:nowrap;">or <code><nowiki>{{</nowiki><includeonly>{{PAGENAME}}</includeonly><noinclude>''Template name''</noinclude>|state=uncollapsed}}</code> </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 <code><nowiki>{{</nowiki><includeonly>{{PAGENAME}}</includeonly><noinclude>''Template name''</noinclude>|state=autocollapse}}</code> </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
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.