Template:Infobox Event

From DominionStrategy Wiki
(Difference between revisions)
Jump to: navigation, search
(Created page with "{{Infobox |bodystyle = width:320px;{{{bodystyle|}}} |abovestyle = font-variant:small-caps;{{{namestyle|}}} |imagestyle = {{{imagestyle|}}} |headerstyle = background-color:#CCF...")
 
 
(13 intermediate revisions by 6 users not shown)
Line 9: Line 9:
 
|above    = [[{{{name}}}]]
 
|above    = [[{{{name}}}]]
  
|image    = {{{image|[[File:{{#ifexist:File:{{{name}}}.jpg|{{{name|Card back}}}|Card back}}.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">''Seem that we don't have the card image. Maybe you can [{{fullurl:Special:Upload|wpDestFile={{urlencode:{{{name}}}.jpg|PATH}}}} upload] it?''</span>}}}}
+
|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  = {{{image2|{{#ifexist:File:{{{name}}}-new.jpg|[[File:{{{name}}}-new.jpg|320px]]}}}}}
+
|image2  = {{#if:{{{image2|}}}|{{{image2}}}}}
 
|caption2 = {{#if:{{{caption2|}}}|''{{{caption2|}}}''}}
 
|caption2 = {{#if:{{{caption2|}}}|''{{{caption2|}}}''}}
  
Line 17: Line 17:
  
 
|label2  = [[Cost]]
 
|label2  = [[Cost]]
|data2    = {{Cost|{{{cost|{{Card2cost|{{{name|0}}}}}}}}}}
+
|data2    = {{Cost|{{{cost|}}}||{{{cost2|}}}}}
  
|label3  = [[Card types|Type(s)]]
+
|label3  = [[Card types|Type]]
|data3    = [[{{{type1|}}}]]{{#if:{{{type2|}}}|&nbsp;- [[{{{type2}}}]]}}{{#if:{{{type3|}}}|&nbsp;- [[{{{type3}}}]]}}{{#if:{{{type4|}}}|&nbsp;- [[{{{type4}}}]]}}
+
|data3    = [[Event]]
  
|label5  = Set
+
|label5  = [[Expansions|Set]]
|data5    = [[{{{set|{{Card2set|{{{name}}}}}}}}]]<span style="float:right">{{Icon|{{{name|}}}|x16px}}</span>
+
|data5    = {{SetAndIconLink|{{{set|}}}|{{{name}}}}}
  
 
|label6  = a.k.a.
 
|label6  = a.k.a.
Line 29: Line 29:
  
 
|label7  = Illustrator(s)
 
|label7  = Illustrator(s)
|data7    = [[{{{illustrator|}}}]]{{#if:{{{illustrator2|}}}|<br />[[{{{illustrator2}}}]]}}
+
|data7    = {{#if:{{{illustrator|{{{illustrator2|}}}}}}|{{#if:{{{illustrator|}}}|[[{{{illustrator|}}}]]}}{{#if:{{{illustrator2|}}}|<br />[[{{{illustrator2}}}]]}}|?}}
  
|header8  = Card 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]]
{{#ifeq:{{{name|}}}|Knight|[[Category:Cards costing 4]][[Category:Cards costing 5]]|[[Category:Cards costing {{{cost|{{Card2cost|{{{name|}}}}}}}}]]}}
+
[[Category: Event cards]]
[[Category: {{{type1}}} cards]]
+
{{#if:{{Card2cost|{{{name|}}}}}|[[Category:Cards costing {{Card2cost|{{{name|}}}}}]]}}
{{#if:{{{type2|}}}|[[Category: {{{type2}}} cards]]}}
+
[[Category: {{{set|{{#switch:{{lc:{{Card2set|{{{name}}}}}}}|menagerie (expansion)=Menagerie|plunder (expansion)=Plunder|#default={{Card2set|{{{name}}}}}}}}}} cards]]
{{#if:{{{type3|}}}|[[Category: {{{type3}}} cards]]}}
+
{{#if:{{{illustrator|}}}|[[Category: Cards illustrated by {{{illustrator}}}]]}}
{{#if:{{{type4|}}}|[[Category: {{{type4}}} cards]]}}
+
{{#ifeq:{{{kingdom|Yes}}}|Yes|[[Category:Kingdom cards]]}}
+
[[Category: {{{set|{{Card2set|{{{name}}}}}}}} cards]]
+
[[Category: Cards illustrated by {{{illustrator}}}]]
+
 
{{#if:{{{illustrator2|}}}|[[Category: Cards illustrated by {{{illustrator2}}}]]}}
 
{{#if:{{{illustrator2|}}}|[[Category: Cards illustrated by {{{illustrator2}}}]]}}
 
}}</includeonly><noinclude><br style="clear:both" />
 
}}</includeonly><noinclude><br style="clear:both" />
 
{{doc}}
 
{{doc}}
 
</noinclude>
 
</noinclude>

Latest revision as of 04:05, 13 December 2022

[[{{{name}}}]]
Card back landscape.jpg
It seems we don't have the card image. Maybe you can upload it?
Info
Cost $
Type Event
Set [[]]link={{{name}}}
Illustrator(s) ?
Event text

Template:Infobox Event/doc

Personal tools
Namespaces

Variants
Views
Actions
Navigation
Toolbox