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

From SpiralKnights

Jump to: navigation, search
m (Create)
 
m (fix a silly thing)
 
(2 intermediate revisions by the same user not shown)
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 before [[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 | 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:15, 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 before 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