Difference between revisions of "Template:PrizeCornerEgg"

From Pokemon World Online Wiki
Jump to: navigation, search
m
m (Might not need formulaic mechanics for this logic... Better off using a comparison-if than an expression-comparator.)
Line 1: Line 1:
 
<includeonly>{{#get_web_data:url=http://pwo-wiki.info/index.php?title=Special:GetData/PokémonRawList|format=CSV with header|filters=name={{ucfirst:{{{1}}}}}|data=name=Name,pdex=Pokedex Number}}
 
<includeonly>{{#get_web_data:url=http://pwo-wiki.info/index.php?title=Special:GetData/PokémonRawList|format=CSV with header|filters=name={{ucfirst:{{{1}}}}}|data=name=Name,pdex=Pokedex Number}}
<tr><td colspan="1" style="border: 1px #828282 solid; background: #dbdbdb; border-radius: 15px 1px 1px 15px;" width="2%">[[Image:{{#external_value: pdex}}small.png]]</td><td colspan="1" style="border: 1px #828282 solid; background: #dbdbdb; border-radius: 1px 1px 1px 1px;" width="15%">[[{{#external_value: name}}]] Egg</td><td colspan="1" style="border: 1px #828282 solid; background: #dbdbdb; border-radius: 1px 1px 1px 1px;" width="12%">{{{Price}}} {{#ifeq: {{expr: {{{Price}}} = 1}} | voucher | vouchers}}</td><td colspan="1" style="border: 1px #828282 solid; background: #dbdbdb; border-radius: 1px 15px 15px 1px;" width="6%">{{{Quantity}}}</td></tr></includeonly>
+
<tr><td colspan="1" style="border: 1px #828282 solid; background: #dbdbdb; border-radius: 15px 1px 1px 15px;" width="2%">[[Image:{{#external_value: pdex}}small.png]]</td><td colspan="1" style="border: 1px #828282 solid; background: #dbdbdb; border-radius: 1px 1px 1px 1px;" width="15%">[[{{#external_value: name}}]] Egg</td><td colspan="1" style="border: 1px #828282 solid; background: #dbdbdb; border-radius: 1px 1px 1px 1px;" width="12%">{{{Price}}} {{#ifeq: {{{Price}}} | 1 | voucher | vouchers}}</td><td colspan="1" style="border: 1px #828282 solid; background: #dbdbdb; border-radius: 1px 15px 15px 1px;" width="6%">{{{Quantity}}}</td></tr></includeonly>

Revision as of 17:13, 28 August 2014