Difference between revisions of "Template:Recipe list/row"
From SpiralKnights
m |
m (ups) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{!}}- | <includeonly>{{!}}- | ||
− | |||
{{#if: {{{1|}}} | | {{#if: {{{1|}}} | | ||
{{!}} 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" {{!}} [[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|}}}{{{{{3}}}}}{{#switch:{{{0}}} | + | {{!}} bgcolor="#f5f5ff" align="right" {{!}} {{{3|}}}{{star|{{{3}}}}}{{#switch:{{{star|0}}} |
|0 = {{star|0}} | |0 = {{star|0}} | ||
|1 = {{star|1}} | |1 = {{star|1}} | ||
Line 12: | Line 11: | ||
|5 = {{star|5}} | |5 = {{star|5}} | ||
}} | }} | ||
− | {{!}} bgcolor="#f5f5ff" align="right" {{!}} {{{3|}}}{{{{{3}}}}}{{#switch:{{{0}}} | + | {{!}} bgcolor="#f5f5ff" align="right" {{!}} {{{3|}}}{{star|{{{3}}}}}{{#switch:{{{star|0}}} |
|0 = | |0 = | ||
|1 = 250 | |1 = 250 | ||
Line 20: | Line 19: | ||
|5 = 25,000 | |5 = 25,000 | ||
}} | }} | ||
− | </includeonly><noinclude>{{documentation}}[[Category:Templates]]</noinclude> | + | </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. |