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

From SpiralKnights

Jump to: navigation, search
m
m (ups)
 
(5 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
Line 19: Line 18:
 
|4 = 10,000
 
|4 = 10,000
 
|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] [purge] Template documentation

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