Difference between revisions of "Template:Documentation"
From Veloopti Help
(rm not-imported stuff) |
(add temporary param to pp-template to track usage from doc template) |
||
(18 intermediate revisions by the same user not shown) | |||
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 00:59, 3 October 2010
Template:Template otherTemplate:Documentation/core2