Template:Documentation: Difference between revisions
Appearance
m Fix create, edit and purge links in header |
Move documentation create/edit/purge links to right side of header |
||
Line 1: | Line 1: | ||
<div style="background-color: #ecfcf4; border: 1px solid #aaa; clear: both; margin: 1em 0 0 0; padding: 0.33em;"> | <div style="background-color: #ecfcf4; border: 1px solid #aaa; clear: both; margin: 1em 0 0 0; padding: 0.33em;"> | ||
<div style="border-bottom: 1px solid #aaa; margin-bottom: 1ex; padding-bottom: 3px;">{{#ifeq:{{{content|μ}}}|μ | <div style="border-bottom: 1px solid #aaa; margin-bottom: 1ex; padding-bottom: 3px;">{{#ifeq:{{{content|μ}}}|μ | ||
|<span class="editsection plainlinks" id="doc_editlinks" style="font-size: 0. | |<span style="{{#if:{{{heading-style|}}}|{{{heading-style}}}|{{#ifeq:{{NAMESPACE}}|{{ns:template}}|font-weight: bold; font-size: 1.25em;|font-size: 1.5em;}}}}">{{#if:{{{heading|}}}|{{{heading}}}|{{#ifeq:{{NAMESPACE}}|{{ns:template}}|[[File:Template-info.png|50px|link=]] Template documentation|Documentation}}}}</span> <span class="editsection plainlinks" id="doc_editlinks" style="float: right; font-size: 0.76rem; margin: 0.5em 1em 0 1.5em;">{{#ifexist:{{{1|{{#switch:{{SUBPAGENAME}}|sandbox|testcases={{#rel2abs:../doc}}|#default={{SUBJECTPAGENAME}}/doc}}}}} | ||
|<!-- **/doc EXISTS** -->[[{{fullurl:{{{1|{{#switch:{{SUBPAGENAME}}|sandbox|testcases={{#rel2abs:../doc}}|#default={{SUBJECTPAGENAME}}/doc}}}}}|action=edit}} edit]] [<span class="noprint plainlinks purgelink">[{{fullurl:{{FULLPAGENAME}}|action=purge}} <span title="Purge this page">purge</span>]</span>] | |<!-- **/doc EXISTS** -->[[{{fullurl:{{{1|{{#switch:{{SUBPAGENAME}}|sandbox|testcases={{#rel2abs:../doc}}|#default={{SUBJECTPAGENAME}}/doc}}}}}|action=edit}} edit]] [<span class="noprint plainlinks purgelink">[{{fullurl:{{FULLPAGENAME}}|action=purge}} <span title="Purge this page">purge</span>]</span>] | ||
|<!--**/doc DOESN'T EXIST**-->[[{{fullurl:{{{1|{{#switch:{{SUBPAGENAME}}|sandbox|testcases={{#rel2abs:../doc}}|#default={{SUBJECTPAGENAME}}/doc}}}}}|action=edit&preload=Template:Documentation/preload}} create]] | |<!--**/doc DOESN'T EXIST**-->[[{{fullurl:{{{1|{{#switch:{{SUBPAGENAME}}|sandbox|testcases={{#rel2abs:../doc}}|#default={{SUBJECTPAGENAME}}/doc}}}}}|action=edit&preload=Template:Documentation/preload}} create]] | ||
}}</span> | }}</span> | ||
}} | }}</div><!-- | ||
--><div class="dablink plainlinks" id="template_doc_page_transcluded">{{#ifexist:{{{1|{{#switch:{{SUBPAGENAME}}|sandbox|testcases={{#rel2abs:../doc}}|#default={{SUBJECTPAGENAME}}/doc}}}}} | --><div class="dablink plainlinks" id="template_doc_page_transcluded">{{#ifexist:{{{1|{{#switch:{{SUBPAGENAME}}|sandbox|testcases={{#rel2abs:../doc}}|#default={{SUBJECTPAGENAME}}/doc}}}}} | ||
|<!--**/doc EXISTS**-->This documentation is transcluded from [[{{{1|{{#switch:{{SUBPAGENAME}}|sandbox|testcases={{#rel2abs:../doc}}|#default={{SUBJECTPAGENAME}}/doc}}}}}]]. <span style="font-size: small; font-style: normal;">([{{fullurl:{{{1|{{#switch:{{SUBPAGENAME}}|sandbox|testcases={{#rel2abs:../doc}}|#default={{SUBJECTPAGENAME}}/doc}}}}}|action=edit}} edit] | [{{fullurl:{{{1|{{#switch:{{SUBPAGENAME}}|sandbox|testcases={{#rel2abs:../doc}}|#default={{SUBJECTPAGENAME}}/doc}}}}}|action=history}} history])</span><br /> | |<!--**/doc EXISTS**--> | ||
:''This documentation is transcluded from [[{{{1|{{#switch:{{SUBPAGENAME}}|sandbox|testcases={{#rel2abs:../doc}}|#default={{SUBJECTPAGENAME}}/doc}}}}}]].'' <span style="font-size: small; font-style: normal;">([{{fullurl:{{{1|{{#switch:{{SUBPAGENAME}}|sandbox|testcases={{#rel2abs:../doc}}|#default={{SUBJECTPAGENAME}}/doc}}}}}|action=edit}} edit] | [{{fullurl:{{{1|{{#switch:{{SUBPAGENAME}}|sandbox|testcases={{#rel2abs:../doc}}|#default={{SUBJECTPAGENAME}}/doc}}}}}|action=history}} history])</span><br /> | |||
}}<!-- | }}<!-- | ||
Latest revision as of 00:33, 26 April 2024
Template documentation [edit] [ ]
- This documentation is transcluded from Template:Documentation/doc. (edit | history)