Template:5e24 Magic Item: Difference between revisions

From Rlyehwiki
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 17: Line 17:
|Canon = Boolean
|Canon = Boolean
|Summary = Wikitext
|Summary = Wikitext
|Armor_Type = String
|Treasure_Type = List (, ) of String
|LightMedHeavy = String
|AC = String
|Strength = String
|Stealth = String
|Weight = String
|SimpleMartial = String
|MeleeRanged = String
|Damage = String
|Damage_Type = String
|Addl_Damge = String
|Properties= List (, ) of String
|Ammo = Boolean
|Finesse = Boolean
|Heavy = Boolean
|Light = Boolean
|Loading = Boolean
|Weapon_Range = String
|Reach = Boolean
|Special = Boolean
|Thrown = Boolean
|Two_Handed = Boolean
|Versatile = String
|Other_Prop = String
|Properties = list (, ) of String
|Magic_Item_Plan = String
|Magic_Item_Plan = String
|Prerequisites = Wikitext String
|Prerequisites = Wikitext String
Line 74: Line 50:
Uses: {{{charges}}}|}}<!--endif charges-->|<!--not consumable-->{{#if: {{{charges|}}}|<br />
Uses: {{{charges}}}|}}<!--endif charges-->|<!--not consumable-->{{#if: {{{charges|}}}|<br />
Charges: {{{charges}}}|}}<!--endif charges-->|}}<!--end if consumable-->{{#if: {{{magicbonus|}}}|<br />
Charges: {{{charges}}}|}}<!--endif charges-->|}}<!--end if consumable-->{{#if: {{{magicbonus|}}}|<br />
Magic Bonus: {{{magicbonus}}}|}}<!--endif magicbonus-->{{#if: {{{artificerplan|}}}|<br />
Magic Bonus: {{{magicbonus}}}|}}<!--endif magicbonus-->{{#if: {{{treasuretype|}}}|<br />
Magic Item Plan (Artificer Level): {{{artificerplan}}}+|}}<!--endif artificerplan-->  
Treasure Type: {{{treasuretype}}}|}}<!--endif treasuretype--> {{#if: {{{artificerplan|}}}|<br />
Magic Item Plan (Artificer Level): {{{artificerplan}}}|}}<!--endif artificerplan-->  


