Vorlage:Documentation/layout: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
/>Jameslwoodward remove extra /div |
/>Jarekt special case for sandbox subtemplates |
||
Zeile 1: | Zeile 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> |