From The Mana World
(updating code usage) |
(update doc after changing the template) |
||
Line 12: | Line 12: | ||
<dl style="display:inline-block; padding-left:.75em; margin-left:0;"> | <dl style="display:inline-block; padding-left:.75em; margin-left:0;"> | ||
<nowiki>{{Item | <nowiki>{{Item | ||
|Name | |Name = Item name | ||
|Image | |Image = [[File:Ring.png]] | ||
|ID | |ID = Item ID | ||
|Description | |Description = Item description | ||
|Stats | |Stats increase = formatting example: "Vitality +1", leave empty if none | ||
|Buyable | |Stats decrease = formatting example: "Vitality +1", leave empty if none | ||
|Buy | |Buyable = Yes or no | ||
|Sell | |Buy = formatting example: "1,000", it will add "GP" automatically | ||
|Weight | |Sell = formatting example: "1,000", it will add "GP" automatically | ||
|Weight = formatting example: "1,000", it will add "g" automatically | |||
}}</nowiki> | }}</nowiki> | ||
</dl> | </dl> | ||
<noinclude>[[Category:Template documentation]]</noinclude> | <noinclude>[[Category:Template documentation]]</noinclude> |
Revision as of 13:43, 12 March 2015
A template used for pages about Rings.
It will automatically add Category:Ring to pages using it.
Usage:
Copy the following code into your page and fill the lines:
-
{{Item
|Name = Item name
|Image = [[File:Ring.png]]
|ID = Item ID
|Description = Item description
|Stats increase = formatting example: "Vitality +1", leave empty if none
|Stats decrease = formatting example: "Vitality +1", leave empty if none
|Buyable = Yes or no
|Buy = formatting example: "1,000", it will add "GP" automatically
|Sell = formatting example: "1,000", it will add "GP" automatically
|Weight = formatting example: "1,000", it will add "g" automatically
}}