Template:Mobdata

From Card Hunter Wiki
(Difference between revisions)
Jump to: navigation, search
Line 19: Line 19:
 
{{#if:{{{amrcard1_name|}}}|
 
{{#if:{{{amrcard1_name|}}}|
 
{{!!}} Armor
 
{{!!}} Armor
{{!}} {{{amrcard1_qty|}}}x {{C|{{{amrcard1_name}}}}}<br/>{{#if:{{{amrcard2_name|}}}| {{{amrcard2_qty|}}}x {{C|{{{amrcard2_name}}}}}<br/>| }}{{#if:{{{amrcard3_name|}}}| {{{amrcard3_qty|}}}x {{C|{{{amrcard3_name}}}}}<br/>| }}{{#if:{{{amrcard4_name|}}}| {{{amrcard4_qty|}}}x {{C|{{{amrcard4_name}}}}}<br/>| }}{{#if:{{{amrcard5_name|}}}| {{{amrcard5_qty|}}}x {{C|{{{amrcard5_name}}}}}<br/>| }} }}
+
{{!}} colspan=2 {{!}} {{{amrcard1_qty|}}}x {{C|{{{amrcard1_name}}}}}<br/>{{#if:{{{amrcard2_name|}}}| {{{amrcard2_qty|}}}x {{C|{{{amrcard2_name}}}}}<br/>| }}{{#if:{{{amrcard3_name|}}}| {{{amrcard3_qty|}}}x {{C|{{{amrcard3_name}}}}}<br/>| }}{{#if:{{{amrcard4_name|}}}| {{{amrcard4_qty|}}}x {{C|{{{amrcard4_name}}}}}<br/>| }}{{#if:{{{amrcard5_name|}}}| {{{amrcard5_qty|}}}x {{C|{{{amrcard5_name}}}}}<br/>| }} }}
 
{{!-}}
 
{{!-}}
 
{{#if:{{{astcard1_name|}}}|
 
{{#if:{{{astcard1_name|}}}|
 
{{!!}} Assist
 
{{!!}} Assist
{{!}} {{{astcard1_qty|}}}x {{C|{{{astcard1_name}}}}}<br/>{{#if:{{{astcard2_name|}}}| {{{astcard2_qty|}}}x {{C|{{{astcard2_name}}}}}<br/>| }}{{#if:{{{astcard3_name|}}}| {{{astcard3_qty|}}}x {{C|{{{astcard3_name}}}}}<br/>| }}{{#if:{{{astcard4_name|}}}| {{{astcard4_qty|}}}x {{C|{{{astcard4_name}}}}}<br/>| }}{{#if:{{{astcard5_name|}}}| {{{astcard5_qty|}}}x {{C|{{{astcard5_name}}}}}<br/>| }} }}
+
{{!}} colspan=2 {{!}} {{{astcard1_qty|}}}x {{C|{{{astcard1_name}}}}}<br/>{{#if:{{{astcard2_name|}}}| {{{astcard2_qty|}}}x {{C|{{{astcard2_name}}}}}<br/>| }}{{#if:{{{astcard3_name|}}}| {{{astcard3_qty|}}}x {{C|{{{astcard3_name}}}}}<br/>| }}{{#if:{{{astcard4_name|}}}| {{{astcard4_qty|}}}x {{C|{{{astcard4_name}}}}}<br/>| }}{{#if:{{{astcard5_name|}}}| {{{astcard5_qty|}}}x {{C|{{{astcard5_name}}}}}<br/>| }} }}
 
{{!-}}
 
{{!-}}
 
{{#if:{{{atkcard1_name|}}}|
 
{{#if:{{{atkcard1_name|}}}|
 
{{!!}} Attack
 
{{!!}} Attack
{{!}} {{{atkcard1_qty|}}}x {{C|{{{atkcard1_name}}}}}<br/>{{#if:{{{atkcard2_name|}}}| {{{atkcard2_qty|}}}x {{C|{{{atkcard2_name}}}}}<br/>| }}{{#if:{{{atkcard3_name|}}}| {{{atkcard3_qty|}}}x {{C|{{{atkcard3_name}}}}}<br/>| }}{{#if:{{{atkcard4_name|}}}| {{{atkcard4_qty|}}}x {{C|{{{atkcard4_name}}}}}<br/>| }}{{#if:{{{atkcard5_name|}}}| {{{atkcard5_qty|}}}x {{C|{{{atkcard5_name}}}}}<br/>| }}{{#if:{{{atkcard6_name|}}}| {{{atkcard6_qty|}}}x {{C|{{{atkcard6_name}}}}}<br/>| }}{{#if:{{{atkcard7_name|}}}| {{{atkcard7_qty|}}}x {{C|{{{atkcard7_name}}}}}<br/>| }}{{#if:{{{atkcard8_name|}}}| {{{atkcard8_qty|}}}x {{C|{{{atkcard8_name}}}}}<br/>| }}{{#if:{{{atkcard9_name|}}}| {{{atkcard9_qty|}}}x {{C|{{{atkcard9_name}}}}}<br/>| }}{{#if:{{{atkcard10_name|}}}| {{{atkcard10_qty|}}}x {{C|{{{atkcard10_name}}}}}<br/>| }} }}
+
{{!}} colspan=2 {{!}} {{{atkcard1_qty|}}}x {{C|{{{atkcard1_name}}}}}<br/>{{#if:{{{atkcard2_name|}}}| {{{atkcard2_qty|}}}x {{C|{{{atkcard2_name}}}}}<br/>| }}{{#if:{{{atkcard3_name|}}}| {{{atkcard3_qty|}}}x {{C|{{{atkcard3_name}}}}}<br/>| }}{{#if:{{{atkcard4_name|}}}| {{{atkcard4_qty|}}}x {{C|{{{atkcard4_name}}}}}<br/>| }}{{#if:{{{atkcard5_name|}}}| {{{atkcard5_qty|}}}x {{C|{{{atkcard5_name}}}}}<br/>| }}{{#if:{{{atkcard6_name|}}}| {{{atkcard6_qty|}}}x {{C|{{{atkcard6_name}}}}}<br/>| }}{{#if:{{{atkcard7_name|}}}| {{{atkcard7_qty|}}}x {{C|{{{atkcard7_name}}}}}<br/>| }}{{#if:{{{atkcard8_name|}}}| {{{atkcard8_qty|}}}x {{C|{{{atkcard8_name}}}}}<br/>| }}{{#if:{{{atkcard9_name|}}}| {{{atkcard9_qty|}}}x {{C|{{{atkcard9_name}}}}}<br/>| }}{{#if:{{{atkcard10_name|}}}| {{{atkcard10_qty|}}}x {{C|{{{atkcard10_name}}}}}<br/>| }} }}
 
{{!-}}
 
{{!-}}
 
{{#if:{{{blkcard1_name|}}}|
 
{{#if:{{{blkcard1_name|}}}|
 
{{!!}} Block
 
{{!!}} Block
{{!}} {{{blkcard1_qty|}}}x {{C|{{{blkcard1_name}}}}}<br/>{{#if:{{{blkcard2_name|}}}| {{{blkcard2_qty|}}}x {{C|{{{blkcard2_name}}}}}<br/>| }}{{#if:{{{blkcard3_name|}}}| {{{blkcard3_qty|}}}x {{C|{{{blkcard3_name}}}}}<br/>| }}{{#if:{{{blkcard4_name|}}}| {{{blkcard4_qty|}}}x {{C|{{{blkcard4_name}}}}}<br/>| }}{{#if:{{{blkcard5_name|}}}| {{{blkcard5_qty|}}}x {{C|{{{blkcard5_name}}}}}<br/>| }} }}
+
{{!}} colspan=2 {{!}} {{{blkcard1_qty|}}}x {{C|{{{blkcard1_name}}}}}<br/>{{#if:{{{blkcard2_name|}}}| {{{blkcard2_qty|}}}x {{C|{{{blkcard2_name}}}}}<br/>| }}{{#if:{{{blkcard3_name|}}}| {{{blkcard3_qty|}}}x {{C|{{{blkcard3_name}}}}}<br/>| }}{{#if:{{{blkcard4_name|}}}| {{{blkcard4_qty|}}}x {{C|{{{blkcard4_name}}}}}<br/>| }}{{#if:{{{blkcard5_name|}}}| {{{blkcard5_qty|}}}x {{C|{{{blkcard5_name}}}}}<br/>| }} }}
 
{{!-}}
 
{{!-}}
 
{{#if:{{{bstcard1_name|}}}|
 
{{#if:{{{bstcard1_name|}}}|
 
{{!!}} Boost
 
{{!!}} Boost
{{!}} {{{bstcard1_qty|}}}x {{C|{{{bstcard1_name}}}}}<br/>{{#if:{{{bstcard2_name|}}}| {{{bstcard2_qty|}}}x {{C|{{{bstcard2_name}}}}}<br/>| }}{{#if:{{{bstcard3_name|}}}| {{{bstcard3_qty|}}}x {{C|{{{bstcard3_name}}}}}<br/>| }}{{#if:{{{bstcard4_name|}}}| {{{bstcard4_qty|}}}x {{C|{{{bstcard4_name}}}}}<br/>| }}{{#if:{{{bstcard5_name|}}}| {{{bstcard5_qty|}}}x {{C|{{{bstcard5_name}}}}}<br/>| }} }}
+
{{!}} colspan=2 {{!}} {{{bstcard1_qty|}}}x {{C|{{{bstcard1_name}}}}}<br/>{{#if:{{{bstcard2_name|}}}| {{{bstcard2_qty|}}}x {{C|{{{bstcard2_name}}}}}<br/>| }}{{#if:{{{bstcard3_name|}}}| {{{bstcard3_qty|}}}x {{C|{{{bstcard3_name}}}}}<br/>| }}{{#if:{{{bstcard4_name|}}}| {{{bstcard4_qty|}}}x {{C|{{{bstcard4_name}}}}}<br/>| }}{{#if:{{{bstcard5_name|}}}| {{{bstcard5_qty|}}}x {{C|{{{bstcard5_name}}}}}<br/>| }} }}
 
{{!-}}
 
{{!-}}
 
{{#if:{{{hdpcard1_name|}}}|
 
{{#if:{{{hdpcard1_name|}}}|
 
{{!!}} Handicap
 
{{!!}} Handicap
{{!}} {{{hdpcard1_qty|}}}x {{C|{{{hdpcard1_name}}}}}<br/>{{#if:{{{hdpcard2_name|}}}| {{{hdpcard2_qty|}}}x {{C|{{{hdpcard2_name}}}}}<br/>| }}{{#if:{{{hdpcard3_name|}}}| {{{hdpcard3_qty|}}}x {{C|{{{hdpcard3_name}}}}}<br/>| }}{{#if:{{{hdpcard4_name|}}}| {{{hdpcard4_qty|}}}x {{C|{{{hdpcard4_name}}}}}<br/>| }}{{#if:{{{hdpcard5_name|}}}| {{{hdpcard5_qty|}}}x {{C|{{{hdpcard5_name}}}}}<br/>| }} }}
+
{{!}} colspan=2 {{!}} {{{hdpcard1_qty|}}}x {{C|{{{hdpcard1_name}}}}}<br/>{{#if:{{{hdpcard2_name|}}}| {{{hdpcard2_qty|}}}x {{C|{{{hdpcard2_name}}}}}<br/>| }}{{#if:{{{hdpcard3_name|}}}| {{{hdpcard3_qty|}}}x {{C|{{{hdpcard3_name}}}}}<br/>| }}{{#if:{{{hdpcard4_name|}}}| {{{hdpcard4_qty|}}}x {{C|{{{hdpcard4_name}}}}}<br/>| }}{{#if:{{{hdpcard5_name|}}}| {{{hdpcard5_qty|}}}x {{C|{{{hdpcard5_name}}}}}<br/>| }} }}
 
{{!-}}
 
{{!-}}
 
{{#if:{{{mvecard1_name|}}}|
 
{{#if:{{{mvecard1_name|}}}|
 
{{!!}} Movement
 
{{!!}} Movement
{{!}} {{{mvecard1_qty|}}}x {{C|{{{mvecard1_name}}}}}<br/>{{#if:{{{mvecard2_name|}}}| {{{mvecard2_qty|}}}x {{C|{{{mvecard2_name}}}}}<br/>| }}{{#if:{{{mvecard3_name|}}}| {{{mvecard3_qty|}}}x {{C|{{{mvecard3_name}}}}}<br/>| }}{{#if:{{{mvecard4_name|}}}| {{{mvecard4_qty|}}}x {{C|{{{mvecard4_name}}}}}<br/>| }}{{#if:{{{mvecard5_name|}}}| {{{mvecard5_qty|}}}x {{C|{{{mvecard5_name}}}}}<br/>| }} }}
+
{{!}} colspan=2 {{!}} {{{mvecard1_qty|}}}x {{C|{{{mvecard1_name}}}}}<br/>{{#if:{{{mvecard2_name|}}}| {{{mvecard2_qty|}}}x {{C|{{{mvecard2_name}}}}}<br/>| }}{{#if:{{{mvecard3_name|}}}| {{{mvecard3_qty|}}}x {{C|{{{mvecard3_name}}}}}<br/>| }}{{#if:{{{mvecard4_name|}}}| {{{mvecard4_qty|}}}x {{C|{{{mvecard4_name}}}}}<br/>| }}{{#if:{{{mvecard5_name|}}}| {{{mvecard5_qty|}}}x {{C|{{{mvecard5_name}}}}}<br/>| }} }}
 
{{!-}}
 
{{!-}}
 
{{#if:{{{utycard1_name|}}}|
 
{{#if:{{{utycard1_name|}}}|
 
{{!!}} Utility
 
{{!!}} Utility
{{!}} {{{utycard1_qty|}}}x {{C|{{{utycard1_name}}}}}<br/>{{#if:{{{utycard2_name|}}}| {{{utycard2_qty|}}}x {{C|{{{utycard2_name}}}}}<br/>| }}{{#if:{{{utycard3_name|}}}| {{{utycard3_qty|}}}x {{C|{{{utycard3_name}}}}}<br/>| }}{{#if:{{{utycard4_name|}}}| {{{utycard4_qty|}}}x {{C|{{{utycard4_name}}}}}<br/>| }}{{#if:{{{utycard5_name|}}}| {{{utycard5_qty|}}}x {{C|{{{utycard5_name}}}}}<br/>| }} }}
+
{{!}} colspan=2 {{!}} {{{utycard1_qty|}}}x {{C|{{{utycard1_name}}}}}<br/>{{#if:{{{utycard2_name|}}}| {{{utycard2_qty|}}}x {{C|{{{utycard2_name}}}}}<br/>| }}{{#if:{{{utycard3_name|}}}| {{{utycard3_qty|}}}x {{C|{{{utycard3_name}}}}}<br/>| }}{{#if:{{{utycard4_name|}}}| {{{utycard4_qty|}}}x {{C|{{{utycard4_name}}}}}<br/>| }}{{#if:{{{utycard5_name|}}}| {{{utycard5_qty|}}}x {{C|{{{utycard5_name}}}}}<br/>| }} }}
 
{{!-}}
 
{{!-}}
 
{{#if:{{{hybcard1_name|}}}|
 
{{#if:{{{hybcard1_name|}}}|
 
{{!!}} Hybrid
 
{{!!}} Hybrid
{{!}} {{{hybcard1_qty|}}}x {{C|{{{hybcard1_name}}}}}<br/>{{#if:{{{hybcard2_name|}}}| {{{hybcard2_qty|}}}x {{C|{{{hybcard2_name}}}}}<br/>| }}{{#if:{{{hybcard3_name|}}}| {{{hybcard3_qty|}}}x {{C|{{{hybcard3_name}}}}}<br/>| }}{{#if:{{{hybcard4_name|}}}| {{{hybcard4_qty|}}}x {{C|{{{hybcard4_name}}}}}<br/>| }}{{#if:{{{hybcard5_name|}}}| {{{hybcard5_qty|}}}x {{C|{{{hybcard5_name}}}}}<br/>| }} }}
+
{{!}} colspan=2 {{!}} {{{hybcard1_qty|}}}x {{C|{{{hybcard1_name}}}}}<br/>{{#if:{{{hybcard2_name|}}}| {{{hybcard2_qty|}}}x {{C|{{{hybcard2_name}}}}}<br/>| }}{{#if:{{{hybcard3_name|}}}| {{{hybcard3_qty|}}}x {{C|{{{hybcard3_name}}}}}<br/>| }}{{#if:{{{hybcard4_name|}}}| {{{hybcard4_qty|}}}x {{C|{{{hybcard4_name}}}}}<br/>| }}{{#if:{{{hybcard5_name|}}}| {{{hybcard5_qty|}}}x {{C|{{{hybcard5_name}}}}}<br/>| }} }}
 
{{!-}}
 
{{!-}}
 
{{#if:{{{mobcardextra_name|}}}|
 
{{#if:{{{mobcardextra_name|}}}|

Revision as of 21:35, 10 November 2013


This is the skeletal outline for a mobdata page. Generates automatic achors to mobname. Supports up to 5 monster card entries per type (except for attack)) and 10 monster attack card entries, supports up to 10 adventures. Usage is as follows:

{{Mobdata
| tablecolor=<r/g/b, mandatory>
| mob_name=<monster name, mandatory>
| mob_image=<monster image_filename.png, mandatory>
| mob_hp=<monster hp, mandatory>
| mob_size=<monster size, mandatory>
| mob_decksize=<monster deck size, mandatory>
| standardmove=<monster default move card, mandatory>
| amrcard1_qty=<monster armor card1 qty>
| amrcard1_name=<monster armor card1 name>
| astcard1_qty=<monster assist card1 qty>
| astcard1_name=<monster assist card1 name>
| atkcard1_qty=<monster attack card1 qty>
| atkcard1_name=<monster attack card1 name>
| blkcard1_qty=<monster block card1 qty>
| blkcard1_name=<monster block card1 name>
| bstcard1_qty=<monster boost card1 qty>
| bstcard1_name=<monster boost card1 name>
| hdpcard1_qty=<monster handicap card1 qty>
| hdpcard1_name=<monster handicap card1 name>
| mvecard1_qty=<monster move card1 qty>
| mvecard1_name=<monster move card1 name>
| utycard1_qty=<monster utility card1 qty>
| utycard1_name=<monster utility card1 name>
| hybcard1_qty=<monster hybrid card1 qty>
| hybcard1_name=<monster hybrid card1 name>
| mobcardextra_qty=<monster card extra qty, optional>
| mobcardextra_name=<monster card extra name, optional>
| mobadv1=<adventure1, mandatory>
| mobadv2=<adventure2, optional>
| mobadv3=<adventure3, optional>
| mobadv4=<adventure4, optional>
| mobadv5=<adventure5, optional>
| mobadv6=<adventure6, optional>
| mobadv7=<adventure7, optional>
| mobadv8=<adventure8, optional>
| mobadv9=<adventure9, optional>
| mobadv10=<adventure10, optional>
}}

Simply copy/paste the above code and fill in what should be there and delete any optional lines you are not using.

Accepted tablecolor entries: r, b and g. (Case independent)

Accepted mob_size entries: 1 and 2. Returns 1x1 or 2x2 respectively.


      
Personal tools
Namespaces

Variants
Views
Actions
Navigation
Tools