Template:Collapsible option: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
meta>CapitalR chaning from "expanded" to "uncollapsed" for consistent naming |
meta>Sardanaphalus slightly smaller font-size for more widely-spaced <code> text, +alternate parameter name |
||
Line 1: | Line 1: | ||
Use <code><nowiki>{{</nowiki><includeonly>{{PAGENAME}}</includeonly><noinclude>''Template name''</noinclude>|state=collapsed}}</code> | Use <span style="font-size:95%;"><code><nowiki>{{</nowiki><!-- | ||
to show this template in its collapsed (hidden) state.<br/><!-- | --><includeonly>{{PAGENAME}}</includeonly><noinclude>''Template name''</noinclude>|state=collapsed}}</code></span> to show this template in its collapsed (hidden) state.<br/><!-- | ||
-->Use <code><nowiki>{{</nowiki><includeonly>{{PAGENAME}}</includeonly><noinclude>''Template name''</noinclude>|state= | -->Use <span style="font-size:95%;"><code><nowiki>{{</nowiki><!-- | ||
to show this template in its expanded (fully visible) state.<br/><!-- | --><includeonly>{{PAGENAME}}</includeonly><noinclude>''Template name''</noinclude>|state=expanded}}</code></span> 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> | -->Use <span style="font-size:95%;"><code><nowiki>{{</nowiki><!-- | ||
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 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. ({{{state|{{{default|This}}}}}} is the default.)<!-- | ||
--><noinclude> | --><noinclude> | ||
{{documentation}} | |||
<!---Please add metadata to the <includeonly> section at the bottom of the /doc subpage---> | |||
<!--Please add | |||
</noinclude> | </noinclude> |
Revision as of 13:56, 28 April 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 default.)