Template:Collapsible option: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
meta>Sardanaphalus slightly smaller font-size for more widely-spaced <code> text, +alternate parameter name |
meta>Sardanaphalus disabling generally unused option to describe default state, leaving possible alternative also commented out |
||
Line 6: | Line 6: | ||
-->Use <span style="font-size:95%;"><code><nowiki>{{</nowiki><!-- | -->Use <span style="font-size:95%;"><code><nowiki>{{</nowiki><!-- | ||
--><includeonly>{{PAGENAME}}</includeonly><noinclude>''Template name''</noinclude>|state=autocollapse}}</code></span> to show this template in its collapsed (hidden) state only if there is another template of the same type on the page. ({{{state|{{{default|This}}}}}} is the default.)<!-- | --><includeonly>{{PAGENAME}}</includeonly><noinclude>''Template name''</noinclude>|state=autocollapse}}</code></span> to show this template in its collapsed (hidden) state only if there is another template of the same type on the page. <!--Disabling as not generally used: ({{{state|{{{default|This}}}}}} is the default.)--><!--Possible more general alternative: The default state for this template may not be as the template appears above. To find it, edit the page and look for a "state =" statement, usually near the beginning.--><!-- | ||
--><noinclude> | --><noinclude> |
Revision as of 16:43, 2 May 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.