Template:Mobdata
From Card Hunter Wiki
(Difference between revisions)
Line 19: | Line 19: | ||
<!--! valign="top"| Favorite Cards--> | <!--! valign="top"| Favorite Cards--> | ||
{{#if:{{{amrcard1_name|}}}| | {{#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/>| }} }} | {{!}} {{{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 |
{{!}} {{{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/>| }} }} | {{!}} {{{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 |
{{!}} {{{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/>| }} }} | {{!}} {{{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|}}}| | ||
+ | {{!!}} 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/>| }} }} | ||
+ | {{!-}} | ||
+ | {{#if:{{{bstcard1_name|}}}| | ||
+ | {{!!}} 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/>| }} }} | ||
+ | {{!-}} | ||
+ | {{#if:{{{hdpcard1_name|}}}| | ||
+ | {{!!}} 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/>| }} }} | ||
+ | {{!-}} | ||
+ | {{#if:{{{mvecard1_name|}}}| | ||
+ | {{!!}} 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/>| }} }} | ||
+ | {{!-}} | ||
+ | {{#if:{{{utycard1_name|}}}| | ||
+ | {{!!}} 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/>| }} }} | ||
+ | {{!-}} | ||
+ | {{#if:{{{hybcard1_name|}}}| | ||
+ | {{!!}} 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/>| }} }} | ||
+ | {{!-}} | ||
+ | {{#if:{{{mobcardextra_name|}}}| | ||
+ | {{!!}} Extra | ||
+ | {{!}} {{{mobcardextra_qty|}}}x extra {{C|{{{mobcardextra_name}}}}} }} | ||
{{!-}} | {{!-}} | ||
<!-- | <!-- |
Revision as of 19:18, 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.