Template:SkillTable

From Card Hunter Wiki
(Difference between revisions)
Jump to: navigation, search
Line 6: Line 6:
 
| [[Items/{{{itemname1}}}|{{{itemname1}}}]]
 
| [[Items/{{{itemname1}}}|{{{itemname1}}}]]
 
| {{Itemimagequery|{{{itemname1}}}}}
 
| {{Itemimagequery|{{{itemname1}}}}}
| {{#expr: ({{{card_size}}}!=3 or {{{card_size}}}!=6) }}
+
| {{#ifexpr: {{{card_size}}}!=3 |yes|no}}
 
| align="center" | {{Itemtalentquery|{{{itemname1}}}}}
 
| align="center" | {{Itemtalentquery|{{{itemname1}}}}}
 
|-
 
|-
Line 12: Line 12:
 
{{!}} [[Items/{{{itemname1}}}|{{{itemname2}}}]]
 
{{!}} [[Items/{{{itemname1}}}|{{{itemname2}}}]]
 
{{!}} {{Itemimagequery|{{{itemname2}}}}}
 
{{!}} {{Itemimagequery|{{{itemname2}}}}}
{{!}} {{#expr: ({{{card_size}}}!=3) or ({{{card_size}}}!=6) }}
+
{{!}} {{#ifexpr: {{{card_size}}}!=3 |yes|no}}
 
{{!}} align="center" {{!}} {{Itemtalentquery|{{{itemname2}}}}} }}
 
{{!}} align="center" {{!}} {{Itemtalentquery|{{{itemname2}}}}} }}
 
{{!-}}  
 
{{!-}}  

Revision as of 22:17, 14 March 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:

{{SkillTable
| tablecolor=<r/g/b, mandatory>
| card_size=<3 or 6, mandatory>
| caption=<skill classification, mandatory>
| itemname1=<item name 1, mandatory>
| itemname2=<item name 2, optional>
| itemname3=<item name 3, optional>
| itemname4=<item name 4, optional>
| itemname5=<item name 5, optional>
| itemname6=<item name 6, optional>
| itemname7=<item name 7, optional>
| itemname8=<item name 8, optional>
| itemname9=<item name 9, optional>
| itemname10=<item name 10, optional>
| itemname11=<item name 11, optional>
| itemname12=<item name 12, optional>
| itemname13=<item name 13, optional>
| itemname14=<item name 14, optional>
| itemname15=<item name 15, optional>
| itemname16=<item name 16, optional>
| itemname17=<item name 17, optional>
| itemname18=<item name 18, optional>
| itemname19=<item name 19, optional>
| itemname20=<item name 20, 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)


      
Personal tools
Namespaces

Variants
Views
Actions
Navigation
Tools