Difference between revisions of "Template:MagicItem"

From Epic Paths
Jump to navigation Jump to search
 
Line 14: Line 14:
-->{{#!:{| class="wikitable"
-->{{#!:{| class="wikitable"
|-
|-
! {{#if: {{{Slot|}}}| Slot !!|}} {{#ifeq: {{{IsAbility|}}}|Yes| Is Ability !!|}} Cost !! Weight !! {{#if: {{{Aura|}}}| Aura !!|}} CL !! Rarity
! {{#if: {{{Slot|}}}| Slot !!|}} {{#ifeq: {{{IsAbility|}}}|Yes| Is Ability !!|}} Cost !! Weight !! {{#ifeq: {{{Aura|}}}|none|| Aura !!}} {{#ifeq: {{{CL|}}}|0|| CL!!}} Rarity
|-
|-
| {{#if: {{{Slot|}}}| {{{Slot}}} {{#!:||}}|}} {{#ifeq: {{{IsAbility|}}}|Yes| yes {{#!:||}}|}} {{#number_format:{{{Cost}}}|_}} gp || {{#ifeq:{{{Weight|}}}|0|—|{{#number_format:{{{Weight}}}|_}} lb.|}} || {{#if: {{{Aura|}}}| {{{Aura}}} {{#!:||}}|}} {{{CL|—}}} || {{{Rarity|—}}}
| {{#if: {{{Slot|}}}| {{{Slot}}} {{#!:||}}|}} {{#ifeq: {{{IsAbility|}}}|Yes| yes {{#!:||}}|}} {{#number_format:{{{Cost}}}|_}} gp || {{#ifeq:{{{Weight|}}}|0|—|{{#number_format:{{{Weight}}}|_}} lb.|}} || {{#ifeq: {{{Aura|}}}|none|| {{{Aura}}} {{#!:||}}}} {{#ifeq: {{{CL|}}}|0|| {{{CL}}} {{#!:||}}}}{{{Rarity|—}}}
|}}}
|}}}



Latest revision as of 14:03, 29 January 2022

This is the "MagicItem" template.

It should be called in the following format:

{{MagicItem
|Name=
|Type=
|Slot=
|IsAbility=
|Aura=
|CL=
|Cost=
|Weight=
|Rarity=
|Fluff=
|Description=
|Construction=
|ConstructionCost=
|OGL=
}}

Edit the page to see the template text.

This template defines the table "MagicItems". View table.