Difference between revisions of "Template:Side box"
Jump to navigation
Jump to search
(Accepts parameters "above" and "text") |
(Parameter "above" doesn't fit our use case; removing. Accepts "link1", "link2", "link3", "label1", "label2", "label3") |
||
Line 1: | Line 1: | ||
<div class="noprint" style="clear: right; border: solid #aaa 1px; margin: 0 0 1em 1em; font-size: 90%; background: #f9f9f9; width: 250px; padding: 4px; spacing: 0px; text-align: left; float: right;"> | <div class="noprint" style="clear: right; border: solid #aaa 1px; margin: 0 0 1em 1em; font-size: 90%; background: #f9f9f9; width: 250px; padding: 4px; spacing: 0px; text-align: left; float: right;"> | ||
− | {{#if:{{{ | + | <div class="center">{{{text}}}</div><!-- |
− | -->|<div class=" | + | -->{{#if:{{{link1|}}}<!-- |
− | + | -->|<div class="text-align: left; margin-left: {{#if:{{{link2|}}}|2.5em;|4em;}}"><!-- | |
− | --> | + | -->*'''''[{{{link1}}} {{{label1|{{{link1}}}}}}]'''''<!-- |
− | -->}} | + | -->{{#if:{{{link2|}}}<!-- |
+ | -->|*'''''[{{{link2}}} {{{label2|{{{link2}}}}}}]'''''<!-- | ||
+ | -->{{#if:{{{link3|}}}<!-- | ||
+ | -->|*'''''[{{{link3}}} {{{label3|{{{link3}}}}}}]'''''<!-- | ||
+ | -->}}<!-- | ||
+ | -->}}<!-- | ||
+ | -->}}<!-- | ||
+ | -->{{#if:{{{link1|}}}<!-- | ||
+ | -->|</div><!-- | ||
+ | -->}}<!-- | ||
+ | --> | ||
</div><noinclude> | </div><noinclude> | ||
[[Category:Templates]] | [[Category:Templates]] | ||
</noinclude> | </noinclude> |