Difference between revisions of "Template:Recipe list/row/doc"

From SpiralKnights

Jump to: navigation, search
m (Fix link)
m (editing to reflect changes)
 
Line 1: Line 1:
 
<noinclude>{{documentation subpage}}</noinclude>
 
<noinclude>{{documentation subpage}}</noinclude>
 +
==Usage==
 
This template represents a row of [[Template:Recipe list/start]].
 
This template represents a row of [[Template:Recipe list/start]].
  
== Usage ==
+
==Code==
 
<pre>
 
<pre>
{{Recipe list/row | <recipe name> | amount=<crown cost>}}
+
{{Recipe list/row|ITEMNAME|TYPE|star=1234o5}}
 
</pre>
 
</pre>
===Example===
+
 
 +
==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 | amount=1000}}
+
{{Recipe list/row|Blast Bomb|bomb|star=2}}
{{Recipe list/row | Wolver Coat | amount=1000}}
+
{{Recipe list/row|Wolver Coat|armor|star=3}}
 
{{Recipe list/end}}
 
{{Recipe list/end}}
 
</pre>
 
</pre>
It represents that
+
 
 +
Will look like this:
  
 
{{Recipe list/start}}
 
{{Recipe list/start}}
{{Recipe list/row | Blast Bomb | amount=1000}}
+
{{Recipe list/row|Blast Bomb|bomb|star=2}}
{{Recipe list/row | Wolver Coat | amount=1000}}
+
{{Recipe list/row|Wolver Coat|armor|star=3}}
 
{{Recipe list/end}}
 
{{Recipe list/end}}

Latest revision as of 08:16, 25 September 2015

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
Recipe-icon bomb.png Blast Bomb Recipe ★★☆☆☆ 1,000
Recipe-icon armor.png Wolver Coat Recipe ★★★☆☆ 4,000
Personal tools