Template:Documentation: Difference between revisions

From KDE Community Wiki
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.75rem; vertical-align: sub;">{{#ifexist:{{{1|{{#switch:{{SUBPAGENAME}}|sandbox|testcases={{#rel2abs:../doc}}|#default={{SUBJECTPAGENAME}}/doc}}}}}
   |<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=]]&nbsp;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**    -->&lsqb;[{{fullurl:{{{1|{{#switch:{{SUBPAGENAME}}|sandbox|testcases={{#rel2abs:../doc}}|#default={{SUBJECTPAGENAME}}/doc}}}}}|action=edit}} edit]&rsqb; &lsqb;<span class="noprint plainlinks purgelink">[{{fullurl:{{FULLPAGENAME}}|action=purge}} <span title="Purge this page">purge</span>]</span>&rsqb;  
   |<!--  **/doc EXISTS**    -->&lsqb;[{{fullurl:{{{1|{{#switch:{{SUBPAGENAME}}|sandbox|testcases={{#rel2abs:../doc}}|#default={{SUBJECTPAGENAME}}/doc}}}}}|action=edit}} edit]&rsqb; &lsqb;<span class="noprint plainlinks purgelink">[{{fullurl:{{FULLPAGENAME}}|action=purge}} <span title="Purge this page">purge</span>]</span>&rsqb;  
   |<!--**/doc DOESN'T EXIST**-->&lsqb;[{{fullurl:{{{1|{{#switch:{{SUBPAGENAME}}|sandbox|testcases={{#rel2abs:../doc}}|#default={{SUBJECTPAGENAME}}/doc}}}}}|action=edit&preload=Template:Documentation/preload}} create]&rsqb;
   |<!--**/doc DOESN'T EXIST**-->&lsqb;[{{fullurl:{{{1|{{#switch:{{SUBPAGENAME}}|sandbox|testcases={{#rel2abs:../doc}}|#default={{SUBJECTPAGENAME}}/doc}}}}}|action=edit&preload=Template:Documentation/preload}} create]&rsqb;
   }}</span>
   }}</span>
   }} <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]]&nbsp;Template documentation|Documentation}}}}</span></div><!--
   }}</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] &#124; [{{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] &#124; [{{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] [purge]