Template:Infobox Event: Difference between revisions
Jump to navigation
Jump to search
Add missing category for cost based on Card2cost and name (ignore cost and cost2) |
Missed cost3. |
||
(7 intermediate revisions by 4 users not shown) | |||
Line 10: | Line 10: | ||
|image = {{{image|[[File:{{#ifexist:File:{{{name}}}.jpg|{{{name|Card back landscape}}}|Card back landscape}}.jpg|320px]]}}} | |image = {{{image|[[File:{{#ifexist:File:{{{name}}}.jpg|{{{name|Card back landscape}}}|Card back landscape}}.jpg|320px]]}}} | ||
|caption = {{#if:{{{image|}}}{{{image2|}}}||{{#ifexist:File:{{{name}}}.jpg||<span class="plainlinks">'' | |caption = {{#if:{{{image|}}}{{{image2|}}}||{{#ifexist:File:{{{name}}}.jpg||<span class="plainlinks">''It seems we don't have the card image. Maybe you can [{{fullurl:Special:Upload|wpDestFile={{urlencode:{{{name}}}.jpg|PATH}}}} upload] it?''</span>}}}} | ||
|image2 = {{#if:{{{image2|}}}|{{{image2}}}}} | |image2 = {{#if:{{{image2|}}}|{{{image2}}}}} | ||
|caption2 = {{#if:{{{caption2|}}}|''{{{caption2|}}}''}} | |caption2 = {{#if:{{{caption2|}}}|''{{{caption2|}}}''}} | ||
Line 17: | Line 17: | ||
|label2 = [[Cost]] | |label2 = [[Cost]] | ||
|data2 = {{Cost|{{{cost|}}}||{{{cost2|}}}}} | |data2 = {{Cost|{{{cost|}}}||{{{cost2|}}}|{{{cost3|}}}}} | ||
|label3 = [[Card types|Type | |label3 = [[Card types|Type]] | ||
|data3 = [[ | |data3 = [[Event]] | ||
|label5 = Set | |label5 = [[Expansions|Set]] | ||
|data5 = | |data5 = {{SetAndIconLink|{{{set|}}}|{{{name}}}}} | ||
|label6 = a.k.a. | |label6 = a.k.a. | ||
Line 32: | Line 32: | ||
|header8 = Event text | |header8 = Event text | ||
|data9 = ''{{{text| }}}''{{#if:{{{text2|}}}|<hr>''{{{text2}}}''}} | |data9 = ''{{{text| }}}''{{#if:{{{text2|}}}|<hr style="width:50%;margin-left:25%;text-align:center;" />''{{{text2}}}''}} | ||
|header10= {{#if:{{{article|}}}{{{combo1|}}}{{{combo2|}}}{{{combo3|}}}{{{combo4|}}}{{{counteredby1|}}}{{{counteredby2|}}}{{{counteredby3|}}}{{{counteredby4|}}}{{{counterto1|}}}{{{counterto2|}}}{{{counterto3|}}}{{{counterto4|}}}|Strategy}} | |header10= {{#if:{{{article|}}}{{{combo1|}}}{{{combo2|}}}{{{combo3|}}}{{{combo4|}}}{{{counteredby1|}}}{{{counteredby2|}}}{{{counteredby3|}}}{{{counteredby4|}}}{{{counterto1|}}}{{{counterto2|}}}{{{counterto3|}}}{{{counterto4|}}}|Strategy}} | ||
Line 49: | Line 49: | ||
}}<includeonly>{{#if:{{{nocats|}}}|| | }}<includeonly>{{#if:{{{nocats|}}}|| | ||
[[Category: Cards]] | [[Category: Cards]] | ||
[[Category: | [[Category: Event cards]] | ||
{{#if:{{{ | {{#if:{{Card2cost|{{{name|}}}|Text}}|[[Category:Cards costing {{Card2cost|{{{name|}}}|Text}}]]}} | ||
{{ | [[Category: {{{set|{{#switch:{{lc:{{Card2set|{{{name}}}}}}}|menagerie (expansion)=Menagerie|plunder (expansion)=Plunder|#default={{Card2set|{{{name}}}}}}}}}} cards]] | ||
{{# | |||
{{#if:{{{illustrator|}}}|[[Category: Cards illustrated by {{{illustrator}}}]]}} | {{#if:{{{illustrator|}}}|[[Category: Cards illustrated by {{{illustrator}}}]]}} | ||
{{#if:{{{illustrator2|}}}|[[Category: Cards illustrated by {{{illustrator2}}}]]}} | {{#if:{{{illustrator2|}}}|[[Category: Cards illustrated by {{{illustrator2}}}]]}} |