Template:Mobdata
From Card Hunter Wiki
(Difference between revisions)
Line 21: | Line 21: | ||
| {{#if:{{{mobcard1_name|}}}| {{{mobcard1_qty|}}}x {{C|{{{mobcard1_name}}}}}<br/>| }}{{#if:{{{mobcard2_name|}}}| {{{mobcard2_qty|}}}x {{C|{{{mobcard2_name}}}}}<br/>| }}{{#if:{{{mobcard3_name|}}}| {{{mobcard3_qty|}}}x {{C|{{{mobcard3_name}}}}}<br/>| }}{{#if:{{{mobcard4_name|}}}| {{{mobcard4_qty|}}}x {{C|{{{mobcard4_name}}}}}<br/>| }}{{#if:{{{mobcard5_name|}}}| {{{mobcard5_qty|}}}x {{C|{{{mobcard5_name}}}}}<br/>| }}{{#if:{{{mobcard6_name|}}}| {{{mobcard6_qty|}}}x {{C|{{{mobcard6_name}}}}}<br/>| }}{{#if:{{{mobcard7_name|}}}| {{{mobcard7_qty|}}}x {{C|{{{mobcard7_name}}}}}<br/>| }}{{#if:{{{mobcard8_name|}}}| {{{mobcard8_qty|}}}x {{C|{{{mobcard8_name}}}}}<br/>| }}{{#if:{{{mobcard9_name|}}}| {{{mobcard9_qty|}}}x {{C|{{{mobcard9_name}}}}}<br/>| }}{{#if:{{{mobcard10_name|}}}| {{{mobcard10_qty|}}}x {{C|{{{mobcard10_name}}}}}<br/>| }}{{#if:{{{mobcard11_name|}}}| {{{mobcard11_qty|}}}x {{C|{{{mobcard11_name}}}}}<br/>| }}{{#if:{{{mobcard12_name|}}}| {{{mobcard12_qty|}}}x {{C|{{{mobcard12_name}}}}}<br/>| }}{{#if:{{{mobcard13_name|}}}| {{{mobcard13_qty|}}}x {{C|{{{mobcard13_name}}}}}<br/>| }}{{#if:{{{mobcard14_name|}}}| {{{mobcard14_qty|}}}x {{C|{{{mobcard14_name}}}}}<br/>| }}{{#if:{{{mobcard15_name|}}}| {{{mobcard15_qty|}}}x {{C|{{{mobcard15_name}}}}}<br/>| }}{{#if:{{{mobcardextra_name|}}}| {{{mobcardextra_qty|}}}x extra {{C|{{{mobcardextra_name}}}}}| }} | | {{#if:{{{mobcard1_name|}}}| {{{mobcard1_qty|}}}x {{C|{{{mobcard1_name}}}}}<br/>| }}{{#if:{{{mobcard2_name|}}}| {{{mobcard2_qty|}}}x {{C|{{{mobcard2_name}}}}}<br/>| }}{{#if:{{{mobcard3_name|}}}| {{{mobcard3_qty|}}}x {{C|{{{mobcard3_name}}}}}<br/>| }}{{#if:{{{mobcard4_name|}}}| {{{mobcard4_qty|}}}x {{C|{{{mobcard4_name}}}}}<br/>| }}{{#if:{{{mobcard5_name|}}}| {{{mobcard5_qty|}}}x {{C|{{{mobcard5_name}}}}}<br/>| }}{{#if:{{{mobcard6_name|}}}| {{{mobcard6_qty|}}}x {{C|{{{mobcard6_name}}}}}<br/>| }}{{#if:{{{mobcard7_name|}}}| {{{mobcard7_qty|}}}x {{C|{{{mobcard7_name}}}}}<br/>| }}{{#if:{{{mobcard8_name|}}}| {{{mobcard8_qty|}}}x {{C|{{{mobcard8_name}}}}}<br/>| }}{{#if:{{{mobcard9_name|}}}| {{{mobcard9_qty|}}}x {{C|{{{mobcard9_name}}}}}<br/>| }}{{#if:{{{mobcard10_name|}}}| {{{mobcard10_qty|}}}x {{C|{{{mobcard10_name}}}}}<br/>| }}{{#if:{{{mobcard11_name|}}}| {{{mobcard11_qty|}}}x {{C|{{{mobcard11_name}}}}}<br/>| }}{{#if:{{{mobcard12_name|}}}| {{{mobcard12_qty|}}}x {{C|{{{mobcard12_name}}}}}<br/>| }}{{#if:{{{mobcard13_name|}}}| {{{mobcard13_qty|}}}x {{C|{{{mobcard13_name}}}}}<br/>| }}{{#if:{{{mobcard14_name|}}}| {{{mobcard14_qty|}}}x {{C|{{{mobcard14_name}}}}}<br/>| }}{{#if:{{{mobcard15_name|}}}| {{{mobcard15_qty|}}}x {{C|{{{mobcard15_name}}}}}<br/>| }}{{#if:{{{mobcardextra_name|}}}| {{{mobcardextra_qty|}}}x extra {{C|{{{mobcardextra_name}}}}}| }} | ||
--> | --> | ||
− | | {{#if:{{{armorcard1_name|}}}| '''Armor'''<br/>{{{armorcard1_qty|}}}x {{C|{{{armorcard1_name}}}}}<br/>{{#if:{{{armorcard2_name|}}}| {{{armorcard2_qty|}}}x {{C|{{{armorcard2_name}}}}}<br/>{{#if:{{{armorcard3_name|}}}| {{{armorcard3_qty|}}}x {{C|{{{armorcard3_name}}}}}<br/>{{#if:{{{armorcard4_name|}}}| {{{armorcard4_qty|}}}x {{C|{{{armorcard4_name}}}}}<br/>{{#if:{{{armorcard5_name|}}}| {{{armorcard5_qty|}}}x {{C|{{{armorcard5_name}}}}}<br/> | + | | {{#if:{{{armorcard1_name|}}}| '''Armor'''<br/>{{{armorcard1_qty|}}}x {{C|{{{armorcard1_name}}}}}<br/>{{#if:{{{armorcard2_name|}}}| {{{armorcard2_qty|}}}x {{C|{{{armorcard2_name}}}}}<br/>{{#if:{{{armorcard3_name|}}}| {{{armorcard3_qty|}}}x {{C|{{{armorcard3_name}}}}}<br/>{{#if:{{{armorcard4_name|}}}| {{{armorcard4_qty|}}}x {{C|{{{armorcard4_name}}}}}<br/>{{#if:{{{armorcard5_name|}}}| {{{armorcard5_qty|}}}x {{C|{{{armorcard5_name}}}}}<br/>{{#if:{{{asstcard1_name|}}}| '''Assist'''<br/>{{{asstcard1_qty|}}}x {{C|{{{asstcard1_name}}}}}<br/>{{#if:{{{asstcard2_name|}}}| {{{asstcard2_qty|}}}x {{C|{{{asstcard2_name}}}}}<br/>{{#if:{{{asstcard3_name|}}}| {{{asstcard3_qty|}}}x {{C|{{{asstcard3_name}}}}}<br/>{{#if:{{{asstcard4_name|}}}| {{{asstcard4_qty|}}}x {{C|{{{asstcard4_name}}}}}<br/>{{#if:{{{asstcard5_name|}}}| {{{asstcard5_qty|}}}x {{C|{{{asstcard5_name}}}}}<br/>{{#if:{{{atkcard1_name|}}}| '''Attack'''<br/>{{{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|{{{atkcard5_name}}}}}<br/>{{#if:{{{blkcard1_name|}}}| '''Block'''<br/>{{{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|}}}| '''Boost'''<br/>{{{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|}}}| '''Handicap'''<br/>{{{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|}}}| '''Movement'''<br/>{{{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|}}}| '''Utility'''<br/>{{{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|}}}| '''Hybrid'''<br/>{{{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}}}}} |
− | + | ||
− | {{#if:{{{asstcard1_name|}}}| '''Assist'''<br/>{{{asstcard1_qty|}}}x {{C|{{{asstcard1_name}}}}}<br/>{{#if:{{{asstcard2_name|}}}| {{{asstcard2_qty|}}}x {{C|{{{asstcard2_name}}}}}<br/>{{#if:{{{asstcard3_name|}}}| {{{asstcard3_qty|}}}x {{C|{{{asstcard3_name}}}}}<br/>{{#if:{{{asstcard4_name|}}}| {{{asstcard4_qty|}}}x {{C|{{{asstcard4_name}}}}}<br/>{{#if:{{{asstcard5_name|}}}| {{{asstcard5_qty|}}}x {{C|{{{asstcard5_name}}}}}<br/> | + | |
− | + | ||
− | {{#if:{{{atkcard1_name|}}}| '''Attack'''<br/>{{{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|{{{atkcard5_name}}}}}<br/> | + | |
− | + | ||
− | {{#if:{{{blkcard1_name|}}}| '''Block'''<br/>{{{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|}}}| '''Boost'''<br/>{{{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|}}}| '''Handicap'''<br/>{{{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|}}}| '''Movement'''<br/>{{{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|}}}| '''Utility'''<br/>{{{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|}}}| '''Hybrid'''<br/>{{{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}}}}} | + | |
|- | |- | ||
! valign="top"| Found in | ! valign="top"| Found in |
Revision as of 04:42, 2 April 2013
This is the skeletal outline for a mobdata page. Generates automatic achors to mobname. Supports up to 10 monster card entries and 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> | mobcard1_qty=<monster card1 qty, mandatory> | mobcard1_name=<monster card1 name, mandatory> | mobcard2_qty=<monster card2 qty, optional> | mobcard2_name=<monster card2 name, optional> | mobcard3_qty=<monster card3 qty, optional> | mobcard3_name=<monster card3 name, optional> | mobcard4_qty=<monster card4 qty, optional> | mobcard4_name=<monster card4 name, optional> | mobcard5_qty=<monster card5 qty, optional> | mobcard5_name=<monster card5 name, optional> | mobcard6_qty=<monster card6 qty, optional> | mobcard6_name=<monster card6 name, optional> | mobcard7_qty=<monster card7 qty, optional> | mobcard7_name=<monster card7 name, optional> | mobcard8_qty=<monster card8 qty, optional> | mobcard8_name=<monster card8 name, optional> | mobcard9_qty=<monster card9 qty, optional> | mobcard9_name=<monster card9 name, optional> | mobcard10_qty=<monster card10 qty, optional> | mobcard10_name=<monster card10 name, optional> | mobcard11_qty=<monster card10 qty, optional> | mobcard11_name=<monster card10 name, optional> | mobcard12_qty=<monster card10 qty, optional> | mobcard12_name=<monster card10 name, optional> | mobcard13_qty=<monster card10 qty, optional> | mobcard13_name=<monster card10 name, optional> | mobcard14_qty=<monster card10 qty, optional> | mobcard14_name=<monster card10 name, optional> | mobcard15_qty=<monster card10 qty, optional> | mobcard15_name=<monster card10 name, optional> | 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.