Difference between revisions of "Template:Documentation/layout"
From Veloopti Help
m (I thought I was responsible for the missing heading but I wasn't the culprit) |
|||
Line 1: | Line 1: | ||
− | <div class="template-documentation" style="margin-top:1em; clear: both; border: 2px dotted #666666; padding: 0.6em; background-color: # | + | <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;"> |
<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 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}}} | {{{documentation|}}} }}</span></div> }} | + | <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> | <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> |