Difference between revisions of "Template:BazaarVendor"
From SpiralKnights
m (add location for convenience) |
m (actually, it might be easier to include the icon in vendor templates instead of the Item/Acquisition system) |
||
Line 1: | Line 1: | ||
− | <includeonly>[[{{{1}}}]] - {{#switch:{{{2|}}}|always=Always|randomly=Randomly}} in stock for {{#switch:{{{1|}}}|#default={{#switch:{{{3|}}} | + | <includeonly>{{#switch:{{{1}}}|#default={{Arsenal/Icon}}|Vatel={{Recipe/Icon}}}}: [[{{{1}}}]] - {{#switch:{{{2|}}}|always=Always|randomly=Randomly}} in stock for {{#switch:{{{1|}}}|#default={{#switch:{{{3|}}} |
|0=150 | |0=150 | ||
|1=3,000 | |1=3,000 |
Latest revision as of 22:45, 28 December 2015
[edit] [ ] Template documentation
Contents
Usage
This template should only be used in junction with the Acquisition template system for equipment and recipes for equipment (such as Template:Sword/Acquisition). It is not currently concerned with other ware types such as usables or rarities, because the format of these items do not currently have a complex acquisition section.
Code
{{BazaarVendor|1|2|3}}
Parameters
- 1
- 2
- randomly or always
- 3
- star level
Notes
Template switches rely on status quo for many defaults, but can be adjusted as needed to refer to item type instead of incorporating vendors (as it currently does with Vatel) if the game changes significantly in the future.
The above documentation is transcluded from Template:BazaarVendor/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. |