Template:Collapsible option: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Funandtrvl
mv bolding inside tmp
meta>Callanecc
Now automatically adds {{pp-template}} to protected templates as /doc does
Line 1: Line 1:
<!--
  Automatically add {{pp-template}} to protected templates.
-->{{template other
| {{#ifeq: {{PROTECTIONLEVEL:move}} | sysop
  | {{pp-template|docusage=yes}}
  | {{#if: {{PROTECTIONLEVEL:edit}}
    | {{pp-template|docusage=yes}}
    | <!--Not protected, or only semi-move-protected-->
    }}
  }}
}}
{{larger|'''How to manage this template's visibility'''}}
{{larger|'''How to manage this template's visibility'''}}
* Use <code>{&#123;<!--
* Use <code>{&#123;<!--

Revision as of 01:26, 18 February 2014

Template:Larger

  • 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.
  • Unless set otherwise (see state parameter within the template's code), autocollapse is the default state.