Template:Documentation/header: Difference between revisions
Jump to navigation
Jump to search
(reduce amount of expensive #ifexist function call) |
(+div) |
||
Line 1: | Line 1: | ||
{{#ifeq: {{{heading|¬}}} | <!--Defined but empty--> | <!-- | ||
Start of doc box | |||
--><div class="template-documentation iezoomfix"><!-- | |||
Add the heading at the top of the doc box: | |||
-->{{#ifeq: {{{heading|¬}}} | <!--Defined but empty--> | |||
| <!--"heading=", do nothing--> | | <!--"heading=", do nothing--> | ||
| <div style="padding-bottom: 3px; border-bottom: 1px solid #aaa; margin-bottom: 1ex;"><span style="{{#if: {{{heading-style|}}} | | <div style="padding-bottom: 3px; border-bottom: 1px solid #aaa; margin-bottom: 1ex;"><span style="{{#if: {{{heading-style|}}} | ||
Line 24: | Line 28: | ||
}}</span> | }}</span> | ||
}}</div> | }}</div> | ||
}} | }}<noinclude><!-- close the div --></div> | ||
<!-- Add categories and interwikis to the /doc subpage, not here! --> | |||
</noinclude> |