Difference between revisions of "Template:Documentation/layout"

From Veloopti Help
Jump to: navigation, search
m (I thought I was responsible for the missing heading but I wasn't the culprit)
m (fixing edit links; adding purge link)
Line 1: Line 1:
<div class="template-documentation" style="margin-top:1em; clear: both; border: 2px dotted #666666; padding: 0.6em; background-color: #ECFCF4;">{{#ifeq:{{{heading|}}} | false | | <div style="padding-bottom:3px; border-bottom:1px solid #aaa; margin-bottom:1ex;">
+
<div class="template-documentation" style="margin-top:1em; clear: both; border: 2px dotted #666666; padding: 0.6em; background-color: #ECFCF4;">{{#ifeq:{{{heading|}}} | false | | <h2><span>{{#if: {{{heading|}}} | {{{heading}}} |[[File:Template-info.png|50px|link=|alt=Documentation icon]] {{{documentation|Documentation}}} }}</span><span class="mw-editsection plainlinks" id="doc_editlinks">{{int:editsection-brackets|[{{fullurl:{{#if: {{{1|}}} | {{{1}}} | {{SUBJECTPAGENAME}}/doc }}|action=edit{{#ifexist: {{#if: {{{1|}}} | {{{1}}} | {{SUBJECTSPACE}}:{{SUBJECTPAGENAME}}/doc }} ||&preload=Template:Documentation/preload}}}} {{{edit|{{int:editsection}}}}}]}}</span><span id="template_doc_page_transcluded" class="dablink plainlinks">''{{{text|}}} <span style="font-size:75%; float:{{Dir|{{int:lang}}|left|right}}">([{{fullurl:{{#if: {{{1|}}} | {{{1}}} | {{SUBJECTPAGENAME}}/doc }}|action=edit{{#ifexist: {{#if: {{{1|}}} | {{{1}}} | {{SUBJECTSPACE}}:{{SUBJECTPAGENAME}}/doc }} ||&preload=Template:Documentation/preload}}}} {{{edit|{{int:editsection}}}}}] {{!}} [{{fullurl:{{#if: {{{1|}}} | {{{1}}} | {{SUBJECTPAGENAME}}/doc }}|action=history}} {{{history|{{int:vector-view-history}}}}}] {{!}} [{{fullurl:{{#if: {{{1|}}} | {{{1}}} | {{SUBJECTPAGENAME}}/doc }}|action=purge}} {{{purge|{{int:Code-rev-purge-link}}}}}])''</span></span></h2> }}
<span class="editsection plainlinks" id="doc_editlinks">[[{{fullurl:{{#if: {{{1|}}} | {{{1}}} | {{SUBJECTPAGENAME}}/doc }}|action=edit{{#ifexist: {{#if: {{{1|}}} | {{{1}}} | {{SUBJECTSPACE}}:{{SUBJECTPAGENAME}}/doc }} ||&preload=Template:Documentation/preload}}}} {{{edit|}}}]]</span>
 
<span style="font-size:150%">{{#if: {{{heading|}}} | {{{heading}}} |[[File:Template-info.png|50px|link=|alt=Documentation icon]] {{{documentation|Documentation}}} }}</span></div> }}
 
<div id="template_doc_page_transcluded" class="dablink plainlinks" style="font-size:90%; line-height:1em; margin:0 0 .4em;">''{{{text|}}} <span style="font-size:90%;">([{{fullurl:{{#if: {{{1|}}} | {{{1}}} | {{SUBJECTPAGENAME}}/doc }}|action=edit{{#ifexist: {{#if: {{{1|}}} | {{{1}}} | {{SUBJECTSPACE}}:{{SUBJECTPAGENAME}}/doc }} ||&preload=Template:Documentation/preload}}}} {{{edit|}}}] | [{{fullurl:{{#if: {{{1|}}} | {{{1}}} | {{SUBJECTPAGENAME}}/doc }}|action=history}} {{{history|}}}])''</span></div>
 
 
{{#if: {{{1|}}} |{{{{{1}}}}}|{{{{SUBJECTPAGENAME}}/doc}}}}<div style="clear:both;" /></div>{{#ifeq:{{SUBPAGENAME}}|sandbox|[[Category:Sandbox templates]]}}<noinclude>
 
{{#if: {{{1|}}} |{{{{{1}}}}}|{{{{SUBJECTPAGENAME}}/doc}}}}<div style="clear:both;" /></div>{{#ifeq:{{SUBPAGENAME}}|sandbox|[[Category:Sandbox templates]]}}<noinclude>
  
 
[[Category:Layout templates|{{PAGENAME}}]]
 
[[Category:Layout templates|{{PAGENAME}}]]
 
</noinclude>
 
</noinclude>

Revision as of 15:51, 21 June 2013

50px Documentation⧼editsection-brackets⧽ (edit | View history | ⧼Code-rev-purge-link⧽)

Template:Documentation/layout/doc<div style="clear:both;" />