Template:Documentation: Difference between revisions
Jump to navigation
Jump to search
Adding automatic adding of {{template sandbox notice}} when on a /sandbox page. See talkpage section "Request".
w:en>MSGJ (hive off links to /sandbox and /testcases to subtemplate, so that same code can be used in Template:Category interwiki) |
w:en>Davidgothberg (Adding automatic adding of {{template sandbox notice}} when on a /sandbox page. See talkpage section "Request".) |
||
Line 1: | Line 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 |