Template:Mobdata
From Card Hunter Wiki
(Difference between revisions)
Line 48: | Line 48: | ||
|}[[Category:Monsters]] | |}[[Category:Monsters]] | ||
<!--Semantic Properties for mobs, edit with care !--> | <!--Semantic Properties for mobs, edit with care !--> | ||
− | {{#if:{{{mob_image|}}}|[[Has Image::File:{{{mob_image}}}| ]]|}}{{#if:{{{mob_hp|}}}|[[Has Mob_hp::{{{mob_hp}}}| ]]|}}{{#if:{{{mob_size|}}}|[[Has Mob_size::{{{mob_size}}}| ]]|}}{{#if:{{{mobcard1_qty|}}}|[[Has Mob_decksize::{{#expr: {{#if:{{{mobcard1_qty|}}}|{{{mobcard1_qty}}}|0}}+{{#if:{{{mobcard2_qty|}}}|{{{mobcard2_qty}}}|0}}+{{#if:{{{mobcard3_qty|}}}|{{{mobcard3_qty}}}|0}}+{{#if:{{{mobcard4_qty|}}}|{{{mobcard4_qty}}}|0}}+{{#if:{{{mobcard5_qty|}}}|{{{mobcard5_qty}}}|0}}+{{#if:{{{mobcard6_qty|}}}|{{{mobcard6_qty}}}|0}}+{{#if:{{{mobcard7_qty|}}}|{{{mobcard7_qty}}}|0}}+{{#if:{{{mobcard8_qty|}}}|{{{mobcard8_qty}}}|0}}+{{#if:{{{mobcard9_qty|}}}|{{{mobcard9_qty}}}|0}}+{{#if:{{{mobcard10_qty|}}}|{{{mobcard10_qty}}}|0}}+{{#if:{{{mobcard11_qty|}}}|{{{mobcard11_qty}}}|0}}+{{#if:{{{mobcard12_qty|}}}|{{{mobcard12_qty}}}|0}}+{{#if:{{{mobcard13_qty|}}}|{{{mobcard13_qty}}}|0}}+{{#if:{{{mobcard14_qty|}}}|{{{mobcard14_qty}}}|0}}+{{#if:{{{mobcard15_qty|}}}|{{{mobcard15_qty}}}|0}}+{{#if:{{{mobcard16_qty|}}}|{{{mobcard16_qty}}}|0}}+{{#if:{{{mobcard17_qty|}}}|{{{mobcard17_qty}}}|0}}+{{#if:{{{mobcard18_qty|}}}|{{{mobcard18_qty}}}|0}}+{{#if:{{{mobcard19_qty|}}}|{{{mobcard19_qty}}}|0}}+{{#if:{{{mobcard20_qty|}}}|{{{mobcard20_qty}}}|0}}+{{#if:{{{mobcard21_qty|}}}|{{{mobcard21_qty}}}|0}}+{{#if:{{{mobcard22_qty|}}}|{{{mobcard22_qty}}}|0}}+{{#if:{{{mobcard23_qty|}}}|{{{mobcard23_qty}}}|0}}+{{#if:{{{mobcard24_qty|}}}|{{{mobcard24_qty}}}|0}}+{{#if:{{{mobcard25_qty|}}}|{{{mobcard25_qty}}}|0}} }}| ]]|}}{{#if:{{{mob_draw|}}}|[[Has Mob_draw::{{{mob_draw}}}| ]]|}}{{#if:{{{mob_vp|}}}|[[Has Mob_vp::{{{mob_vp}}}| ]]|}}{{#if:{{{standardmove|}}}|[[Has Mob_dmc::{{{standardmove}}}| ]]|}}{{#if:{{{cse_name|}}}|[[Has Cse_name::{{{cse_name}}}| ]]|}}</includeonly><noinclude> | + | {{#if:{{{mob_image|}}}|[[Has Image::File:{{{mob_image}}}| ]]|}}{{#if:{{{disp_name|}}}|[[Has Mob_dispname::{{{disp_name}}}| ]]|}}{{#if:{{{mob_hp|}}}|[[Has Mob_hp::{{{mob_hp}}}| ]]|}}{{#if:{{{mob_size|}}}|[[Has Mob_size::{{{mob_size}}}| ]]|}}{{#if:{{{mobcard1_qty|}}}|[[Has Mob_decksize::{{#expr: {{#if:{{{mobcard1_qty|}}}|{{{mobcard1_qty}}}|0}}+{{#if:{{{mobcard2_qty|}}}|{{{mobcard2_qty}}}|0}}+{{#if:{{{mobcard3_qty|}}}|{{{mobcard3_qty}}}|0}}+{{#if:{{{mobcard4_qty|}}}|{{{mobcard4_qty}}}|0}}+{{#if:{{{mobcard5_qty|}}}|{{{mobcard5_qty}}}|0}}+{{#if:{{{mobcard6_qty|}}}|{{{mobcard6_qty}}}|0}}+{{#if:{{{mobcard7_qty|}}}|{{{mobcard7_qty}}}|0}}+{{#if:{{{mobcard8_qty|}}}|{{{mobcard8_qty}}}|0}}+{{#if:{{{mobcard9_qty|}}}|{{{mobcard9_qty}}}|0}}+{{#if:{{{mobcard10_qty|}}}|{{{mobcard10_qty}}}|0}}+{{#if:{{{mobcard11_qty|}}}|{{{mobcard11_qty}}}|0}}+{{#if:{{{mobcard12_qty|}}}|{{{mobcard12_qty}}}|0}}+{{#if:{{{mobcard13_qty|}}}|{{{mobcard13_qty}}}|0}}+{{#if:{{{mobcard14_qty|}}}|{{{mobcard14_qty}}}|0}}+{{#if:{{{mobcard15_qty|}}}|{{{mobcard15_qty}}}|0}}+{{#if:{{{mobcard16_qty|}}}|{{{mobcard16_qty}}}|0}}+{{#if:{{{mobcard17_qty|}}}|{{{mobcard17_qty}}}|0}}+{{#if:{{{mobcard18_qty|}}}|{{{mobcard18_qty}}}|0}}+{{#if:{{{mobcard19_qty|}}}|{{{mobcard19_qty}}}|0}}+{{#if:{{{mobcard20_qty|}}}|{{{mobcard20_qty}}}|0}}+{{#if:{{{mobcard21_qty|}}}|{{{mobcard21_qty}}}|0}}+{{#if:{{{mobcard22_qty|}}}|{{{mobcard22_qty}}}|0}}+{{#if:{{{mobcard23_qty|}}}|{{{mobcard23_qty}}}|0}}+{{#if:{{{mobcard24_qty|}}}|{{{mobcard24_qty}}}|0}}+{{#if:{{{mobcard25_qty|}}}|{{{mobcard25_qty}}}|0}} }}| ]]|}}{{#if:{{{mob_draw|}}}|[[Has Mob_draw::{{{mob_draw}}}| ]]|}}{{#if:{{{mob_vp|}}}|[[Has Mob_vp::{{{mob_vp}}}| ]]|}}{{#if:{{{standardmove|}}}|[[Has Mob_dmc::{{{standardmove}}}| ]]|}}{{#if:{{{cse_name|}}}|[[Has Cse_name::{{{cse_name}}}| ]]|}}</includeonly><noinclude> |
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: | 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: |
Revision as of 23:59, 21 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> | mobcard1_qty=<decklist card 1 qty, mandatory> | mobcard1_name=<decklist card 1 name, mandatory> | 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> }}
Accepted tablecolor entries: r, b and g. (Case independent) Accepted mob_size entries: 1 and 2. Returns 1x1 or 2x2 respectively.