{{#if: {{{hoarditem|}}}|''Hoard Magic Item''<br /> <br />|}}{{#if: {{{pointer|}}}|'''Unofficial Description:''' |}}{{{desc}}}
{{#if: {{{hoarditem|}}}|''Hoard Magic Item''<br /> <br />|}}{{#if: {{{pointer|}}}|'''Unofficial Description:''' |}}{{{desc}}}
Line 114: Line 91:
   |#default = [[Category:5e24 {{lc:{{{rarity}}}}} Magic Items]]
   |#default = [[Category:5e24 {{lc:{{{rarity}}}}} Magic Items]]
   }}
   }}
{{#if: {{{consumable|}}}|[[Category:5e24 Consumable Magic Item]]|}}{{#if: {{{hoarditem|}}}|[[Category:5e24 Hoard Magic Items]]|}}{{#if: {{{canon|}}}|[[Category:5e24 Canon Magic Items]]|}}
{{#if: {{{consumable|}}}|[[Category:5e24 Consumable Magic Item]]|}}{{#if: {{{hoarditem|}}}|[[Category:5e24 Hoard Magic Items]]|}}{{#if: {{{canon|}}}|[[Category:5e24 Canon Magic Items]]|}}{{#if: {{{treasuretype|}}}|{{#arraymap: {{{treasuretype|}}}|, |xTres|[[Category:5e24 xTres]]|\s}}|}}<!--endif treasuretype-->
<!--
<!--
  --db--
  --db--
Line 132: Line 109:
|Magic_Bonus = {{{magicbonus|}}}
|Magic_Bonus = {{{magicbonus|}}}
|Canon = {{#if: {{{canon|}}}|1}}
|Canon = {{#if: {{{canon|}}}|1}}
|Treasure_Type = {{#arraymap: {{{treasuretype|}}}|, |xTres|xTres}}
|Magic_Item_Plan = {{{artificerplan|}}}
|Magic_Item_Plan = {{{artificerplan|}}}
|Prerequisites = {{{prerequisites|}}}
|Prerequisites = {{{prerequisites|}}}
Line 143: Line 121:
==Use==  
==Use==  
Use in articles that describe a {{5e24lc|Magic Item}}s in 5th (2024) edition.  
Use in articles that describe a {{5e24lc|Magic Item}}s in 5th (2024) edition.  
'''Note!!!''' If you want to make a magic armor or weapon, you should use a different template:
* [[Template:5e24 Magic Armor]]
* [[Template:5e24 Magic Weapon]]


==Syntax==
==Syntax==
Line 162: Line 136:
|charges= <!-- # of charges or uses, otherwise blank -->
|charges= <!-- # of charges or uses, otherwise blank -->
|magicbonus= <!-- blank; or +1, +2, +3 -->
|magicbonus= <!-- blank; or +1, +2, +3 -->
|treasuretype= <!-- Arcana, Armaments, Implements, Relics -->
|desc= <!--Description of the magic item, rules, and abilities -->
|desc= <!--Description of the magic item, rules, and abilities -->
}}</pre>
}}</pre>
Line 185: Line 160:
|consumable= <!--blank or true-->
|consumable= <!--blank or true-->
|charges= <!-- # of charges or uses, otherwise blank -->
|charges= <!-- # of charges or uses, otherwise blank -->
|treasuretype=Arcana, Implements
|magicbonus= <!-- blank; or +1, +2, +3 -->
|magicbonus= <!-- blank; or +1, +2, +3 -->
|desc= blah, blah, blah<!--Description of the magic item, rules, and abilities -->
|desc= blah, blah, blah<!--Description of the magic item, rules, and abilities -->
Line 205: Line 181:
|charges= <!-- # of charges or uses, otherwise blank -->
|charges= <!-- # of charges or uses, otherwise blank -->
|magicbonus= <!-- blank; or +1, +2, +3 -->
|magicbonus= <!-- blank; or +1, +2, +3 -->
|treasuretype=Arcana, Implements
|hoarditem=
|hoarditem=
|desc= blah, blah, blah
|desc= blah, blah, blah
|nodb=true
|nodb=true
}}
}}
[[Category:5e24 Templates]]</noinclude>
[[Category:5e24 Templates]]
[[Category:5e24 Magic Items]]
</noinclude>

Revision as of 09:56, 27 December 2025

This template defines the table "5e24_Magic_Items". View table.

 Template    

Use

Use in articles that describe a magic items in 5th (2024) edition.

Syntax

{{5e24 Magic Item
|name= <!-- name of magic item -->
|sorttext= <!--blank, or category sort-->
|refs= <!--references-->
|type= <!-- Weapon, Armor, Wondrous Item, Staff, Wand -->
|typenote= <!-- Note following type. ex. ammunition -->
|rarity= <!-- Common, Uncommon, Rare, Very Rare, Legendary -->
|raritynote= <!-- Note following rarity, other than requires attunement. -->
|attunement= <!-- Yes if requires attunement, otherwise blank -->
|attunementnote= <!-- blank unless attunement note -->
|consumable= <!--blank or true-->
|charges= <!-- # of charges or uses, otherwise blank -->
|magicbonus= <!-- blank; or +1, +2, +3 -->
|treasuretype= <!-- Arcana, Armaments, Implements, Relics -->
|desc= <!--Description of the magic item, rules, and abilities -->
}}

Optional Entries

|artificerplan= <!-- blank, Artificer level for magi item plan -->
|hoarditem= <!--blank, true if hoard magic item-->
|nodb= <!--blank, true to skip db and categories-->

Example

{{5e24 Magic Item
|name= Foo<!-- name of magic item -->
|sorttext= <!--blank, or category sort-->
|refs=<ref>{{Cite Pub|Foo's Guide to Nothing|pages=3}} Licensed: [[Public Domain]].</ref>
|type= Wondrous Item<!-- Weapon, Armor, Wondrous Item, Staff, Wand -->
|typenote= not so wondrous<!-- Note following type. ex. ammunition -->
|rarity= Common<!-- Common, Uncommon, Rare, Very Rare, Legendary -->
|raritynote= <!-- Note following rarity, other than requires attunement. -->
|attunement=Yes <!-- Yes if requires attunement, otherwise blank -->
|attunementnote= <!-- blank unless attunement note -->
|consumable= <!--blank or true-->
|charges= <!-- # of charges or uses, otherwise blank -->
|treasuretype=Arcana, Implements
|magicbonus= <!-- blank; or +1, +2, +3 -->
|desc= blah, blah, blah<!--Description of the magic item, rules, and abilities -->
}}

produces...


Foo [1] 
Magic Wondrous Item, (not so wondrous), Common (requires attunement)
Treasure Type: Arcana, Implements

blah, blah, blah