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: | ||
< | Use <code><nowiki>{{</nowiki><includeonly>{{PAGENAME}}</includeonly><noinclude>''Template name''</noinclude>|state=collapsed}}</code> | ||
to show this template in its collapsed (hidden) state.<br/><!-- | |||
-- | -->Use <code><nowiki>{{</nowiki><includeonly>{{PAGENAME}}</includeonly><noinclude>''Template name''</noinclude>|state=expanded}}</code> | ||
to show this template in its expanded (fully visible) state.<br/><!-- | |||
-- | -->Use <code><nowiki>{{</nowiki><includeonly>{{PAGENAME}}</includeonly><noinclude>''Template name''</noinclude>|state=autocollapse}}</code> | ||
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.)<!-- | |||
-- | --><noinclude> | ||
{{template doc}} | |||
<!--Please add categories, interwiki links etc on the /doc page, not here - thanks!--> | |||
<!--Please add | |||
</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.)