Template:5e24 Magic Item: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
| 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 80: | Line 81: | ||
|Artifact = artifact | |Artifact = artifact | ||
|#default = {{lc:{{{rarity}}}}} | |#default = {{lc:{{{rarity}}}}} | ||
}}{{#if: {{{attunement|}}}|{{#if: {{{raritynote|}}}| ({{{raritynote}}}, requires {{5e24lc|Attunement}}{{#if: {{{attunementnote|}}}| {{{attunementnote}}})|)}}| (requires {{5e24lc|Attunement}}{{#if: {{{attunementnote|}}}| {{{attunementnote}}})|)}}| }}|{{#if: {{{raritynote|}}}| ({{{raritynote}}})| }}}}''{{#if: {{{charges|}}}|<br /> | }}{{#if: {{{attunement|}}}|{{#if: {{{raritynote|}}}| ({{{raritynote}}}, requires {{5e24lc|Attunement}}{{#if: {{{attunementnote|}}}| {{{attunementnote}}})|)}}| (requires {{5e24lc|Attunement}}{{#if: {{{attunementnote|}}}| {{{attunementnote}}})|)}}| }}|{{#if: {{{raritynote|}}}| ({{{raritynote}}})| }}}}''{{#if: {{{consumable|}}}|<br /> | ||
Charges: {{{charges}}}|}}{{#if: {{{magicbonus|}}}|<br /> | Consumable: True{{#if: {{{charges|}}}|<br /> | ||
Magic Bonus: {{{magicbonus}}}|}} | 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: {{{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}}}{{#if: {{{artificer|}}}|<br /><br />{{5e24 Artificer Magic Item | ||
| Line 127: | Line 130: | ||
|#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 142: | Line 144: | ||
|Attunement_Note = {{{attunementnote|}}} | |Attunement_Note = {{{attunementnote|}}} | ||
<!--|Description = {{{desc|}}}--> | <!--|Description = {{{desc|}}}--> | ||
|Consumable = {{#if: {{{consumable|}}}|1}} | |||
|Charges = {{{charges|}}} | |Charges = {{{charges|}}} | ||
|Magic_Bonus = {{{magicbonus|}}} | |Magic_Bonus = {{{magicbonus|}}} | ||
| Line 175: | Line 178: | ||
|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 204: | Line 208: | ||
|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 222: | Line 227: | ||
|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> | ||
Revision as of 06:00, 24 September 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
|artificer=<!-- blank, true if Artificer Infused --> |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--> |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. ↑