Difference between revisions of "Template:Side box"
Jump to navigation
Jump to search
(Parameter "above" doesn't fit our use case; removing. Accepts "link1", "link2", "link3", "label1", "label2", "label3") |
m (CSS "text-align: left" is redundant, two semicolons are redundant) |
||
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 | + | <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; float: right;"> |
<div class="center">{{{text}}}</div><!-- | <div class="center">{{{text}}}</div><!-- | ||
-->{{#if:{{{link1|}}}<!-- | -->{{#if:{{{link1|}}}<!-- | ||
− | -->|<div class="text-align: left; margin-left: {{#if:{{{link2|}}}|2.5em | + | -->|<div class="text-align: left; margin-left: {{#if:{{{link2|}}}|2.5em|4em}};"><!-- |
-->*'''''[{{{link1}}} {{{label1|{{{link1}}}}}}]'''''<!-- | -->*'''''[{{{link1}}} {{{label1|{{{link1}}}}}}]'''''<!-- | ||
-->{{#if:{{{link2|}}}<!-- | -->{{#if:{{{link2|}}}<!-- |