Difference between revisions of "Template:Blockbox"
From StarMade Wiki
m |
m |
||
Line 2: | Line 2: | ||
============ 0 : Tiny box =========== | ============ 0 : Tiny box =========== | ||
-->|0={{blockboxlayout <!-- | -->|0={{blockboxlayout <!-- | ||
− | -->|bodystyle = width: 11em; text-align: left; font-size: 88%; line-height: 0em; float: right; <!-- | + | -->|bodystyle = width: 11em; text-align: left; font-size: 88%; line-height: 0em; float: {{#if:{{{3|}}}|{{{3}}}|right}}; <!-- |
-->|titlestyle = text-align: center; font-size: 100%; font-weight: bold;line-height: 0.9em; height: 2em; padding: 1px; <!-- | -->|titlestyle = text-align: center; font-size: 100%; font-weight: bold;line-height: 0.9em; height: 2em; padding: 1px; <!-- | ||
-->|headerstyle = text-align: right; padding: 0em; height: 0.5em; <!-- | -->|headerstyle = text-align: right; padding: 0em; height: 0.5em; <!-- | ||
Line 17: | Line 17: | ||
======= 1 legacy (old) box ========== | ======= 1 legacy (old) box ========== | ||
-->|1={{blockboxlayout <!-- | -->|1={{blockboxlayout <!-- | ||
− | -->|bodystyle = width: 19em; text-align: left; font-size: 88%; line-height: 1.5em; float: right;<!-- | + | -->|bodystyle = width: 19em; text-align: left; font-size: 88%; line-height: 1.5em; float: {{#if:{{{3|}}}|{{{3}}}|right}};<!-- |
-->|titlestyle = text-align: center; font-size: 125%; font-weight: bold; padding: 5px;<!-- | -->|titlestyle = text-align: center; font-size: 125%; font-weight: bold; padding: 5px;<!-- | ||
-->|headerstyle = text-align: center; padding: 0em; height: 1.8em;<!-- | -->|headerstyle = text-align: center; padding: 0em; height: 1.8em;<!-- | ||
Line 51: | Line 51: | ||
======= 2 : full box ================= | ======= 2 : full box ================= | ||
-->|2={{blockboxlayout <!-- | -->|2={{blockboxlayout <!-- | ||
− | -->|bodystyle = width: 19em; text-align: left; font-size: 88%; line-height: 1.5em; float: right;<!-- | + | -->|bodystyle = width: 19em; text-align: left; font-size: 88%; line-height: 1.5em; float: {{#if:{{{3|}}}|{{{3}}}|right}};<!-- |
-->|titlestyle = text-align: center; font-size: 125%; font-weight: bold; padding: 5px;<!-- | -->|titlestyle = text-align: center; font-size: 125%; font-weight: bold; padding: 5px;<!-- | ||
-->|headerstyle = text-align: center; padding: 0em; height: 1.8em;<!-- | -->|headerstyle = text-align: center; padding: 0em; height: 1.8em;<!-- | ||
Line 126: | Line 126: | ||
-->|label28 = Effect Ctrler<!-- | -->|label28 = Effect Ctrler<!-- | ||
-->|data28 ={{DbParser|{{{2}}}|EffectCtrl}}}} | -->|data28 ={{DbParser|{{{2}}}|EffectCtrl}}}} | ||
− | |10={{#if:{{{3|}}}|{{ | + | |10={{#if:{{{3|}}}|{{DbParser|{{{2}}}|Item|{{{3}}}}}|{{DbParser|{{{2}}}|Item}}}} |
|11={{#if:{{{3|}}}|{{DbParser|{{{2}}}|Ctrling|{{{3}}}}}|{{DbParser|{{{2}}}|Ctrling}}}} | |11={{#if:{{{3|}}}|{{DbParser|{{{2}}}|Ctrling|{{{3}}}}}|{{DbParser|{{{2}}}|Ctrling}}}} | ||
|12={{#if:{{{3|}}}|{{DbParser|{{{2}}}|CtrlBy|{{{3}}}}}|{{DbParser|{{{2}}}|CtrlBy}}}} | |12={{#if:{{{3|}}}|{{DbParser|{{{2}}}|CtrlBy|{{{3}}}}}|{{DbParser|{{{2}}}|CtrlBy}}}} | ||
}}<!-- | }}<!-- | ||
--><noinclude>{{Documentation}}</noinclude> | --><noinclude>{{Documentation}}</noinclude> |