Difference between revisions of "Template:Documentation"
(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|}}} | ||