Template:Mobdata
From Card Hunter Wiki
(Difference between revisions)
Line 17: | Line 17: | ||
| align="center"| {{#if:{{{standardmove|}}}| {{C|{{{standardmove}}}}}| }} | | align="center"| {{#if:{{{standardmove|}}}| {{C|{{{standardmove}}}}}| }} | ||
|- | |- | ||
− | ! valign="top"| Favorite Cards | + | <!--! valign="top"| Favorite Cards--> |
+ | {{#if:{{{amrcard1_name|}}}| | ||
+ | {{!!}} '''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/>| }} }} | ||
+ | {{!-}} | ||
+ | {{#if:{{{astcard1_name|}}}| | ||
+ | {{!!}} '''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/>| }} }} | ||
+ | {{!-}} | ||
+ | {{#if:{{{atkcard1_name|}}}| | ||
+ | {{!!}} '''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/>| }} }} | ||
+ | {{!-}} | ||
+ | <!-- | ||
|<!--========ARMOR!========-->{{#if:{{{amrcard1_name|}}}| '''Armor'''<br/>{{{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/>| }}<!-- | |<!--========ARMOR!========-->{{#if:{{{amrcard1_name|}}}| '''Armor'''<br/>{{{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/>| }}<!-- | ||
========ASSIST!======== | ========ASSIST!======== | ||
Line 37: | Line 50: | ||
========EXTRA!======== | ========EXTRA!======== | ||
-->{{#if:{{{mobcardextra_name|}}}| '''Extra'''<br/>{{{mobcardextra_qty|}}}x extra {{C|{{{mobcardextra_name}}}}}| }} | -->{{#if:{{{mobcardextra_name|}}}| '''Extra'''<br/>{{{mobcardextra_qty|}}}x extra {{C|{{{mobcardextra_name}}}}}| }} | ||
+ | --> | ||
|- | |- | ||
! valign="top"| Found in | ! valign="top"| Found in |
Revision as of 19:09, 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.