Template:Shop

From Card Hunter Wiki
(Difference between revisions)
Jump to: navigation, search
(Item Availability at {{{name}}})
Line 4: Line 4:
 
{| class="chtable_b striped" style="width:500px;"
 
{| class="chtable_b striped" style="width:500px;"
 
|-
 
|-
! align="left" |ITEM: || MIN || MAX
+
! align="left" |ITEM RANGE: || MIN || MAX
 
|-
 
|-
 
| '''Level:''' || align="center" | {{{min_level}}} || align="center" | {{{max_level}}}
 
| '''Level:''' || align="center" | {{{min_level}}} || align="center" | {{{max_level}}}
Line 10: Line 10:
 
| '''Rarity:''' || align="center" | {{{min_rarity}}} || align="center" | {{{max_rarity}}}
 
| '''Rarity:''' || align="center" | {{{min_rarity}}} || align="center" | {{{max_rarity}}}
 
|-
 
|-
| '''Number of Items:''' || align="center" | {{{min_itemCount}}} || align="center" | {{{max_itemCount}}}
+
! align="left" |ITEM COUNTS: || MIN || MAX
 +
|-
 +
| {{{min_rarity}}} ''' Items:''' || align="center" | {{{min_LowestRarityItemCount}}} || align="center" | {{{max_LowestRarityItemCount}}}
 +
|-
 +
| {{#if:{{{other_rarity|}}}|: {{{OtherRarityName}}} ''' Items:''' || align="center" | {{{min_OtherRarityItemCount}}} || align="center" | {{{max_OtherRarityItemCount}}} }}
 +
|-
 +
| {{{max_rarity}}} ''' Items:''' || align="center" | {{{min_HighestRarityItemCount}}} || align="center" | {{{max_HighestRarityItemCount}}}
 
|}
 
|}
  
</includeonly><noinclude>
+
</includeonly>
This template is Lusus's at making templates. :)
+
<noinclude>
 +
This is the skeletal outline for a shop page, usage is as follows:
 +
 
 +
<pre>
 +
{{Shop
 +
    | name=<Name of the Shop, mandantory>
 +
    | min_level=<Minimum Level (i.e. '1')  of Items Sold at the Shop, mandantory>
 +
    | max_level=<Maximum Level (i.e. '18'0 of Items Sold at the Shop, mandantory>
 +
    | min_rarity=<Minimum Rarity (i.e. 'Common') of Items Sold at the Shop, mandantory>
 +
    | max_rarity=<Maximum Rarity (i.e. 'Legendary') of Items Sold at the Shop, mandantory>
 +
    | other_rarity=<Item Rarity not included in "min_rarity" and "max_rarity" above (i.e. 'Epic' for Randimar's), optional>
 +
    | min_LowestRarityItemCount = <Minimum Number of Items Available of the LOWEST Item Rarity, mandatory>
 +
    | max_LowestRarityItemCount = <Maximum Number of Items Available of the LOWEST Item Rarity, mandatory>
 +
    | min_HighestRarityItemCount = <Minimum Number of Items Available of the HIGHEST Item Rarity, mandatory>
 +
    | max_HighestRarityItemCount = <Maximum Number of Items Available of the HIGHEST Item Rarity, mandatory>
 +
    | min_OtherRarityItemCount = <Minimum Number of Items Available of the OTHER Item Rarity, optional>
 +
    | max_OtherRarityItemCount = <Maximum Number of Items Available of the OTHER Item Rarity, optional>
 +
}}
 +
</pre>
 +
 
 +
Simply copy/paste the above code and fill in what should be there and '''delete any optional lines you are not using'''. Template automatically puts card in Cards category.
 
</noinclude>
 
</noinclude>

Revision as of 21:28, 9 December 2013


This is the skeletal outline for a shop page, usage is as follows:

{{Shop
     | name=<Name of the Shop, mandantory>
     | min_level=<Minimum Level (i.e. '1')  of Items Sold at the Shop, mandantory>
     | max_level=<Maximum Level (i.e. '18'0 of Items Sold at the Shop, mandantory>
     | min_rarity=<Minimum Rarity (i.e. 'Common') of Items Sold at the Shop, mandantory>
     | max_rarity=<Maximum Rarity (i.e. 'Legendary') of Items Sold at the Shop, mandantory>
     | other_rarity=<Item Rarity not included in "min_rarity" and "max_rarity" above (i.e. 'Epic' for Randimar's), optional>
     | min_LowestRarityItemCount = <Minimum Number of Items Available of the LOWEST Item Rarity, mandatory>
     | max_LowestRarityItemCount = <Maximum Number of Items Available of the LOWEST Item Rarity, mandatory>
     | min_HighestRarityItemCount = <Minimum Number of Items Available of the HIGHEST Item Rarity, mandatory>
     | max_HighestRarityItemCount = <Maximum Number of Items Available of the HIGHEST Item Rarity, mandatory>
     | min_OtherRarityItemCount = <Minimum Number of Items Available of the OTHER Item Rarity, optional>
     | max_OtherRarityItemCount = <Maximum Number of Items Available of the OTHER Item Rarity, optional>
}}

Simply copy/paste the above code and fill in what should be there and delete any optional lines you are not using. Template automatically puts card in Cards category.

      
Personal tools
Namespaces

Variants
Views
Actions
Navigation
Tools