From The Mana World
m (another formatting test: trying out if we can make stats colors only appear if values are entered and default "-" without color. Can't see if it works at the preview) |
(fixing template) |
||
(5 intermediate revisions by 2 users not shown) | |||
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>|- | <tr><th scope="row">Category</th><td>[[Ring]]</td></tr> | ||
<tr><th scope="row">Stats decrease</th><td>{{{<span style="color:#ad1818;">Stats decrease</span>|- | <tr><th scope="row">Equip Level</th><td>{{{Level|-}}}</td></tr> | ||
<tr><th scope="row">Stats increase</th><td>{{#if: {{{Stats increase|}}}|<span style="color:#007700;">{{{Stats increase|}}}</span>|-}}</td></tr> | |||
<tr><th scope="row">Stats decrease</th><td>{{#if: {{{Stats decrease|}}}|<span style="color:#ad1818;">{{{Stats decrease|}}}</span>|-}}</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> | ||
Line 16: | Line 18: | ||
[[Category:Ring]] | [[Category:Ring]] | ||
<noinclude> | <noinclude> | ||
{{:Template:{{PAGENAME}}/doc}} | {{:Template:{{PAGENAME}}/doc}} <!-- this is to include documentation in this page, without transcluding it in the page where template is used --> | ||
[[Category:Content Template]] | [[Category:Content Template]] <!-- this is to categorize the template. It will not be transcluded in the page where template is used --> | ||
</noinclude> | </noinclude> |
Latest revision as of 19:51, 14 March 2015
N/A | |
---|---|
N/A | |
Item ID: N/A | |
N/A | |
Category | Ring |
Equip Level | - |
Stats increase | - |
Stats decrease | - |
Buyable | No |
Buy Price | N/A GP |
Sell Price | N/A GP |
Weight | N/A g |
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
}}