Template:5e24 Magic Item: Difference between revisions
Jump to navigation
Jump to search
(Created page with "<noinclude> <!-- Cargo Table --> {{#cargo_declare: _table = 5e24_Magic_Items |Sort_Text = String |Item_Name = String |Item_Type = String |Type_Note = String |Rarity = String |Rarity_Note = String |Attunement = Boolean |Attunement_Note = Wikitext String |Description = wikitext |Charges = String |Magic_Bonus = String |Canon = Boolean |Summary = Wikitext |Armor_Type = String |LightMedHeavy = String |AC = String |Strength = String |Stealth = String |Weight = String |SimpleMa...") |
mNo edit summary |
||
| (6 intermediate revisions by the same user not shown) | |||
| Line 12: | Line 12: | ||
|Attunement_Note = Wikitext String | |Attunement_Note = Wikitext String | ||
|Description = wikitext | |Description = wikitext | ||
|Consumable = Boolean | |||
|Charges = String | |Charges = String | ||
|Magic_Bonus = String | |Magic_Bonus = String | ||
| Line 41: | Line 42: | ||
|Other_Prop = String | |Other_Prop = String | ||
|Properties = list (, ) of String | |Properties = list (, ) of String | ||
| | |Magic_Item_Plan = String | ||
|Prerequisites = Wikitext String | |Prerequisites = Wikitext String | ||
|Hoard_Item = Boolean | |Hoard_Item = Boolean | ||
}} | }} | ||
| Line 72: | Line 70: | ||
|#default = {{{type}}} | |#default = {{{type}}} | ||
}}{{#if: {{{typenote|}}}|, ({{{typenote}}})| }}, <!-- avoid cr | }}{{#if: {{{typenote|}}}|, ({{{typenote}}})| }}, <!-- avoid cr | ||
--> | -->{{{rarity|}}}{{#if: {{{attunement|}}}|{{#if: {{{raritynote|}}}| ({{{raritynote}}}, requires {{5e24lc|Attunement}}{{#if: {{{attunementnote|}}}| {{{attunementnote}}})|)}}| (requires {{5e24lc|Attunement}}{{#if: {{{attunementnote|}}}| {{{attunementnote}}})|)}}| }}|{{#if: {{{raritynote|}}}| ({{{raritynote}}})| }}}}''{{#if: {{{consumable|}}}|<br /> | ||
Consumable: True{{#if: {{{charges|}}}|<br /> | |||
Uses: {{{charges}}}|}}<!--endif charges-->|<!--not consumable-->{{#if: {{{charges|}}}|<br /> | |||
Charges: {{{charges}}}|}}<!--endif charges-->|}}<!--end if consumable-->{{#if: {{{magicbonus|}}}|<br /> | |||
Magic Bonus: {{{magicbonus}}}|}}<!--endif magicbonus-->{{#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}}} | ||
{{#if: {{{nodb|}}}|<!--skip-->|<!-- | {{#if: {{{nodb|}}}|<!--skip-->|<!-- | ||
--categories-- | --categories-- | ||
| Line 125: | Line 114: | ||
|#default = [[Category:5e24 {{lc:{{{rarity}}}}} Magic Items]] | |#default = [[Category:5e24 {{lc:{{{rarity}}}}} Magic Items]] | ||
}} | }} | ||
{{#if: {{{hoarditem|}}}|[[Category:5e24 Hoard Magic Items]]|}} | {{#if: {{{consumable|}}}|[[Category:5e24 Consumable Magic Item]]|}}{{#if: {{{hoarditem|}}}|[[Category:5e24 Hoard Magic Items]]|}}{{#if: {{{canon|}}}|[[Category:5e24 Canon Magic Items]]|}} | ||
{{#if: {{{canon|}}}|[[Category:5e24 Canon Magic Items]]|}} | |||
<!-- | <!-- | ||
--db-- | --db-- | ||
| Line 140: | Line 128: | ||
|Attunement_Note = {{{attunementnote|}}} | |Attunement_Note = {{{attunementnote|}}} | ||
<!--|Description = {{{desc|}}}--> | <!--|Description = {{{desc|}}}--> | ||
|Consumable = {{#if: {{{consumable|}}}|1}} | |||
|Charges = {{{charges|}}} | |Charges = {{{charges|}}} | ||
|Magic_Bonus = {{{magicbonus|}}} | |Magic_Bonus = {{{magicbonus|}}} | ||
|Canon = {{#if: {{{canon|}}}|1}} | |Canon = {{#if: {{{canon|}}}|1}} | ||
| | |Magic_Item_Plan = {{{artificerplan|}}} | ||
|Prerequisites = {{{prerequisites|}}} | |Prerequisites = {{{prerequisites|}}} | ||
|Hoard_Item = {{#if: {{{hoarditem|}}}|1|}} | |Hoard_Item = {{#if: {{{hoarditem|}}}|1|}} | ||
|Summary = {{{summary|}}} | |Summary = {{{summary|}}} | ||
| Line 173: | Line 159: | ||
|attunement= <!-- Yes if requires attunement, otherwise blank --> | |attunement= <!-- Yes if requires attunement, otherwise blank --> | ||
|attunementnote= <!-- blank unless attunement note --> | |attunementnote= <!-- blank unless attunement note --> | ||
|consumable= <!--blank or true--> | |||
|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 --> | ||
| Line 180: | Line 167: | ||
===Optional Entries=== | ===Optional Entries=== | ||
<pre> | <pre> | ||
| | |artificerplan= <!-- blank, Artificer level for magi item plan --> | ||
|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 183: | ||
|attunement=Yes <!-- Yes if requires attunement, otherwise blank --> | |attunement=Yes <!-- Yes if requires attunement, otherwise blank --> | ||
|attunementnote= <!-- blank unless attunement note --> | |attunementnote= <!-- blank unless attunement note --> | ||
|consumable= <!--blank or true--> | |||
|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 --> | ||
| Line 220: | Line 202: | ||
|attunement= Yes<!-- Yes if requires attunement, otherwise blank --> | |attunement= Yes<!-- Yes if requires attunement, otherwise blank --> | ||
|attunementnote= <!-- blank unless attunement note --> | |attunementnote= <!-- blank unless attunement note --> | ||
|consumable= <!--blank or true--> | |||
|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 --> | ||
|hoarditem= | |hoarditem= | ||
|desc= blah, blah, blah | |desc= blah, blah, blah | ||
|nodb=true | |||
}} | }} | ||
[[Category:5e24 Templates]]</noinclude> | [[Category:5e24 Templates]]</noinclude> | ||
Latest revision as of 14:11, 11 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.
Note!!! If you want to make a magic armor or weapon, you should use a different template:
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 -->
|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 -->
|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)
blah, blah, blah
- Foo's Guide to Nothing p. 3. Licensed: Public Domain. ↑