Template:LotS/TestRow: Difference between revisions

From zoywiki.com
Jump to navigation Jump to search
(Test with variables)
(Fixing with variables)
Line 1: Line 1:
{{#vardefine:item1|{{#varpull:LotS/experiment/{{{1}}}|Experiment|item1}}}}{{#vardefine:item2|{{#varpull:LotS/experiment/{{{1}}}|Experiment|item2}}}}{{#vardefine:item3|{{#varpull:LotS/experiment/{{{1}}}|Experiment|item3}}}}{{#vardefine:item4|{{#varpull:LotS/experiment/{{{1}}}|Experiment|item4}}}}{{#vardefine:item5|{{#varpull:LotS/experiment/{{{1}}}|Experiment|item5}}}}{{#vardefine:item6|{{#varpull:LotS/experiment/{{{1}}}|Experiment|item6}}}}
{{#vardefine:item1|{{#varpull:LotS/experiment/{{{1}}}|Experiment|item1}}}}{{#vardefine:item2|{{#varpull:LotS/experiment/{{{1}}}|Experiment|item2}}}}{{#vardefine:item3|{{#varpull:LotS/experiment/{{{1}}}|Experiment|item3}}}}{{#vardefine:item4|{{#varpull:LotS/experiment/{{{1}}}|Experiment|item4}}}}{{#vardefine:item5|{{#varpull:LotS/experiment/{{{1}}}|Experiment|item5}}}}{{#vardefine:item6|{{#varpull:LotS/experiment/{{{1}}}|Experiment|item6}}}}|-
|-
|[[File:LotS_{{#varpull:LotS/experiment/{{{1}}}|Experiment|firstreward}}.png|40px|{{#varpull:LotS/experiment/{{{1}}}|Experiment|firstreward}}|link=LotS/experiment/{{{1}}}]]
|[[File:LotS_{{#varpull:LotS/experiment/{{{1}}}|Experiment|firstreward}}.png|40px|{{#varpull:LotS/experiment/{{{1}}}|Experiment|firstreward}}|link=LotS/experiment/{{{1}}}]]
|'''[[LotS/experiment/{{{1}}}|<span style="color:{{LotS/Color{{#varpull:LotS/{{#varpull:LotS/experiment/{{{1}}}|Experiment|firstreward}}|LotS Item|color}}}}">{{#varpull:LotS/experiment/{{{1}}}|Experiment|firstreward}}</span>]]'''
|'''[[LotS/experiment/{{{1}}}|<span style="color:{{LotS/Color{{#varpull:LotS/{{#varpull:LotS/experiment/{{{1}}}|Experiment|firstreward}}|LotS Item|color}}}}">{{#varpull:LotS/experiment/{{{1}}}|Experiment|firstreward}}</span>]]'''
Line 8: Line 7:
|[[LotS/experiment/{{{1}}}|<span style="color:{{LotS/ColorBlue}}">{{#varpull:LotS/{{#varpull:LotS/experiment/{{{1}}}|Experiment|firstreward}}|LotS Item|type}}</span>]]
|[[LotS/experiment/{{{1}}}|<span style="color:{{LotS/ColorBlue}}">{{#varpull:LotS/{{#varpull:LotS/experiment/{{{1}}}|Experiment|firstreward}}|LotS Item|type}}</span>]]
|{{#varpull:LotS/experiment/{{{1}}}|Experiment|reqtype}}
|{{#varpull:LotS/experiment/{{{1}}}|Experiment|reqtype}}
|[[File:LotS_{{#varpull:LotS/experiment/{{{1}}}|Experiment|item1}}.png|40px|{{#varpull:LotS/experiment/{{{1}}}|Experiment|item1}}|link=LotS/experiment/{{{1}}}]]
|{{#if: {{#var:item1}}|[[File:LotS_{{#var:item1}}.png|40px|{{#var:item1}}|link=LotS/experiment/{{{1}}}]]}
|[[File:LotS_{{#varpull:LotS/experiment/{{{1}}}|Experiment|item2}}.png|40px|{{#varpull:LotS/experiment/{{{1}}}|Experiment|item2}}|link=LotS/experiment/{{{1}}}]]
|{{#if: {{#var:item2}}|[[File:LotS_{{#var:item2}}.png|40px|{{#var:item2}}|link=LotS/experiment/{{{1}}}]]}
|[[File:LotS_{{#varpull:LotS/experiment/{{{1}}}|Experiment|item3}}.png|40px|{{#varpull:LotS/experiment/{{{1}}}|Experiment|item3}}|link=LotS/experiment/{{{1}}}]]
|{{#if: {{#var:item3}}|[[File:LotS_{{#var:item3}}.png|40px|{{#var:item3}}|link=LotS/experiment/{{{1}}}]]}
|{{#if: {{{LotS/experiment/{{{1}}}|Experiment|item4|}}}|[[File:LotS_{{#varpull:LotS/experiment/{{{1}}}|Experiment|item4}}.png|40px|{{#varpull:LotS/experiment/{{{1}}}|Experiment|item4}}|link=LotS/experiment/{{{1}}}]]|}}
|{{#if: {{#var:item4}}|[[File:LotS_{{#var:item4}}.png|40px|{{#var:item4}}|link=LotS/experiment/{{{1}}}]]}
|{{#if: {{{item5|}}}|[[File:LotS_{{#varpull:LotS/experiment/{{{1}}}|Experiment|item5}}.png|40px|{{#varpull:LotS/experiment/{{{1}}}|Experiment|item5}}|link=LotS/experiment/{{{1}}}]]|}}
|{{#if: {{#var:item5}}|[[File:LotS_{{#var:item5}}.png|40px|{{#var:item5}}|link=LotS/experiment/{{{1}}}]]}
|{{#if: {{#var:item6}}|[[File:LotS_{{#var:item6}}.png|40px|{{#var:item6}}|link=LotS/experiment/{{{1}}}]]|}}
|{{#if: {{#var:item6}}|[[File:LotS_{{#var:item6}}.png|40px|{{#var:item6}}|link=LotS/experiment/{{{1}}}]]}
}

Revision as of 19:18, 15 July 2014

{{#vardefine:item1|{{#varpull:LotS/experiment/{{{1}}}|Experiment|item1}}}}{{#vardefine:item2|{{#varpull:LotS/experiment/{{{1}}}|Experiment|item2}}}}{{#vardefine:item3|{{#varpull:LotS/experiment/{{{1}}}|Experiment|item3}}}}{{#vardefine:item4|{{#varpull:LotS/experiment/{{{1}}}|Experiment|item4}}}}{{#vardefine:item5|{{#varpull:LotS/experiment/{{{1}}}|Experiment|item5}}}}{{#vardefine:item6|{{#varpull:LotS/experiment/{{{1}}}|Experiment|item6}}}}|- |[[File:LotS_{{#varpull:LotS/experiment/{{{1}}}|Experiment|firstreward}}.png|40px|{{#varpull:LotS/experiment/{{{1}}}|Experiment|firstreward}}|link=LotS/experiment/{{{1}}}]] |[[LotS/experiment/{{{1}}}|{{#varpull:LotS/experiment/{{{1}}}|Experiment|firstreward}}]] |{{#varpull:LotS/{{#varpull:LotS/experiment/{{{1}}}|Experiment|firstreward}}|LotS Item|attack}} |{{#varpull:LotS/{{#varpull:LotS/experiment/{{{1}}}|Experiment|firstreward}}|LotS Item|defense}} |{{#varpull:LotS/{{#varpull:LotS/experiment/{{{1}}}|Experiment|firstreward}}|LotS Item|ability}} |[[LotS/experiment/{{{1}}}|{{#varpull:LotS/{{#varpull:LotS/experiment/{{{1}}}|Experiment|firstreward}}|LotS Item|type}}]] |{{#varpull:LotS/experiment/{{{1}}}|Experiment|reqtype}} |{{#if: {{#var:item1}}|[[File:LotS_{{#var:item1}}.png|40px|{{#var:item1}}|link=LotS/experiment/{{{1}}}]]} |{{#if: {{#var:item2}}|[[File:LotS_{{#var:item2}}.png|40px|{{#var:item2}}|link=LotS/experiment/{{{1}}}]]} |{{#if: {{#var:item3}}|[[File:LotS_{{#var:item3}}.png|40px|{{#var:item3}}|link=LotS/experiment/{{{1}}}]]} |{{#if: {{#var:item4}}|[[File:LotS_{{#var:item4}}.png|40px|{{#var:item4}}|link=LotS/experiment/{{{1}}}]]} |{{#if: {{#var:item5}}|[[File:LotS_{{#var:item5}}.png|40px|{{#var:item5}}|link=LotS/experiment/{{{1}}}]]} |{{#if: {{#var:item6}}|[[File:LotS_{{#var:item6}}.png|40px|{{#var:item6}}|link=LotS/experiment/{{{1}}}]]} }