Template:Mobdata
From Card Hunter Wiki
(Difference between revisions)
Line 23: | Line 23: | ||
-->{{#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:{{{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/>| }}<!-- | ||
MOVEMENT! | MOVEMENT! | ||
− | -->{{#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:{{{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/>| }}<!-- |
+ | EXTRA! | ||
+ | -->{{#if:{{{mobcardextra_name|}}}| '''Extra'''<br/>{{{mobcardextra_qty|}}}x extra {{C|{{{mobcardextra_name}}}}}| }} | ||
|- | |- | ||
! valign="top"| Found in | ! valign="top"| Found in |
Revision as of 18:21, 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.