Difference between revisions of "Template:Documentation/layout"

From Veloopti Help
Jump to: navigation, search
(change <div ... /> to <div ...></div>, the former adds pages to Category:Pages using invalid self-closed HTML tags)
(disable possible redlinks due to maintenance entries at Special:SpecialPages)
Line 1: Line 1:
<div class="template-documentation mw-content-{{dir|{{int:lang}}}}" style="margin-top:1em; clear: both; border: 2px dotted #666666; padding: 0.6em; background-color: #ECFCF4;" dir="{{dir|{{int:lang}}}}">{{#ifeq:{{{heading|}}} | false | | <div style="padding-bottom:3px; border-bottom:1px solid #aaa; margin-bottom:1ex;"><span style="font-size:150%">{{#if: {{{heading|}}} | {{{heading}}} |[[File:Template-info.png|50px|link=|alt=Documentation icon]] {{{documentation|Documentation}}} }}</span><span class="mw-editsection plainlinks" id="doc_editlinks">[{{fullurl:{{{1}}}}} {{{view|{{int:vector-view-view}}}}}] • [{{fullurl:{{{1}}}|action=edit{{#ifexist: {{{1}}} ||&preload=Template:Documentation/preload}}}} {{{edit|{{int:vector-view-edit}}}}}] • [{{fullurl:{{{1}}}|action=history}} {{{history|{{int:vector-view-history}}}}}] • [{{fullurl:{{{1}}}|action=purge}} {{{purge|{{int:Code-rev-purge-link}}}}}]</span></div>}}
+
<div class="template-documentation mw-content-{{dir|{{int:lang}}}}" style="margin-top:1em; clear: both; border: 2px dotted #666666; padding: 0.6em; background-color: #ECFCF4;" dir="{{dir|{{int:lang}}}}">{{#ifeq:{{{heading|}}} | false | | <div style="padding-bottom:3px; border-bottom:1px solid #aaa; margin-bottom:1ex;"><span style="font-size:150%">{{#if: {{{heading|}}} | {{{heading}}} |[[File:Template-info.png|50px|link=|alt=Documentation icon]] {{{documentation|Documentation}}} }}</span><span class="mw-editsection plainlinks" id="doc_editlinks">[{{fullurl:{{{1}}}}} {{{view|{{int:vector-view-view}}}}}] • [{{fullurl:{{{1}}}|action=edit{{#ifexist: {{{1}}} ||&preload=Template:Documentation/preload}}}} {{{edit|{{int:vector-view-edit}}}}}] • [{{fullurl:{{{1}}}|action=history}} {{{history|{{int:vector-view-history}}}}}] • [{{fullurl:{{{1}}}|action=purge}} {{{purge|{{int:Code-rev-purge-link}}}}}]</span></div>}}{{#if:{{{content|}}}|{{{content}}}|{{#ifexist:{{{1}}}|
 
''<small>{{{text|text parameter not translated in [[Template:Documentation]]}}}</small>''
 
''<small>{{{text|text parameter not translated in [[Template:Documentation]]}}}</small>''
  
{{#if:{{{content|}}}|{{{content}}}|{{{{{1}}}}}}}<div style="clear:both;"></div></div>{{#ifeq:{{SUBPAGENAME}}|sandbox|[[Category:Sandbox templates]]}}<noinclude>
+
{{{{{1}}}}}|''{{{1}}} doesn't exist''}}}}<div style="clear:both;"></div></div>{{#ifeq:{{SUBPAGENAME}}|sandbox|[[Category:Sandbox templates]]}}<noinclude>
  
 
[[Category:Layout templates|{{PAGENAME}}]]
 
[[Category:Layout templates|{{PAGENAME}}]]
 
</noinclude>
 
</noinclude>

Revision as of 04:26, 22 February 2017

50px Documentation[{{fullurl:{{{1}}}}} Read] • [{{fullurl:{{{1}}}|action=edit&preload=Template:Documentation/preload}} Edit] • [{{fullurl:{{{1}}}|action=history}} View history] • [{{fullurl:{{{1}}}|action=purge}} ⧼Code-rev-purge-link⧽]
{{{1}}} doesn't exist