Template:Documentation: Difference between revisions
remove border if no heading
m>Pathoschild (+ heading override) |
m>Pathoschild (remove border if no heading) |
||
Line 1: | Line 1: | ||
<div class="template-documentation"> | <div class="template-documentation"> | ||
<div style="padding-bottom:3px; border-bottom:1px solid #aaa; margin-bottom:1ex;"> | <div style="padding-bottom:3px; {{#if:{{{heading|defaultnotblank}}}||border-bottom:1px solid #aaa;}} margin-bottom:1ex;"> | ||
<span class="editsection plainlinks">[[[{{{1|{{SUBJECTPAGENAME}}/doc}}}|view]]] | <span class="editsection plainlinks">[[[{{{1|{{SUBJECTPAGENAME}}/doc}}}|view]]] | ||
[[{{fullurl:{{{1|{{SUBJECTPAGENAME}}/doc}}}|action=edit{{#ifexist: {{{1|{{SUBJECTSPACE}}:{{SUBJECTPAGENAME}}/doc}}} ||&preload=Template:Documentation/preload}}}} edit]] | [[{{fullurl:{{{1|{{SUBJECTPAGENAME}}/doc}}}|action=edit{{#ifexist: {{{1|{{SUBJECTSPACE}}:{{SUBJECTPAGENAME}}/doc}}} ||&preload=Template:Documentation/preload}}}} edit]] |