Diferencia entre revisiones de «Plantilla:Documentation»
De Familia Sanchez Arjona
(rm not-imported stuff) |
(add temporary param to pp-template to track usage from doc template) |
||
Línea 1: | Línea 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|}}} |
Revisión del 09:59 3 oct 2010