From The Mana World
(update doc after changing the template)
m (minor formatting)
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
[[File:50px-Template-info.png]] '''Template documentation:'''
[[File:50px-Template-info.png]] '''Template documentation:'''
   
   
A template used for pages about [[:Category:Ring|Rings]].
A template used for pages about [[Rings]].


It will automatically add [[:Category:Ring]] to pages using it.
It will automatically add [[:Category:Ring]] to pages using it.
Line 11: Line 11:
   
   
<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>{{Ring
   |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 increase = formatting example: "Vitality +1", leave empty if none
  |Level          = required equip level (not level to obtain it!), delete Level line if none
   |Stats decrease = formatting example: "Vitality +1", leave empty if none
   |Stats increase = formatting example: "Vitality +1", delete Stats increase line if none
   |Stats decrease = formatting example: "M.Attack -1", delete Stats decrease line if none
   |Buyable        = Yes or no
   |Buyable        = Yes or no
   |Buy            = formatting example: "1,000", it will add "GP" automatically
   |Buy            = formatting example: "1,000", it will add "GP" automatically
   |Sell          = 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
   |Weight        = formatting example: "1,000", it will add "g" automatically
}}</nowiki>
}}</nowiki>
</dl>
</dl>
<noinclude>[[Category:Template documentation]]</noinclude>
<noinclude>[[Category:Template documentation]]</noinclude>

Latest revision as of 11:23, 22 May 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:

{{Ring |Name = [[Item name]] |Image = [[File:Ring.png]] |ID = Item ID |Description = Item description |Level = required equip level (not level to obtain it!), delete Level line if none |Stats increase = formatting example: "Vitality +1", delete Stats increase line if none |Stats decrease = formatting example: "M.Attack -1", delete Stats decrease line 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 }}