Template:Shop

From Card Hunter Wiki
(Difference between revisions)
Jump to: navigation, search
(First attempt at a template for the shops, feel free to edit)
 
 
(32 intermediate revisions by 2 users not shown)
Line 1: Line 1:
==={{{name}}}===
+
<includeonly>
 +
[[File:{{{shop_map}}}|align="left"|500x200px]]
  
{| class="chtable_b" style="width:500px;"
+
====Item Availability at {{{name}}}====
 +
 
 +
{| class="chtable_b striped" style="width:500px;"
 
|-
 
|-
! colspan="3" | Item Availability at {{{name}}}
+
! align="left" | ITEM RANGE: || width="150px" | MIN || width="150px" | MAX
 
|-
 
|-
! align="left" | ITEM: !! align="center" | MIN !! align="center"| MAX
+
| '''Level:''' || align="center" | {{{min_level}}} || align="center" | {{{max_level}}}
 
|-
 
|-
! align="left" | Level: !! align="center" | {{{min_level}}} !! align="center"| {{{max_level}}}
+
| '''Rarity:''' || align="center" | {{{min_rarity}}} || align="center" | {{{max_rarity}}}
 +
|}
 +
 
 +
{| class="chtable_b striped" style="width:500px;"
 
|-
 
|-
! align="left" | Rarity : !! align="center" | {{{min_rarity}}} !! align="center"| {{{max_rarity}}}
+
! align="left" | ITEM COUNTS: || width="150px" | MIN || width="150px" | MAX
 +
<!--|-
 +
| {{{min_rarity}}} ''' Items:''' || align="center" | {{{min_LowestRarityItemCount}}} || align="center" | {{{max_LowestRarityItemCount}}}
 
|-
 
|-
! align="left" | Number of Items: !! align="center" | {{{min_itemCount}}} !! align="center"| {{{max_itemCount}}}
+
{{#if:{{{other_rarity|}}}|
|}
+
{{!}} {{{other_rarity}}} ''' Items:''' {{!}}{{!}} align="center" {{!}} {{{min_OtherRarityItemCount}}} {{!}}{{!}} align="center" {{!}} {{{max_OtherRarityItemCount}}}
 +
}}
 +
|-
 +
| {{{max_rarity}}} ''' Items:''' || align="center" | {{{min_HighestRarityItemCount}}} || align="center" | {{{max_HighestRarityItemCount}}}-->
 +
|-
 +
| align="left" | '''Total Items:''' || align="center" | {{{min_Total}}} || align="center" | {{{max_Total}}}
 +
|}[[Category:Shops]]</includeonly>
 +
<noinclude>
 +
This is the skeletal outline for a shop page, usage is as follows:
 +
 
 +
<pre>
 +
{{Shop
 +
    | name=<Name of the Shop, mandatory>
 +
    | shop_map = <Jpg of Shop Location on Map, mandatory>
 +
    | min_level=<Minimum Level (i.e. '1')  of Items Sold at the Shop, mandatory>
 +
    | max_level=<Maximum Level (i.e. '18'0 of Items Sold at the Shop, mandatory>
 +
    | min_rarity=<Minimum Rarity (i.e. 'Common') of Items Sold at the Shop, mandatory>
 +
    | max_rarity=<Maximum Rarity (i.e. 'Legendary') of Items Sold at the Shop, mandatory>
 +
    | 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>
 +
    | min_Total = <Lowest Total, mandatory>
 +
    | max_Total = <Highest Total, mandatory>
 +
}}
 +
</pre>
  
</includeonly>
+
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>

Latest revision as of 06:18, 7 July 2014


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

{{Shop
     | name=<Name of the Shop, mandatory>
     | shop_map = <Jpg of Shop Location on Map, mandatory>
     | min_level=<Minimum Level (i.e. '1')  of Items Sold at the Shop, mandatory>
     | max_level=<Maximum Level (i.e. '18'0 of Items Sold at the Shop, mandatory>
     | min_rarity=<Minimum Rarity (i.e. 'Common') of Items Sold at the Shop, mandatory>
     | max_rarity=<Maximum Rarity (i.e. 'Legendary') of Items Sold at the Shop, mandatory>
     | 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>
     | min_Total = <Lowest Total, mandatory>
     | max_Total = <Highest Total, mandatory>
}}

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