Difference between revisions of "Template:Blockbox"
From StarMade Wiki
m |
m |
||
Line 2: | Line 2: | ||
-->{{#switch:{{{1}}}<!-- | -->{{#switch:{{{1}}}<!-- | ||
============ 1 : Tiny box =========== | ============ 1 : Tiny box =========== | ||
− | -->|1={{!}}bodystyle = width: 12em; text-align: left; font-size: 88%; line-height: 1.5em; float: right;<!-- | + | -->|1={{!}}bodystyle = width: 12em; text-align: left; font-size: 88%; line-height: 1.5em; float: 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: center; padding: 0em; height: 1.8em;<!-- | + | -->{{!}}headerstyle = text-align: center; padding: 0em; height: 1.8em; <!-- |
− | -->{{!}}labelstyle = text-align: right; font-weight: bold; vertical-align: top; padding: 0.1em 0.5em;<!-- | + | -->{{!}}labelstyle = text-align: right; font-weight: bold; vertical-align: top; padding: 0.1em 0.5em; <!-- |
− | -->{{!}}datastyle = text-align: left; padding: 0.1em 0.5em;<!-- | + | -->{{!}}datastyle = text-align: left; padding: 0.1em 0.5em; <!-- |
− | -->{{!}}imagestyle = text-align: center; padding: 0em; height: 1.8em;<!-- | + | -->{{!}}imagestyle = text-align: center; padding: 0em; height: 1.8em; <!-- |
− | -->{{!}}imageoption= 100px<!-- | + | -->{{!}}imageoption= 100px <!-- |
− | -->{{!}}title = {{DbParser|{{{2}}}|name}}<!-- | + | -->{{!}}title = {{DbParser|{{{2}}}|name}} <!-- |
− | -->{{!}}titlelink = {{DbParser|{{{2}}}|link}}<!-- | + | -->{{!}}titlelink = {{DbParser|{{{2}}}|link}} <!-- |
− | -->{{!}}imagelink = {{DbParser|{{{2}}}|link}} | + | -->{{!}}imagelink = {{DbParser|{{{2}}}|link}} <!-- ext is set in layout : png |
− | -->{{!}}label1 = Id<!-- | + | -->{{!}}label1 = Id <!-- |
− | -->{{!}}data1 = {{DbParser|{{{2}}}|Id}}<!-- | + | -->{{!}}data1 = {{DbParser|{{{2}}}|Id}} <!-- |
======= 0 : full box ================= | ======= 0 : full box ================= | ||
-->|0={{!}}bodystyle = width: 19em; text-align: left; font-size: 88%; line-height: 1.5em; float: right;<!-- | -->|0={{!}}bodystyle = width: 19em; text-align: left; font-size: 88%; line-height: 1.5em; float: right;<!-- |