Modèle:Recipe list/doc

De SpiralKnights

Version du 20 mai 2011 à 23:27 par Equinox (discuter | contributions)

(diff) ← Version précédente | Voir la version courante (diff) | Version suivante → (diff)

This template is used for displaying a vendor's recipe list in a table. After adding new format, the number of its rows now is not limited if use "Recipe list/row" template for its rows.

Usage

{{Recipe list
| 1 = (First item name)
| 1amount = (First item cost)
| 2 = (Second item name)
| 2amount = (Second item cost)
| 3 = (Third item name)
| 3amount = (Third item cost)
| 4 = (Fourth item name)
| 4amount = (Fourth item cost)
| 5 = (Fifth item name)
| 5amount = (Fifth item cost)
| 6 = (Sixth item name)
| 6amount = (Sixth item cost)

and so on...

}}

New usage with old one

{{Recipe list
| 1 = (First item name)
| 1amount = (First item cost)
| 2 = (Second item name)
| 2amount = (Second item cost)

and so on... (no more than 29)

{{Recipe list/row | (First item name) | amount= (First item cost)}}
{{Recipe list/row | (Second item name) | amount= (Second item cost)}}

and so on...

}}

OR

{{Recipe list
| 1=
| 1amount=bypass
{{Recipe list/row | (First item name) | amount= (First item cost)}}
{{Recipe list/row | (Second item name) | amount= (Second item cost)}}

and so on...
}}

New Shorter Usage

{{Recipe list/start}}
{{Recipe list/row | (First item name) | amount= (First item cost)}}
{{Recipe list/row | (Second item name) | amount= (Second item cost)}}

and so on...

{{Recipe list/end}}

Example

{{Recipe list/start}}
{{Recipe list/row | Blast Bomb | amount=1000}}
{{Recipe list/row | Wolver Coat | amount=1000}}
{{Recipe list/end}}

It displays that

Recipe Crowns
Blast Bomb Recipe 1000
Wolver Coat Recipe 1000
Outils personnels