Template:Documentation/header: Difference between revisions
Jump to navigation
Jump to search
(reduce amount of expensive #ifexist function call) |
(+style) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
{{#ifeq: {{{heading|¬}}} | <!--Defined but empty--> | <!-- | ||
Start of doc box | |||
--><div class="template-documentation iezoomfix" style="border: 1px solid #AAAAAA; padding: 1em; margin: 1em 0px 0px;"><!-- | |||
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> |