Template:SkillTable

From Card Hunter Wiki
(Difference between revisions)
Jump to: navigation, search
Line 4: Line 4:
 
! Item Name !!class="unsortable"| Item Image !!class="unsortable"| Cards !! Power Token
 
! Item Name !!class="unsortable"| Item Image !!class="unsortable"| Cards !! Power Token
 
|-
 
|-
{{#ask: [[Items/{{{itemname1}}}||Items/{{{itemname2}}}||Items/{{{itemname3}}}||Items/{{{itemname4}}}||Items/{{{itemname5}}}||Items/{{{itemname6}}}||Items/{{{itemname7}}}||Items/{{{itemname8}}}||Items/{{{itemname9}}}||Items/{{{itemname10}}}||Items/{{{itemname11}}}||Items/{{{itemname12}}}||Items/{{{itemname13}}}||Items/{{{itemname14}}}||Items/{{{itemname15}}}||Items/{{{itemname16}}}||Items/{{{itemname17}}}||Items/{{{itemname18}}}||Items/{{{itemname19}}}||Items/{{{itemname20}}}]]|?Has Image= | imageproperty=Has Image | ?Has itemcard1 qty= | ?Has itemcard1 name= | ?Has itemcard2 qty= | ?Has itemcard2 name= | ?Has itemcard3 qty= | ?Has itemcard3 name= | ?Has itemcard4 qty= | ?Has itemcard4 name= |?Has itemcard5 qty= | ?Has itemcard5 name= |?Has itemcard6 qty= | ?Has itemcard6 name= | ?Has talent= | link=none| format=template| template=ItemSkillTableQuery}}
+
{{#if:{{{itemname1|}}}|{{ItemSkillTableQuery|{{{itemname1}}} }}
 +
{{#if:{{{itemname2|}}}|{{ItemSkillTableQuery|{{{itemname2}}} }}
 +
{{#if:{{{itemname3|}}}|{{ItemSkillTableQuery|{{{itemname3}}} }}
 +
{{#if:{{{itemname4|}}}|{{ItemSkillTableQuery|{{{itemname4}}} }}
 +
{{#if:{{{itemname5|}}}|{{ItemSkillTableQuery|{{{itemname5}}} }}
 +
{{#if:{{{itemname6|}}}|{{ItemSkillTableQuery|{{{itemname6}}} }}
 +
{{#if:{{{itemname7|}}}|{{ItemSkillTableQuery|{{{itemname7}}} }}
 +
{{#if:{{{itemname8|}}}|{{ItemSkillTableQuery|{{{itemname8}}} }}
 +
{{#if:{{{itemname9|}}}|{{ItemSkillTableQuery|{{{itemname9}}} }}
 +
{{#if:{{{itemname10|}}}|{{ItemSkillTableQuery|{{{itemname10}}} }}
 +
{{#if:{{{itemname11|}}}|{{ItemSkillTableQuery|{{{itemname11}}} }}
 +
{{#if:{{{itemname12|}}}|{{ItemSkillTableQuery|{{{itemname12}}} }}
 +
{{#if:{{{itemname13|}}}|{{ItemSkillTableQuery|{{{itemname13}}} }}
 +
{{#if:{{{itemname14|}}}|{{ItemSkillTableQuery|{{{itemname14}}} }}
 +
{{#if:{{{itemname15|}}}|{{ItemSkillTableQuery|{{{itemname15}}} }}
 +
{{#if:{{{itemname16|}}}|{{ItemSkillTableQuery|{{{itemname16}}} }}
 +
{{#if:{{{itemname17|}}}|{{ItemSkillTableQuery|{{{itemname17}}} }}
 +
{{#if:{{{itemname18|}}}|{{ItemSkillTableQuery|{{{itemname18}}} }}
 +
{{#if:{{{itemname19|}}}|{{ItemSkillTableQuery|{{{itemname19}}} }}
 +
{{#if:{{{itemname20|}}}|{{ItemSkillTableQuery|{{{itemname20}}} }}
 
|}</includeonly><noinclude>
 
|}</includeonly><noinclude>
  

Revision as of 18:55, 3 June 2014


This is the template outline for a skill table. Supports up to 20 item entries per table. Usage is as follows:

{{SkillTable
| tablecolor=<r/g/b, 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