Difference between revisions of "Template:Alchemy tree"
From SpiralKnights
BlarghBlargh (Talk | contribs) m |
BlarghBlargh (Talk | contribs) m (testing permutations of span...) |
||
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:*; 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: 2px auto;">[[Image:Equipment-{{{name}}}_icon.png | {{#ifexpr: {{{rows}}} < 3 | {{#expr: {{{rows}}}*5+15}}px | 40px }} | link={{{name}}}|{{{name}}} ]] | + | {{#if: {{{name}}} | {{#if: {{{minSize|}}} | {{!}} colspan="1" rowspan="{{{rows|1}}}" align="left" valign="middle" style="width:*; 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: 2px auto;">[[Image:Equipment-{{{name}}}_icon.png | {{#ifexpr: {{{rows}}} < 3 | {{#expr: {{{rows}}}*5+15}}px | 40px }} | link={{{name}}}|{{{name}}} ]] [[{{{name}}}]] </span> | {{SKWindow/Cell|1=[[{{{name}}}]] <br> [[Image:Equipment-{{{name}}}_icon.png | 40px | link={{{name}}}|{{{name}}} ]] | 2=center | 3=middle| 5={{{rows}}} | 7={{#expr: 14*{{{rows}}} }}px | background=#c7dbea }} }} | {{SKWindow/Cell|5={{{rows}}}|7={{#expr: 14*{{{rows}}} }}px|background=#114255| }} }}</includeonly> |
Revision as of 22:00, 18 December 2014
Testing for alch tree templates.