Template:SkillTable

From Card Hunter Wiki
(Difference between revisions)
Jump to: navigation, search
Line 10: Line 10:
 
|-
 
|-
 
{{#if:{{{itemname2|}}}|
 
{{#if:{{{itemname2|}}}|
{{!}} [[Items/{{{itemname1}}}|{{{itemname2}}}]]
+
{{!}} [[Items/{{{itemname2}}}|{{{itemname2}}}]]
 
{{!}} {{Itemimagequery|{{{itemname2}}}}}
 
{{!}} {{Itemimagequery|{{{itemname2}}}}}
{{!}} {{#ifexpr: ({{{card_size}}}=3 or {{{card_size}}}=6) |{{Itemcardquery|{{{card_size}}}|{{{itemname1}}}}}| }}
+
{{!}} {{#ifexpr: ({{{card_size}}}=3 or {{{card_size}}}=6) |{{Itemcardquery|{{{card_size}}}|{{{itemname2}}}}}| }}
 
{{!}} align="center" {{!}} {{Itemtalentquery|{{{itemname2}}}}} }}
 
{{!}} align="center" {{!}} {{Itemtalentquery|{{{itemname2}}}}} }}
 
{{!-}}  
 
{{!-}}  
 +
{{#if:{{{itemname3|}}}|
 +
{{!}} [[Items/{{{itemname3}}}|{{{itemname3}}}]]
 +
{{!}} {{Itemimagequery|{{{itemname3}}}}}
 +
{{!}} {{#ifexpr: ({{{card_size}}}=3 or {{{card_size}}}=6) |{{Itemcardquery|{{{card_size}}}|{{{itemname3}}}}}| }}
 +
{{!}} align="center" {{!}} {{Itemtalentquery|{{{itemname3}}}}} }}
 +
{{!-}}
 +
{{#if:{{{itemname4|}}}|
 +
{{!}} [[Items/{{{itemname4}}}|{{{itemname4}}}]]
 +
{{!}} {{Itemimagequery|{{{itemname4}}}}}
 +
{{!}} {{#ifexpr: ({{{card_size}}}=3 or {{{card_size}}}=6) |{{Itemcardquery|{{{card_size}}}|{{{itemname4}}}}}| }}
 +
{{!}} align="center" {{!}} {{Itemtalentquery|{{{itemname4}}}}} }}
 +
{{!-}}
 +
{{#if:{{{itemname5|}}}|
 +
{{!}} [[Items/{{{itemname5}}}|{{{itemname5}}}]]
 +
{{!}} {{Itemimagequery|{{{itemname5}}}}}
 +
{{!}} {{#ifexpr: ({{{card_size}}}=3 or {{{card_size}}}=6) |{{Itemcardquery|{{{card_size}}}|{{{itemname5}}}}}| }}
 +
{{!}} align="center" {{!}} {{Itemtalentquery|{{{itemname5}}}}} }}
 +
{{!-}}
 +
{{#if:{{{itemname6|}}}|
 +
{{!}} [[Items/{{{itemname6}}}|{{{itemname6}}}]]
 +
{{!}} {{Itemimagequery|{{{itemname6}}}}}
 +
{{!}} {{#ifexpr: ({{{card_size}}}=3 or {{{card_size}}}=6) |{{Itemcardquery|{{{card_size}}}|{{{itemname6}}}}}| }}
 +
{{!}} align="center" {{!}} {{Itemtalentquery|{{{itemname6}}}}} }}
 +
{{!-}}
 +
{{#if:{{{itemname7|}}}|
 +
{{!}} [[Items/{{{itemname7}}}|{{{itemname7}}}]]
 +
{{!}} {{Itemimagequery|{{{itemname7}}}}}
 +
{{!}} {{#ifexpr: ({{{card_size}}}=3 or {{{card_size}}}=6) |{{Itemcardquery|{{{card_size}}}|{{{itemname7}}}}}| }}
 +
{{!}} align="center" {{!}} {{Itemtalentquery|{{{itemname7}}}}} }}
 +
{{!-}}
 +
{{#if:{{{itemname8|}}}|
 +
{{!}} [[Items/{{{itemname8}}}|{{{itemname8}}}]]
 +
{{!}} {{Itemimagequery|{{{itemname8}}}}}
 +
{{!}} {{#ifexpr: ({{{card_size}}}=3 or {{{card_size}}}=6) |{{Itemcardquery|{{{card_size}}}|{{{itemname8}}}}}| }}
 +
{{!}} align="center" {{!}} {{Itemtalentquery|{{{itemname8}}}}} }}
 +
{{!-}}
 +
{{#if:{{{itemname9|}}}|
 +
{{!}} [[Items/{{{itemname9}}}|{{{itemname9}}}]]
 +
{{!}} {{Itemimagequery|{{{itemname9}}}}}
 +
{{!}} {{#ifexpr: ({{{card_size}}}=3 or {{{card_size}}}=6) |{{Itemcardquery|{{{card_size}}}|{{{itemname9}}}}}| }}
 +
{{!}} align="center" {{!}} {{Itemtalentquery|{{{itemname9}}}}} }}
 +
{{!-}}
 +
{{#if:{{{itemname10|}}}|
 +
{{!}} [[Items/{{{itemname10}}}|{{{itemname10}}}]]
 +
{{!}} {{Itemimagequery|{{{itemname10}}}}}
 +
{{!}} {{#ifexpr: ({{{card_size}}}=3 or {{{card_size}}}=6) |{{Itemcardquery|{{{card_size}}}|{{{itemname10}}}}}| }}
 +
{{!}} align="center" {{!}} {{Itemtalentquery|{{{itemname10}}}}} }}
 +
{{!-}}
 +
{{#if:{{{itemname11|}}}|
 +
{{!}} [[Items/{{{itemname11}}}|{{{itemname11}}}]]
 +
{{!}} {{Itemimagequery|{{{itemname11}}}}}
 +
{{!}} {{#ifexpr: ({{{card_size}}}=3 or {{{card_size}}}=6) |{{Itemcardquery|{{{card_size}}}|{{{itemname11}}}}}| }}
 +
{{!}} align="center" {{!}} {{Itemtalentquery|{{{itemname11}}}}} }}
 +
{{!-}}
 +
{{#if:{{{itemname12|}}}|
 +
{{!}} [[Items/{{{itemname12}}}|{{{itemname12}}}]]
 +
{{!}} {{Itemimagequery|{{{itemname12}}}}}
 +
{{!}} {{#ifexpr: ({{{card_size}}}=3 or {{{card_size}}}=6) |{{Itemcardquery|{{{card_size}}}|{{{itemname12}}}}}| }}
 +
{{!}} align="center" {{!}} {{Itemtalentquery|{{{itemname12}}}}} }}
 +
{{!-}}
 +
{{#if:{{{itemname13|}}}|
 +
{{!}} [[Items/{{{itemname13}}}|{{{itemname13}}}]]
 +
{{!}} {{Itemimagequery|{{{itemname13}}}}}
 +
{{!}} {{#ifexpr: ({{{card_size}}}=3 or {{{card_size}}}=6) |{{Itemcardquery|{{{card_size}}}|{{{itemname13}}}}}| }}
 +
{{!}} align="center" {{!}} {{Itemtalentquery|{{{itemname13}}}}} }}
 +
{{!-}}
 +
{{#if:{{{itemname14|}}}|
 +
{{!}} [[Items/{{{itemname14}}}|{{{itemname14}}}]]
 +
{{!}} {{Itemimagequery|{{{itemname14}}}}}
 +
{{!}} {{#ifexpr: ({{{card_size}}}=3 or {{{card_size}}}=6) |{{Itemcardquery|{{{card_size}}}|{{{itemname14}}}}}| }}
 +
{{!}} align="center" {{!}} {{Itemtalentquery|{{{itemname14}}}}} }}
 +
{{!-}}
 +
{{#if:{{{itemname15|}}}|
 +
{{!}} [[Items/{{{itemname15}}}|{{{itemname15}}}]]
 +
{{!}} {{Itemimagequery|{{{itemname15}}}}}
 +
{{!}} {{#ifexpr: ({{{card_size}}}=3 or {{{card_size}}}=6) |{{Itemcardquery|{{{card_size}}}|{{{itemname15}}}}}| }}
 +
{{!}} align="center" {{!}} {{Itemtalentquery|{{{itemname15}}}}} }}
 +
{{!-}}
 +
{{#if:{{{itemname16|}}}|
 +
{{!}} [[Items/{{{itemname16}}}|{{{itemname16}}}]]
 +
{{!}} {{Itemimagequery|{{{itemname16}}}}}
 +
{{!}} {{#ifexpr: ({{{card_size}}}=3 or {{{card_size}}}=6) |{{Itemcardquery|{{{card_size}}}|{{{itemname16}}}}}| }}
 +
{{!}} align="center" {{!}} {{Itemtalentquery|{{{itemname16}}}}} }}
 +
{{!-}}
 +
{{#if:{{{itemname17|}}}|
 +
{{!}} [[Items/{{{itemname17}}}|{{{itemname17}}}]]
 +
{{!}} {{Itemimagequery|{{{itemname17}}}}}
 +
{{!}} {{#ifexpr: ({{{card_size}}}=3 or {{{card_size}}}=6) |{{Itemcardquery|{{{card_size}}}|{{{itemname17}}}}}| }}
 +
{{!}} align="center" {{!}} {{Itemtalentquery|{{{itemname17}}}}} }}
 +
{{!-}}
 +
{{#if:{{{itemname18|}}}|
 +
{{!}} [[Items/{{{itemname18}}}|{{{itemname18}}}]]
 +
{{!}} {{Itemimagequery|{{{itemname18}}}}}
 +
{{!}} {{#ifexpr: ({{{card_size}}}=3 or {{{card_size}}}=6) |{{Itemcardquery|{{{card_size}}}|{{{itemname18}}}}}| }}
 +
{{!}} align="center" {{!}} {{Itemtalentquery|{{{itemname18}}}}} }}
 +
{{!-}}
 +
{{#if:{{{itemname19|}}}|
 +
{{!}} [[Items/{{{itemname19}}}|{{{itemname19}}}]]
 +
{{!}} {{Itemimagequery|{{{itemname19}}}}}
 +
{{!}} {{#ifexpr: ({{{card_size}}}=3 or {{{card_size}}}=6) |{{Itemcardquery|{{{card_size}}}|{{{itemname19}}}}}| }}
 +
{{!}} align="center" {{!}} {{Itemtalentquery|{{{itemname19}}}}} }}
 +
{{!-}}
 +
{{#if:{{{itemname20|}}}|
 +
{{!}} [[Items/{{{itemname20}}}|{{{itemname20}}}]]
 +
{{!}} {{Itemimagequery|{{{itemname20}}}}}
 +
{{!}} {{#ifexpr: ({{{card_size}}}=3 or {{{card_size}}}=6) |{{Itemcardquery|{{{card_size}}}|{{{itemname20}}}}}| }}
 +
{{!}} align="center" {{!}} {{Itemtalentquery|{{{itemname20}}}}} }}
 
|}</includeonly><noinclude>
 
|}</includeonly><noinclude>
  

Revision as of 22:45, 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