From The Mana World
m (Undo failed test)
(now It'd show a black "N/A" if no text is given in stats de/increase, but a colored text if text is given)
Line 5: Line 5:
  <tr><th colspan="2"><p style="color:#666">Item ID: {{{ID|N/A}}}</p></tr>
  <tr><th colspan="2"><p style="color:#666">Item ID: {{{ID|N/A}}}</p></tr>
  <tr><th colspan="2">{{{Description|N/A}}}</tr>
  <tr><th colspan="2">{{{Description|N/A}}}</tr>
  <tr><th scope="row">Stats increase</th><td><span style="color:#007700;">{{{Stats increase|}}}</span></td></tr>
  <tr><th scope="row">Stats increase</th><td>{{#if: {{{Stats increase|}}}|<span style="color:#007700;">{{{Stats increase|}}}</span>|N/A}}</td></tr>
  <tr><th scope="row">Stats decrease</th><td><span style="color:#ad1818;">{{{Stats decrease|}}}</span></td></tr>
  <tr><th scope="row">Stats decrease</th><td>{{#if: {{{Stats decrease|}}}|<span style="color:#ad1818;">{{{Stats decrease|}}}</span>|N/A}}</td></tr>
  <tr><th scope="row">Buyable</th><td>{{{Buyable|No}}}</td></tr>
  <tr><th scope="row">Buyable</th><td>{{{Buyable|No}}}</td></tr>
  <tr><th scope="row">Buy Price</th><td>{{{Buy|N/A}}} GP</td></tr>
  <tr><th scope="row">Buy Price</th><td>{{{Buy|N/A}}} GP</td></tr>

Revision as of 22:58, 12 March 2015

N/A
N/A

Item ID: N/A

N/A
Stats increaseN/A
Stats decreaseN/A
BuyableNo
Buy PriceN/A GP
Sell PriceN/A GP
WeightN/A g

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