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         = Item name
   |Name           = Item name
   |Image         = [[File:Ring.png]]
   |Image         = [[File:Ring.png]]
   |ID           = Item ID
   |ID             = Item ID
   |Description   = Item description
   |Description   = Item description
   |Stats         = Stats boost, like "Vitality +1"
   |Stats increase = formatting example: "Vitality +1", leave empty if none
   |Buyable       = Yes or no
  |Stats decrease = formatting example: "Vitality +1", leave empty if none
   |Buy           = formatting example: "1,000", it will add "GP" automatically
   |Buyable       = Yes or no
   |Sell         = formatting example: "1,000", it will add "GP" automatically
   |Buy           = formatting example: "1,000", it will add "GP" automatically
   |Weight       = formatting example: "1,000", it will add "g" automatically
   |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

50px-Template-info.png Template documentation:

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 }}