Template:5e24 Magic Item: Difference between revisions

From Rlyehwiki
Jump to navigation Jump to search
No edit summary
mNo edit summary
 
(4 intermediate revisions by the same user not shown)
Line 17: Line 17:
|Canon = Boolean
|Canon = Boolean
|Summary = Wikitext
|Summary = Wikitext
|Armor_Type = String
|Treasure_Type = List (, ) of String
|LightMedHeavy = String
|Magic_Item_Plan = 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
|Artificer = Boolean
|Prerequisites = Wikitext String
|Prerequisites = Wikitext String
|Artificer_Attuned = Boolean
|Artificer_Canon = Boolean
|Artificer_Item = String
|Hoard_Item = Boolean
|Hoard_Item = Boolean
}}
}}
Line 77: 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-->  
Magic Bonus: {{{magicbonus}}}|}}<!--endif magicbonus-->{{#if: {{{treasuretype|}}}|<br />
Treasure Type: {{#arraymap: {{{treasuretype|}}}|, |xTres|{{5e24|xTres Treasure|xTres}}}}|}}<!--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: {{{artificer|}}}|<br /><br />{{5e24 Artificer Magic Item
{{#if: {{{hoarditem|}}}|''Hoard Magic Item''<br /> <br />|}}{{#if: {{{pointer|}}}|'''Unofficial Description:''' |}}{{{desc}}}
|refs={{{artificerrefs|}}}
|prerequisite={{{prerequisites|}}}
|item={{{artificerItem|}}}
|select item={{{artificerSelectItem|}}}
|attunement={{{artificerAttuned|}}}
|artificer canon={{{artificerCanon|}}}}}|}}
{{#if: {{{nodb|}}}|<!--skip-->|<!--
{{#if: {{{nodb|}}}|<!--skip-->|<!--
  --categories--
  --categories--
Line 122: 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 140: Line 109:
|Magic_Bonus = {{{magicbonus|}}}
|Magic_Bonus = {{{magicbonus|}}}
|Canon = {{#if: {{{canon|}}}|1}}
|Canon = {{#if: {{{canon|}}}|1}}
|Artificer = {{#if: {{{artificer|}}}|1|}}
|Treasure_Type = {{#arraymap: {{{treasuretype|}}}|, |xTres|xTres}}
|Magic_Item_Plan = {{{artificerplan|}}}
|Prerequisites = {{{prerequisites|}}}
|Prerequisites = {{{prerequisites|}}}
|Artificer_Attuned = {{#if: {{{artificerAttuned|}}}|1|}}
|Artificer_Canon = {{#if: {{{artificerCanon|}}}|1|}}
|Artificer_Item = {{{artificerItem|}}}
|Hoard_Item = {{#if: {{{hoarditem|}}}|1|}}
|Hoard_Item = {{#if: {{{hoarditem|}}}|1|}}
|Summary = {{{summary|}}}
|Summary = {{{summary|}}}
Line 154: 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 173: 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 178: Line 142:
===Optional Entries===
===Optional Entries===
<pre>
<pre>
|artificer=<!-- blank, true if Artificer Infused -->
|artificerplan= <!-- blank, Artificer level for magi item plan -->
|artificerrefs=<!-- blank or refs for artificer infusion -->
|prerequisites=<!-- blank or prerequisites -->
|artificerAttuned=<!-- blank, true if requires artificer attunement -->
|artificerCanon=<!-- blank, true if Artificer canon item -->
|artificerItem=<!-- blank, nonmagical item Artificer infuses -->
|artificerSelectItem=<!-- blank, if multiple magic items specify which -->
|hoarditem= <!--blank, true if hoard magic item-->
|hoarditem= <!--blank, true if hoard magic item-->
|nodb= <!--blank, true to skip db and categories-->
|nodb= <!--blank, true to skip db and categories-->
Line 202: 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 222: 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>

Latest revision as of 18:27, 29 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