Template:LoH/Fight: Difference between revisions

From zoywiki.com
Jump to navigation Jump to search
(fix image rowheight for sealed decks too)
(Because the S1 fights recycle the fight image tiles from previous issues, we can't use the image name as a key for them. So I've added an additional field to the template which serves as an optional key.)
Line 17: Line 17:
|{{{normal_exp}}} (+{{#expr: {{{normal_exp|0}}}*4}})
|{{{normal_exp}}} (+{{#expr: {{{normal_exp|0}}}*4}})
|{{{normal_gold}}}
|{{{normal_gold}}}
|{{ColorLink|LoH/{{#replace:{{{name}}}|#}} {{#explode:{{{image_tile}}}|.|0}} Deck (Normal)|alt={{{name}}} Normal Deck|blue=#FFFFFF}}
|{{ColorLink|LoH/{{#replace:{{{name}}}|#}} {{{key|{{#explode:{{{image_tile}}}|.|0}}}}} Deck (Normal)|alt={{{name}}} Normal Deck|blue=#FFFFFF}}
|- style="color: #FFFFFF; background: #{{LoH/TableInnerColor}};" cellpadding="3" align="center" valign="middle"
|- style="color: #FFFFFF; background: #{{LoH/TableInnerColor}};" cellpadding="3" align="center" valign="middle"
|Crisis
|Crisis
Line 25: Line 25:
|{{{crisis_exp}}} (+{{#expr: {{{crisis_exp|0}}}*4}})
|{{{crisis_exp}}} (+{{#expr: {{{crisis_exp|0}}}*4}})
|{{{crisis_gold}}}
|{{{crisis_gold}}}
|{{ColorLink|LoH/{{#replace:{{{name}}}|#}} {{#explode:{{{image_tile}}}|.|0}} Deck (Crisis)|alt={{{name}}} Crisis Deck|blue=#FFFFFF}}
|{{ColorLink|LoH/{{#replace:{{{name}}}|#}} {{{key|{{#explode:{{{image_tile}}}|.|0}}}} Deck (Crisis)|alt={{{name}}} Crisis Deck|blue=#FFFFFF}}
{{#if: {{{sealednormal_id|}}} |
{{#if: {{{sealednormal_id|}}} |
{{!-}} style="color: #FFFFFF; background: #{{LoH/TableInnerColor}};" cellpadding="3" align="center" valign="middle"
{{!-}} style="color: #FFFFFF; background: #{{LoH/TableInnerColor}};" cellpadding="3" align="center" valign="middle"

Revision as of 20:55, 2 August 2013

{{{name}}}
[[Image:LoH_Fights_{{{image_tile}}}|150px|Need Image]] Difficulty Energy Runs Total Energy Experience Bucks Deck
Normal {{{normal_energy}}} {{{normal_health}}} {{{normal_exp}}} (+0) {{{normal_gold}}} [[LoH/{{{name}}} {{{image_tile}}} Deck (Normal)|{{{name}}} Normal Deck]]
Crisis {{{crisis_energy}}} {{{crisis_health}}} {{{crisis_exp}}} (+0) {{{crisis_gold}}} [[LoH/{{{name}}} {Template:Key Deck (Crisis)|{{{name}}} Crisis Deck]]
This is all the attributes which are available about a fight for Var pull.  This table will not be included in a page inclusion.
All Attributes
ID {{{id}}}
Name {{{name}}}
Image [[Image:LoH_Fights_{{{image}}}]]
Image Tile [[Image:LoH_Fights_{{{image_tile}}}]]
Is Boss? {{{isboss}}}
Normal ID {{{normal_id}}}
Normal AI

{{{normal_ai}}}

Normal Race {{{normal_race}}}
Normal Health {{{normal_health}}}
Normal Energy {{{normal_energy}}}
Normal Exp {{{normal_exp}}}
Normal Gold {{{normal_gold}}}
Crisis ID {{{crisis_id}}}
Crisis AI

{{{crisis_ai}}}

Crisis Race {{{crisis_race}}}
Crisis Health {{{crisis_health}}}
Crisis Energy {{{crisis_energy}}}
Crisis Exp {{{crisis_exp}}}
Crisis Gold {{{crisis_gold}}}