« Modèle:Documentation » : différence entre les versions
Aller à la navigation
Aller à la recherche
test0>MSGJ (hive off links to /sandbox and /testcases to subtemplate, so that same code can be used in Template:Category interwiki) |
test0>Davidgothberg (Adding automatic adding of {{template sandbox notice}} when on a /sandbox page. See talkpage section "Request".) |
||
Ligne 1 : | Ligne 1 : | ||
<!--Automatically add {{pp-template}} to protected templates. | <!-- | ||
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 | -->{{template other | ||
| {{#ifeq: {{PROTECTIONLEVEL:move}} | sysop | | {{#ifeq: {{PROTECTIONLEVEL:move}} | sysop |
Version du 19 janvier 2010 à 15:10
{{#ifeq: Documentation | sandbox
|
Modèle:Template sandbox notice }}Modèle:Template other
{{#ifeq:μ|
||
{{#ifeq:μ|μ
}} |{{#ifexist: Modèle:Documentation/docname
|[[{{fullurl:Modèle:Documentation/docname|action=edit}} edit]] [[[:Modèle:Purge]]]
|[[{{fullurl:Modèle:Documentation/docname|action=edit&preload=Template:Documentation/preload}} create]]
}}
}} {{#if:|{{{heading}}}|{{#ifeq:Modèle|Modèle| Template documentation|Documentation}}}}{{#ifexist: Modèle:Documentation/docname
|This documentation is transcluded from [[Modèle:Documentation/docname]]. ([{{fullurl:Modèle:Documentation/docname|action=edit}} edit] | [{{fullurl:Modèle:Documentation/docname|action=history}} history])
}}Modèle:Documentation/links
{{#if:|{{{content}}}|{{#ifexist:Modèle:Documentation/docname | {{ Modèle:Documentation/docname }} }}}}