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

From SpiralKnights

Jump to: navigation, search
m
m (editing to reflect actual dode)
Line 1: Line 1:
 
<noinclude>{{documentation subpage}}</noinclude>
 
<noinclude>{{documentation subpage}}</noinclude>
This template creates a table of recipes and prices.
+
==Usage==
 +
This template creates a table of recipes, stars and prices.
  
== Usage ==
+
==Code==
 
<pre>
 
<pre>
 
{{Recipe list/start}}
 
{{Recipe list/start}}
{{Recipe list/row | Blast Bomb | amount=1000}}
+
</pre>
{{Recipe list/row | Wolver Coat | amount=1000}}
+
 
 +
==Notes==
 +
This template is the header of the table and should be used with [[Template:Recipe list/row]] and [[Template:Recipe list/end]]
 +
 
 +
==Example==
 +
After using the three templates together, this:
 +
<pre>
 +
{{Recipe list/start}}
 +
{{Recipe list/row|Blast Bomb|bomb|star=2}}
 +
{{Recipe list/row|Wolver Coat|armor|star=3}}
 
{{Recipe list/end}}
 
{{Recipe list/end}}
 
</pre>
 
</pre>
  
Will look like:
+
Will look like this:
  
 
{{Recipe list/start}}
 
{{Recipe list/start}}
 
{{Recipe list/row|Blast Bomb|bomb|star=2}}
 
{{Recipe list/row|Blast Bomb|bomb|star=2}}
{{Recipe list/row|Wolver Coat|armor|star=2}}
+
{{Recipe list/row|Wolver Coat|armor|star=3}}
 
{{Recipe list/end}}
 
{{Recipe list/end}}

Revision as of 08:13, 25 September 2015

Usage

This template creates a table of recipes, stars and prices.

Code

{{Recipe list/start}}

Notes

This template is the header of the table and should be used with Template:Recipe list/row 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