Difference between revisions of "Template:HoHVendor"
From SpiralKnights
m (test) |
m (actually, it might be easier to include the icon in vendor templates instead of the Item/Acquisition system) |
||
(17 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly>{{#switch:{{{ | + | <includeonly>{{Recipe/Icon}}: {{#switch:{{{1|}}} |
− | |#default =[[{{{ | + | |#default =[[{{{1}}}]] - Always in stock for {{#switch:{{{2}}} |
− | |0 = | + | |0 = N/A |
− | |1 = | + | |1 = N/A |
+ | |2 = 1,000 | ||
+ | |3 = 4,000 | ||
+ | |4 = 10,000 | ||
+ | |5 = 25,000 | ||
+ | }} crowns in the [[Hall of Heroes]] if the player is [[Player Rank|rank]] {{#switch:{{{2}}} | ||
+ | |0 = N/A | ||
+ | |1 = N/A | ||
|2 = 4-1 | |2 = 4-1 | ||
|3 = 5-2 | |3 = 5-2 | ||
|4 = 6-2 | |4 = 6-2 | ||
|5 = 8-2 | |5 = 8-2 | ||
− | }} [[ | + | }} |
− | | | + | |Zebulon =[[Zebulon]] - Always in stock for {{#switch:{{{2}}} |
+ | |0 = N/A | ||
+ | |1 = N/A | ||
+ | |2 = 1,000 | ||
+ | |3 = 4,000 | ||
+ | |4 = 10,000 | ||
+ | |5 = 25,000 | ||
+ | }} crowns in the [[Hall of Heroes]] if the player is [[Player Rank|rank]] {{#switch:{{{2}}} | ||
|0 = | |0 = | ||
|1 = | |1 = | ||
Line 15: | Line 29: | ||
|4 = 6-2 | |4 = 6-2 | ||
|5 = 8-2 | |5 = 8-2 | ||
− | }} | + | }} |
− | + | }} or higher (bound).</includeonly><noinclude> | |
{{documentation}} [[Category:Linking Templates|Vendor]]</noinclude> | {{documentation}} [[Category:Linking Templates|Vendor]]</noinclude> |
Latest revision as of 22:43, 28 December 2015
[edit] [ ] Template documentation
Contents
Usage
To consistently place information about Hall of Heroes vendors on pages, emphasizing the bound state of the recipes available.
Code
{{HoHVendor|NAME|STARLEVEL}}
Parameters
Required
- 1
- The name of the vendor
- 2
- The star level of the item
Notes
Forum Discussion about this template.
Zebulon breaks the pattern. This exception is easily taken care of with switches in template.
If we encounter more special exceptions in the future, this template should reduce editor workload.
The above documentation is transcluded from Template:HoHVendor/doc. (edit | history) Editors can experiment in this template's sandbox (create) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |