Difference between revisions of "Template:Documentation/layout"

From Veloopti Help
Jump to: navigation, search
(remove extra /div)
(special case for sandbox subtemplates)
Line 1: Line 1:
<div class="template-documentation" style="margin-top:1em; clear: both; border: 2px dotted #666666; padding: 0.6em; background-color: #f5f5f5;">{{#ifeq:{{{heading|}}} | false | | <div style="padding-bottom:3px; border-bottom:1px solid #aaa; margin-bottom:1ex;">
+
{{#ifeq:{{SUBPAGENAME}}|sandbox|[[Category:Sandbox templates]]|<div class="template-documentation" style="margin-top:1em; clear: both; border: 2px dotted #666666; padding: 0.6em; background-color: #f5f5f5;">{{#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}}} | {{{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><noinclude>
+
{{#if: {{{1|}}} |{{{{{1}}}}}|{{{{SUBJECTPAGENAME}}/doc}}}}<div style="clear:both;" /></div>}}<noinclude>
  
 
[[Category:Layout templates|{{PAGENAME}}]]
 
[[Category:Layout templates|{{PAGENAME}}]]
 
</noinclude>
 
</noinclude>

Revision as of 07:21, 14 December 2011

[[1]]