Difference between revisions of "Template:Documentation"

From Game Detectives Wiki
Jump to: navigation, search
[unchecked revision][unchecked revision]
(rm not-imported stuff)
(add temporary param to pp-template to track usage from doc template)
Line 1: Line 1:
{{documentation/core2
+
<!--
 +
  Automatically add {{template sandbox notice}} when on a /sandbox page.
 +
-->{{#ifeq: {{SUBPAGENAME}} | sandbox
 +
| <div style="clear: both;"></div>{{template sandbox notice}}
 +
}}<!--
 +
  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-->
 +
    }}
 +
  }}
 +
}}<!--
 +
  Start of green doc box.
 +
-->{{documentation/core2
 
| heading = {{{heading|¬}}}  <!--Empty but defined means no header-->
 
| heading = {{{heading|¬}}}  <!--Empty but defined means no header-->
 
| heading-style = {{{heading-style|}}}
 
| heading-style = {{{heading-style|}}}

Revision as of 08:59, 3 October 2010