Difference between revisions of "Template:Alchemy tree"
From SpiralKnights
BlarghBlargh (Talk | contribs) m (setting up check full expand for one row, wrap for multiple rows.) |
BlarghBlargh (Talk | contribs) m (forgot a semicolon.) |
||
Line 2: | Line 2: | ||
Testing for alch tree templates. | Testing for alch tree templates. | ||
</noinclude><includeonly> | </noinclude><includeonly> | ||
− | {{#if: {{{name}}} | {{#if: {{{minSize|}}} | {{!}} colspan="1" rowspan="{{{rows|1}}}" align="left" valign="middle" style="width:{{#ifexpr: {{{rows}}}=1| * | 13em;}} height:*; background:#c7dbea; color:#000000; font-size: normal; padding: 2px 5px 2px 5px; border-radius: 5px; -moz-border-radius: 5px; -webkit-border-radius: 5px; -khtml-border-radius: 5px; -icab-border-radius: 5px; -o-border-radius: 5px;" {{!}} <span style="float: left; margin: 0px; padding: 0px 5px 0px 0px;">[[Image:Equipment-{{{name}}}_icon.png | {{#ifexpr: {{{rows}}} < 3 | {{#expr: {{{rows}}}*5+15}}px | 40px }} | link={{{name}}}|{{{name}}} ]] </span> <span style="height: {{#expr: {{{rows}}}*3}}em;" >[[{{{name}}}]] </span> | {{SKWindow/Cell|1=[[Image:Equipment-{{{name}}}_icon.png | 40px | link={{{name}}}|{{{name}}} ]] <br> [[{{{name}}}]] | 2=center | 3=middle| 5={{{rows}}} | background=#c7dbea }} }} | {{SKWindow/Cell|5={{{rows}}}|background=#114255| }} }}</includeonly> | + | {{#if: {{{name}}} | {{#if: {{{minSize|}}} | {{!}} colspan="1" rowspan="{{{rows|1}}}" align="left" valign="middle" style="width:{{#ifexpr: {{{rows}}}=1| *; | 13em;}} height:*; background:#c7dbea; color:#000000; font-size: normal; padding: 2px 5px 2px 5px; border-radius: 5px; -moz-border-radius: 5px; -webkit-border-radius: 5px; -khtml-border-radius: 5px; -icab-border-radius: 5px; -o-border-radius: 5px;" {{!}} <span style="float: left; margin: 0px; padding: 0px 5px 0px 0px;">[[Image:Equipment-{{{name}}}_icon.png | {{#ifexpr: {{{rows}}} < 3 | {{#expr: {{{rows}}}*5+15}}px | 40px }} | link={{{name}}}|{{{name}}} ]] </span> <span style="height: {{#expr: {{{rows}}}*3}}em;" >[[{{{name}}}]] </span> | {{SKWindow/Cell|1=[[Image:Equipment-{{{name}}}_icon.png | 40px | link={{{name}}}|{{{name}}} ]] <br> [[{{{name}}}]] | 2=center | 3=middle| 5={{{rows}}} | background=#c7dbea }} }} | {{SKWindow/Cell|5={{{rows}}}|background=#114255| }} }}</includeonly> |
Revision as of 16:27, 19 December 2014
Testing for alch tree templates.