Template:Itemvar: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly>* {{#switch:{{{t}}}|m= |
<includeonly>* {{#switch:{{{t}}}|m={{#if:{{{a}}}|[[uses material::{{{a}}}| ]]|[[uses material::{{{1}}}| ]]}}{{{1}}}|s={{#if:{{{a}}}|[[uses symbol::{{{a}}}| ]]|[[uses symbol::{{{1}}}| ]]}}{{{1}}}|c={{#if:{{{a}}}|[[uses color::{{{a}}}| ]]|[[uses color::{{{1}}}| ]]}}{{{1}}}|{{{1}}}}} {{#if:{{{2|}}}| ({{{2}}})|}}{{#if:{{{3|}}}| at [[{{{3}}}]] only.}}</includeonly><noinclude>This is a plug in for items so that general items, such as a ring, can have variant metals and gems listed. |
||
This is a plug in for items so that general items, such as a ring, can have variant metals and gems listed. |
|||
==Usage Documentation== |
==Usage Documentation== |
Revision as of 02:35, 21 May 2013
This is a plug in for items so that general items, such as a ring, can have variant metals and gems listed.
Usage Documentation
{{itemvar | t= | <variant appearance> | <change in cost> (optional) | <limits to availability> (optional)
The "t" variable is used to set the material (m), color (c), and symbol (s) tags.