Template:Collapsible option: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
meta>GoldRingChip added "Note to editors on how to manage collapsibility"; removed superfluous line breaks; replaced <code> with <tt> |
meta>Rd232 fix for wider use |
||
Line 1: | Line 1: | ||
'''Note to editors on how to manage collapsibility:''' | '''Note to editors on how to manage collapsibility:''' | ||
*Use <tt>{{<!-- | *Use <tt>{{<!-- | ||
--><includeonly>{{ | --><includeonly>{{BASEPAGENAME}}</includeonly><noinclude>''Template name''</noinclude>|state=collapsed}}</tt> to show this template in its collapsed (hidden) state. | ||
*Use <tt>{{<!-- | *Use <tt>{{<!-- | ||
--><includeonly>{{ | --><includeonly>{{BASEPAGENAME}}</includeonly><noinclude>''Template name''</noinclude>|state=expanded}}</tt> to show this template in its expanded (fully visible) state. | ||
*Use <tt>{{<!-- | *Use <tt>{{<!-- | ||
--><includeonly>{{ | --><includeonly>{{BASEPAGENAME}}</includeonly><noinclude>''Template name''</noinclude>|state=autocollapse}}</tt> 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 usually the default.)<noinclude> | ||
{{pp-template|small=yes}} | {{pp-template|small=yes}} | ||
{{documentation}} | {{documentation}} | ||
<!-- add categories, interwiki links etc on the bottom of /doc page, not here --> | <!-- add categories, interwiki links etc on the bottom of /doc page, not here --> | ||
</noinclude> | </noinclude> |
Revision as of 11:06, 26 October 2009
Note to editors on how to manage collapsibility:
- 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 usually the default.)