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=uncollapsed}}</code>
-->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}}


{{template doc}}
<!---Please add metadata to the <includeonly> section at the bottom of the /doc subpage--->
 
<!--Please add categories, interwiki links etc on the /doc page, not here - thanks!-->
</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.) Lua error in package.lua at line 80: module 'Module:Documentation/config' not found.