Template:Collapsible option: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Sardanaphalus
plaincode
meta>Redrose64
{{pp-template}} puts page in Category:Wikipedia pages with incorrect protection templates if page is only move-protected
Line 10: Line 10:
----Add {{pp-template}} if template where this is transcluded is protected:----
----Add {{pp-template}} if template where this is transcluded is protected:----
--->{{Template other
--->{{Template other
     | {{#ifeq:{{PROTECTIONLEVEL:move}}|sysop |{{pp-template|docusage=yes}}
     | {{#if:{{PROTECTIONLEVEL:edit}} |{{pp-template|docusage=yes}}
         | {{#if:{{PROTECTIONLEVEL:edit}}      |{{pp-template|docusage=yes}} }}
         | {{#if:{{PROTECTIONLEVEL:move}}      |{{pp-move|docusage=yes|small=yes}} }}
     }} }}<noinclude>
     }} }}<noinclude>
{{Documentation}}
{{Documentation}}
</noinclude>
</noinclude>

Revision as of 20:09, 12 September 2014

How to manage this template's visibility

Use Template:Plaincode to show this template in its expanded (i.e. fully visible) state.
Use Template:Plaincode to show this template in its collapsed state only if there is another template of the same type on the page.
  • Unless set otherwise (see the state parameter within the template's code), the template's default state is "autocollapse".