Difference between revisions of "Template:Doc begin"
(change edit link to talk link on protected templates) |
|||
Line 1: | Line 1: | ||
<div style="clear: both; margin: 1em 0 0 0; border: 1px solid #aaa; background-color: #ecfcf4; padding: 1em;"> | <div style="clear: both; margin: 1em 0 0 0; border: 1px solid #aaa; background-color: #ecfcf4; padding: 1em;"> | ||
− | <div style="float: right;" class="plainlinks">[[{{fullurl:{{FULLPAGENAMEE}}|action=edit}} edit]] [[{{fullurl:{{{1|{{FULLPAGENAMEE}}}}}|action=purge}} purge]]</div> | + | <div style="float: right;" class="plainlinks">{{#switch:{{PROTECTIONLEVEL:edit}} |
+ | | sysop = [[{{fullurl:{{FULLPAGENAMEE}}|action=edit}} edit]] | ||
+ | | #default = [[[{{TALKPAGENAME}}|talk]]] | ||
+ | }} [[{{fullurl:{{{1|{{FULLPAGENAMEE}}}}}|action=purge}} purge]]</div> | ||
<h1 style="margin-top:-0.25em;" >Documentation for ''{{{1|{{PAGENAME}}}}}''</h1><includeonly> | <h1 style="margin-top:-0.25em;" >Documentation for ''{{{1|{{PAGENAME}}}}}''</h1><includeonly> | ||
{{#ifeq:{{PROTECTIONLEVEL:edit}}|sysop|{{protected|small=1}}|}}</includeonly><noinclude></div> | {{#ifeq:{{PROTECTIONLEVEL:edit}}|sysop|{{protected|small=1}}|}}</includeonly><noinclude></div> | ||
[[Category:Templates|Doc begin]] | [[Category:Templates|Doc begin]] | ||
</noinclude> | </noinclude> |