Template:Documentation
From FEInfobase
(Difference between revisions)
m (1 revision(s)) |
(Added a div with style="clear: both;" to the bottom of the green box, so (right) floating boxes in the /doc doesn't flow outside the green box.) |
||
Line 1: | Line 1: | ||
<div class="template-documentation"><!-- | <div class="template-documentation"><!-- | ||
+ | |||
+ | These are the literal class definitions in common.css: | ||
+ | |||
+ | /* For template documentation */ | ||
+ | .template-documentation { | ||
+ | clear: both; | ||
+ | margin: 1em 0 0 0; | ||
+ | border: 1px solid #aaa; | ||
+ | background-color: #ecfcf4; | ||
+ | padding: 5px; | ||
+ | } | ||
+ | |||
+ | |||
-->{{#ifeq:{{{heading|μ}}}|<!--**DEFINED BUT EMPTY**--> | -->{{#ifeq:{{{heading|μ}}}|<!--**DEFINED BUT EMPTY**--> | ||
|<!--**NOTHING**--> | |<!--**NOTHING**--> | ||
Line 30: | Line 43: | ||
</div> | </div> | ||
{{#if:{{{content|}}}|{{{content}}}|{{#ifexist:{{{1|{{Documentation/docname}}}}} | {{ {{{1|{{Documentation/docname}}}}} }} }}}} | {{#if:{{{content|}}}|{{{content}}}|{{#ifexist:{{{1|{{Documentation/docname}}}}} | {{ {{{1|{{Documentation/docname}}}}} }} }}}} | ||
− | </div> | + | <div style="clear: both;"></div> |
+ | </div><noinclude> | ||
+ | |||
+ | {{pp-template|small=yes}} | ||
+ | <!-- Add categories and interwikis to the /doc subpage, not here! --> | ||
+ | </noinclude> |