Template:Mobdata

From Card Hunter Wiki
(Difference between revisions)
Jump to: navigation, search
m
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:{{{mob_decksize|}}}|[[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:{{{mob_draw|}}}|[[Has Mob_draw::{{{mob_draw}}}| ]]|}}{{#if:{{{mob_vp|}}}|[[Has Mob_vp::{{{mob_vp}}}| ]]|}}{{#if:{{{standardmove|}}}|[[Has Mob_dmc::{{{standardmove}}}| ]]|}}</includeonly><noinclude>
+
{{#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:{{{mob_draw|}}}|[[Has Mob_draw::{{{mob_draw}}}| ]]|}}{{#if:{{{mob_vp|}}}|[[Has Mob_vp::{{{mob_vp}}}| ]]|}}{{#if:{{{standardmove|}}}|[[Has Mob_dmc::{{{standardmove}}}| ]]|}}</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 05:58, 19 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>
| amrcard1_qty=<monster armor card1 qty>
| amrcard1_name=<monster armor card1 name>
| astcard1_qty=<monster assist card1 qty>
| astcard1_name=<monster assist card1 name>
| atkcard1_qty=<monster attack card1 qty>
| atkcard1_name=<monster attack card1 name>
| blkcard1_qty=<monster block card1 qty>
| blkcard1_name=<monster block card1 name>
| bstcard1_qty=<monster boost card1 qty>
| bstcard1_name=<monster boost card1 name>
| hdpcard1_qty=<monster handicap card1 qty>
| hdpcard1_name=<monster handicap card1 name>
| mvecard1_qty=<monster move card1 qty>
| mvecard1_name=<monster move card1 name>
| utycard1_qty=<monster utility card1 qty>
| utycard1_name=<monster utility card1 name>
| hybcard1_qty=<monster hybrid card1 qty>
| hybcard1_name=<monster hybrid card1 name>
| 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.


      
Personal tools
Namespaces

Variants
Views
Actions
Navigation
Tools