Template:Test2: Difference between revisions

From A KoL Wiki
imported>Flargen
imported>Flargen
mNo edit summary
Line 1: Line 1:
<includeonly>{{#if:{{{adv|}}}|
<includeonly>
{{!}}-
|-
{{!}} {{{full}}}
| {{{full}}}
{{!}} {{#if:{{{adv|}}}|{{{adv}}}|?}}
| {{#if:{{{adv|}}}|{{{adv}}}|?}}
{{!}} {{#ifeq:{{{adv|?}}}|?|?|{{#ifexpr:{{{adv|}}}>=0|{{#expr:{{{adv}}}+{{#switch:{{{adv}}}|0=4|1|2|3=3|4|5|6=2|#default=1}}}}|?}}}}
| {{#ifeq:{{{adv|?}}}|?|?|{{#ifexpr:{{{adv|}}}>=0|{{#expr:{{{adv}}}+{{#switch:{{{adv}}}|0=4|1|2|3=3|4|5|6=2|#default=1}}}}|?}}}}
{{!}} {{#ifeq:{{{adv|?}}}|?|?|{{#ifexpr:{{{adv|}}}>=0|{{#expr:{{{full}}}+{{{adv}}}}}|?}}}}
| {{#ifeq:{{{adv|?}}}|?|?|{{#ifexpr:{{{adv|}}}>=0|{{#expr:{{{full}}}+{{{adv}}}}}|?}}}}
{{!}} {{#ifeq:{{{adv|?}}}|?|?|{{#ifexpr:{{{adv|}}}>=0|{{ceiling|{{#expr:1.3*{{{adv}}}}}}}|?}}}}
| {{#ifeq:{{{adv|?}}}|?|?|{{#ifexpr:{{{adv|}}}>=0|{{ceiling|{{#expr:1.3*{{{adv}}}}}}}|?}}}}
{{!}} {{#ifeq:{{{adv|?}}}|?|?|{{#ifexpr:{{{adv|}}}>=0|{{#expr:{{{full}}}+{{{adv}}}+{{#switch:{{{adv}}}|0=4|1|2|3=3|4|5|6=2|#default=1}}}}|?}}}}
| {{#ifeq:{{{adv|?}}}|?|?|{{#ifexpr:{{{adv|}}}>=0|{{#expr:{{{full}}}+{{{adv}}}+{{#switch:{{{adv}}}|0=4|1|2|3=3|4|5|6=2|#default=1}}}}|?}}}}
{{!}} {{#ifeq:{{{adv|?}}}|?|?|{{#ifexpr:{{{adv|}}}>=0|{{ceiling|{{#expr:1.3*({{{full}}}+{{{adv}}})}}}}|?}}}}
| {{#ifeq:{{{adv|?}}}|?|?|{{#ifexpr:{{{adv|}}}>=0|{{ceiling|{{#expr:1.3*({{{full}}}+{{{adv}}})}}}}|?}}}}
{{!}}
|
{{#ifeq:{{{adv|?}}}|?|?|{{#ifexpr:{{{adv|}}}>=0|{{ceiling|{{#expr:1.3*({{{full}}}+{{{adv}}}+{{#switch:{{{adv}}}|0=4|1|2|3=3|4|5|6=2|#default=1}})}}}}|?}}}}}}
{{#ifeq:{{{adv|?}}}|?|?|{{#ifexpr:{{{adv|}}}>=0|{{ceiling|{{#expr:1.3*({{{full}}}+{{{adv}}}+{{#switch:{{{adv}}}|0=4|1|2|3=3|4|5|6=2|#default=1}})}}}}|?}}}}}}
</includeonly><noinclude>
</includeonly><noinclude>

Revision as of 01:40, 1 May 2011


{{Test2}}

|- | {{{full}}} | {{#if:{{{adv|}}}|{{{adv}}}|?}} | {{#ifeq:{{{adv|?}}}|?|?|{{#ifexpr:{{{adv|}}}>=0|{{#expr:{{{adv}}}+{{#switch:{{{adv}}}|0=4|1|2|3=3|4|5|6=2|#default=1}}}}|?}}}} | {{#ifeq:{{{adv|?}}}|?|?|{{#ifexpr:{{{adv|}}}>=0|{{#expr:{{{full}}}+{{{adv}}}}}|?}}}} | {{#ifeq:{{{adv|?}}}|?|?|{{#ifexpr:{{{adv|}}}>=0|{{ceiling|{{#expr:1.3*{{{adv}}}}}}}|?}}}} | {{#ifeq:{{{adv|?}}}|?|?|{{#ifexpr:{{{adv|}}}>=0|{{#expr:{{{full}}}+{{{adv}}}+{{#switch:{{{adv}}}|0=4|1|2|3=3|4|5|6=2|#default=1}}}}|?}}}} | {{#ifeq:{{{adv|?}}}|?|?|{{#ifexpr:{{{adv|}}}>=0|{{ceiling|{{#expr:1.3*({{{full}}}+{{{adv}}})}}}}|?}}}} | {{#ifeq:{{{adv|?}}}|?|?|{{#ifexpr:{{{adv|}}}>=0|{{ceiling|{{#expr:1.3*({{{full}}}+{{{adv}}}+{{#switch:{{{adv}}}|0=4|1|2|3=3|4|5|6=2|#default=1}})}}}}|?}}}}}}

Instructions

Similar to the Sandbox, this page is here for you to play around with templates. Do what you like with it, but please leave this explanatory section.

Insert your desired template contents above between the "includeonly" tags, and alter the instance below to include any parameters you may need.

Always give a template a category, even if it is Category:Test Templates. For help on how a template works, read some documentation.

Current Test: s'more table row

Template Effects

2 4 6 6 6 8 8

11}}

3 7 8 10 10 11 13

15}}

6 20 21 26 26 27 34

36}}