Difference between revisions of "Template:Recipe list/row/doc"
From SpiralKnights
("documentation subpage") |
m (editing to reflect changes) |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
<noinclude>{{documentation subpage}}</noinclude> | <noinclude>{{documentation subpage}}</noinclude> | ||
− | This template represents a row of [[Template:Recipe list]]. | + | ==Usage== |
+ | This template represents a row of [[Template:Recipe list/start]]. | ||
− | == | + | ==Code== |
<pre> | <pre> | ||
− | {{Recipe list/row | | + | {{Recipe list/row|ITEMNAME|TYPE|star=1234o5}} |
</pre> | </pre> | ||
− | === | + | |
+ | ==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: | ||
<pre> | <pre> | ||
{{Recipe list/start}} | {{Recipe list/start}} | ||
− | {{Recipe list/row | Blast Bomb | | + | {{Recipe list/row|Blast Bomb|bomb|star=2}} |
− | {{Recipe list/row | Wolver Coat | | + | {{Recipe list/row|Wolver Coat|armor|star=3}} |
{{Recipe list/end}} | {{Recipe list/end}} | ||
</pre> | </pre> | ||
− | + | ||
+ | Will look like this: | ||
{{Recipe list/start}} | {{Recipe list/start}} | ||
− | {{Recipe list/row | Blast Bomb | | + | {{Recipe list/row|Blast Bomb|bomb|star=2}} |
− | {{Recipe list/row | Wolver Coat | | + | {{Recipe list/row|Wolver Coat|armor|star=3}} |
{{Recipe list/end}} | {{Recipe list/end}} |
Latest revision as of 08:16, 25 September 2015
This is a documentation subpage for Template:Recipe list/row (see that page for the template itself). It contains usage information, categories and other content that is not part of the original template page. |
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 |