Template talk:Magic Item

From Epic Path
Revision as of 22:17, 4 June 2017 by Reese (talk | contribs)
Jump to navigation Jump to search

Usage:

{{Template:Magic_Item

| Name = 

| Slot=<onlyinclude>{{#ifeq:{{{transcludesection|Slot}}}
| Slot|
}}</onlyinclude>

{{#vardefine:CostLevel|
}}

{{#vardefine:CostMultiple|
}}

{{#vardefine:Price|{{#number_format: {{#expr: {{Price-18|transcludesection={{#var:CostLevel}}}} * {{#var:CostMultiple|1}}}}|-2}}
}}
       
| Cost=<onlyinclude>{{#ifeq:{{{transcludesection|Cost}}}
| Cost|{{#var:Price}}
}}</onlyinclude>
  <!-- Do not do anything with this field. Just include it. -->

| CL = 

| Aura=<onlyinclude>{{#ifeq:{{{transcludesection|Aura}}}
| Aura|
}}</onlyinclude>

| Weight=<onlyinclude>{{#ifeq:{{{transcludesection|Weight}}}
| Weight|
}}</onlyinclude>

| Description = 

| Requirements = 

| ShortDesc=<onlyinclude>{{#ifeq:{{{transcludesection|ShortDesc}}}
| ShortDesc|
}}</onlyinclude>

}}