Difference between revisions of "Template:StarPricing"

From SpiralKnights

Jump to: navigation, search
m (shrink star a bit)
m (any vs all vs some vs each vs does it really matter!??! yes!!!!)
Line 1: Line 1:
<includeonly>All <span style="font-size:90%;">{{star|{{{2|5}}}}}</span> {{#switch:{{{1|}}}|recipe=[[File:Icon-recipe.png|16px|link=recipe]] recipe|equipment=equipment}} purchases from NPCs cost {{#switch:{{{1|}}}
+
<includeonly>All <span style="font-size:90%;">{{star|{{{2|5}}}}}</span> {{#switch:{{{1|}}}|recipe=[[File:Icon-recipe.png|16px|link=recipe]] recipe|equipment=equipment}} purchases from any NPC cost {{#switch:{{{1|}}}
 
|recipe = {{#switch:{{{2|}}}
 
|recipe = {{#switch:{{{2|}}}
 
|0=N/A, there are no 0* recipes
 
|0=N/A, there are no 0* recipes

Revision as of 17:06, 28 December 2015

[edit] [purge] Template documentation

Usage

A "blanket statement" about recipe and item prices at any vendor regarding equipment or recipes for equipment. It should be used with the Acquisition template system (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

{{StarPricing|1|2}}

Parameters

  • 1
must be "recipe" or "equipment"
  • 2
star level of item (0,1,2,3,4, or 5)

Notes

Template switches rely on status quo for many defaults, but can be adjusted as needed to refer to whatever new system is in place instead of uniform star pricing if the game changes significantly in the future. This would likely require many input changes in the Acquisition template system, which should be easily handled by a text replace function.

Personal tools