Difference between revisions of "Template:Recipe list/row"
From SpiralKnights
m (ups) |
|||
(20 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | {{!}}- | + | <includeonly>{{!}}- |
{{#if: {{{1|}}} | | {{#if: {{{1|}}} | | ||
− | {{!}}bgcolor="#f5f5ff" {{!}} {{ | + | {{!}} bgcolor="#f5f5ff" {{!}} [[File:Recipe-icon {{{2|(Armor, helmet, etc. See documentation for this template)}}}.png|{{{3|36px}}}|link=Recipe]] [[{{{1|ITEM NAME}}}]] Recipe |
− | {{ | + | |
}} | }} | ||
− | {{!}} | + | {{!}} bgcolor="#f5f5ff" align="right" {{!}} {{{3|}}}{{star|{{{3}}}}}{{#switch:{{{star|0}}} |
+ | |0 = {{star|0}} | ||
+ | |1 = {{star|1}} | ||
+ | |2 = {{star|2}} | ||
+ | |3 = {{star|3}} | ||
+ | |4 = {{star|4}} | ||
+ | |5 = {{star|5}} | ||
+ | }} | ||
+ | {{!}} bgcolor="#f5f5ff" align="right" {{!}} {{{3|}}}{{star|{{{3}}}}}{{#switch:{{{star|0}}} | ||
+ | |0 = | ||
+ | |1 = 250 | ||
+ | |2 = 1,000 | ||
+ | |3 = 4,000 | ||
+ | |4 = 10,000 | ||
+ | |5 = 25,000 | ||
+ | }} | ||
+ | </includeonly><noinclude>{{documentation}}[[Category:List Templates]]</noinclude> |
Latest revision as of 08:19, 25 September 2015
[edit] [ ] Template documentation
Contents
Usage
This template represents a row of Template:Recipe list/start.
Code
{{Recipe list/row|ITEMNAME|TYPE|star=1234o5}}
Parameters
Required
|1
- The item's name (not item name recipe, just item name. Use capitals etc - the item's true name)
|2
- The item's type. Types include:
- armor
- helmet
- shield
- bomb
- handgun
- sword
Please use lowercase.
|3
- The star's type. Values include 0,1,2,3,4, or 5. Shows the star in symbols, uses Template:Star.
Notes
This template is the content of the table and should be used between Template:Recipe list/start and Template:Recipe list/end.
Example
After using the three templates together, this:
{{Recipe list/start}} {{Recipe list/row|Blast Bomb|bomb|star=2}} {{Recipe list/row|Wolver Coat|armor|star=3}} {{Recipe list/end}}
Will look like this:
Recipe | Star | Crowns |
---|---|---|
Blast Bomb Recipe | ★★☆☆☆ | 1,000 |
Wolver Coat Recipe | ★★★☆☆ | 4,000 |
The above documentation is transcluded from Template:Recipe list/row/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. |