Template:Total cards

From Card Hunter Wiki
(Difference between revisions)
Jump to: navigation, search
 
Line 2: Line 2:
 
{{#expr: {{{1}}}*{{#show: Items/{{{2}}} | ?Has itemcard1 qty }} }} x [[{{#show: Items/{{{2}}} | ?Has itemcard1 name | link=none}}|{{#titleparts: {{#show: Items/{{{2}}} | ?Has itemcard1 name | link=none}} | 1 | 2 }}]] <br />{{#ifexist: {{#show: Items/{{{2}}} | ?Has itemcard2 name | link=none}} | {{#expr: {{{1}}}*{{#show: Items/{{{2}}} | ?Has itemcard2 qty }} }} x [[{{#show: Items/{{{2}}} | ?Has itemcard2 name | link=none}}|{{#titleparts: {{#show: Items/{{{2}}} | ?Has itemcard2 name | link=none}} | 1 | 2 }}]] <br />| }}{{#ifexist: {{#show: Items/{{{2}}} | ?Has itemcard3 name | link=none}} | {{#expr: {{{1}}}*{{#show: Items/{{{2}}} | ?Has itemcard3 qty }} }} x [[{{#show: Items/{{{2}}} | ?Has itemcard3 name | link=none}}|{{#titleparts: {{#show: Items/{{{2}}} | ?Has itemcard3 name | link=none}} | 1 | 2 }}]] <br />| }}{{#ifexist: {{#show: Items/{{{2}}} | ?Has itemcard4 name | link=none}} | {{#expr: {{{1}}}*{{#show: Items/{{{2}}} | ?Has itemcard4 qty }} }} x [[{{#show: Items/{{{2}}} | ?Has itemcard4 name | link=none}}|{{#titleparts: {{#show: Items/{{{2}}} | ?Has itemcard4 name | link=none}} | 1 | 2 }}]] <br />| }}{{#ifexist: {{#show: Items/{{{2}}} | ?Has itemcard5 name | link=none}} | {{#expr: {{{1}}}*{{#show: Items/{{{2}}} | ?Has itemcard5 qty }} }} x [[{{#show: Items/{{{2}}} | ?Has itemcard5 name | link=none}}|{{#titleparts: {{#show: Items/{{{2}}} | ?Has itemcard5 name | link=none}} | 1 | 2 }}]] <br />| }}{{#ifexist: {{#show: Items/{{{2}}} | ?Has itemcard6 name | link=none}} | {{#expr: {{{1}}}*{{#show: Items/{{{2}}} | ?Has itemcard6 qty }} }} x [[{{#show: Items/{{{2}}} | ?Has itemcard6 name | link=none}}|{{#titleparts: {{#show: Items/{{{2}}} | ?Has itemcard6 name | link=none}} | 1 | 2 }}]] <br />| }}</includeonly><noinclude>
 
{{#expr: {{{1}}}*{{#show: Items/{{{2}}} | ?Has itemcard1 qty }} }} x [[{{#show: Items/{{{2}}} | ?Has itemcard1 name | link=none}}|{{#titleparts: {{#show: Items/{{{2}}} | ?Has itemcard1 name | link=none}} | 1 | 2 }}]] <br />{{#ifexist: {{#show: Items/{{{2}}} | ?Has itemcard2 name | link=none}} | {{#expr: {{{1}}}*{{#show: Items/{{{2}}} | ?Has itemcard2 qty }} }} x [[{{#show: Items/{{{2}}} | ?Has itemcard2 name | link=none}}|{{#titleparts: {{#show: Items/{{{2}}} | ?Has itemcard2 name | link=none}} | 1 | 2 }}]] <br />| }}{{#ifexist: {{#show: Items/{{{2}}} | ?Has itemcard3 name | link=none}} | {{#expr: {{{1}}}*{{#show: Items/{{{2}}} | ?Has itemcard3 qty }} }} x [[{{#show: Items/{{{2}}} | ?Has itemcard3 name | link=none}}|{{#titleparts: {{#show: Items/{{{2}}} | ?Has itemcard3 name | link=none}} | 1 | 2 }}]] <br />| }}{{#ifexist: {{#show: Items/{{{2}}} | ?Has itemcard4 name | link=none}} | {{#expr: {{{1}}}*{{#show: Items/{{{2}}} | ?Has itemcard4 qty }} }} x [[{{#show: Items/{{{2}}} | ?Has itemcard4 name | link=none}}|{{#titleparts: {{#show: Items/{{{2}}} | ?Has itemcard4 name | link=none}} | 1 | 2 }}]] <br />| }}{{#ifexist: {{#show: Items/{{{2}}} | ?Has itemcard5 name | link=none}} | {{#expr: {{{1}}}*{{#show: Items/{{{2}}} | ?Has itemcard5 qty }} }} x [[{{#show: Items/{{{2}}} | ?Has itemcard5 name | link=none}}|{{#titleparts: {{#show: Items/{{{2}}} | ?Has itemcard5 name | link=none}} | 1 | 2 }}]] <br />| }}{{#ifexist: {{#show: Items/{{{2}}} | ?Has itemcard6 name | link=none}} | {{#expr: {{{1}}}*{{#show: Items/{{{2}}} | ?Has itemcard6 qty }} }} x [[{{#show: Items/{{{2}}} | ?Has itemcard6 name | link=none}}|{{#titleparts: {{#show: Items/{{{2}}} | ?Has itemcard6 name | link=none}} | 1 | 2 }}]] <br />| }}</includeonly><noinclude>
  
This is the template outline for returning the total number of cards in an item given item qty and item name. Used in Conjunction with the MaxCards template.
+
This is the template outline for returning the total number of cards in an item given item qty and item name. Used in Conjunction with the MaxCards (extreme builds) and Skill table templates.
  
 
</noinclude>
 
</noinclude>

Latest revision as of 19:12, 3 June 2014


This is the template outline for returning the total number of cards in an item given item qty and item name. Used in Conjunction with the MaxCards (extreme builds) and Skill table templates.


      
Personal tools
Namespaces

Variants
Views
Actions
Navigation
Tools