Difference between revisions of "Template:Basil"
From SpiralKnights
m (force spacing) |
m (restore pricing information for convenience, because the information display in acquisition pages has been visually simplified (no longer using blanket statement) |
||
Line 1: | Line 1: | ||
− | <includeonly>[[Basil]] - Randomly in stock in depth{{#switch:{{{1}}} | + | <includeonly>[[Basil]] - Randomly in stock for {{#switch:{{{1}}} |
+ | |0=N/A, there are no 0* recipes | ||
+ | |1=250 | ||
+ | |2=1,000 | ||
+ | |3=4,000 | ||
+ | |4=10,000 | ||
+ | |5=25,000 | ||
+ | }} crowns in depth{{#switch:{{{1}}} | ||
|1 = | |1 = | ||
|2 = | |2 = |
Revision as of 21:35, 28 December 2015
[edit] [ ] Template documentation
Usage
To easily and consistently place information about basil's recipe inventory on pages based on depth. The template also adds items to a relevant category.
Code
{{Basil|1|only=}}
Parameters
Required
- 1
- A number 1, 2, 3, 4, or 5 that matches the star level of the item. (0 does not apply)
- only
- yes = registers for Category:Recipes only available from Basil
- no = does not register for category
Optional
- mission
- The name of a mission
- Use only if Basil sells the recipe in a mission lobby
- mission 1
- mission 2
- mission 3...
- The name of a mission
- Use only if the above mission parameter and preceding mission # is used = Basil sells the recipe in more than 1,2,3...mission lobbies. Enter the missions in rank order, starting with the earliest mission.
Notes
The code has a lot of switches to take care of grammatical stuffs.
The code forces the category to sort by star level, then alphabetically within star level.
"Only" parameter only pertains to the category registration, and has nothing to do with "only depth" etc.
See Also
The above documentation is transcluded from Template:Basil/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. |