Difference between revisions of "Template:5e Magic Item/doc"
From Dungeons and Dragons Wiki
(→Syntax) |
Ghostwheel (talk | contribs) m (Reverted edits by 172.70.210.133 (talk) to last revision by Rlyehable) |
||
(4 intermediate revisions by 3 users not shown) | |||
Line 7: | Line 7: | ||
==Syntax== | ==Syntax== | ||
+ | <pre> | ||
{{5e Magic Item | {{5e Magic Item | ||
|name= <!-- name of magic item --> | |name= <!-- name of magic item --> | ||
|sorttext= <!--blank, or category sort--> | |sorttext= <!--blank, or category sort--> | ||
+ | |refs= <!--references--> | ||
|type= <!-- Weapon, Armor, Wondrous Item, Staff, Wand --> | |type= <!-- Weapon, Armor, Wondrous Item, Staff, Wand --> | ||
|typenote= <!-- Note following type. ex. ammunition --> | |typenote= <!-- Note following type. ex. ammunition --> | ||
Line 18: | Line 20: | ||
|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= <!-- blank, Yes if hoard item --> | ||
|desc= <!--Description of the magic item, rules, and abilities --> | |desc= <!--Description of the magic item, rules, and abilities --> | ||
}} | }} | ||
Line 35: | Line 38: | ||
|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= | ||
|desc= blah, blah, blah<!--Description of the magic item, rules, and abilities --> | |desc= blah, blah, blah<!--Description of the magic item, rules, and abilities --> | ||
}}</pre> | }}</pre> | ||
Line 51: | Line 55: | ||
|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 --> | ||
− | |desc= blah, blah, blah<!--Description of the magic item, rules, and abilities --> | + | |hoarditem= |
+ | |desc= blah, | ||
+ | blah, blah<!--Description of the magic item, rules, and abilities --> | ||
}} | }} | ||
<noinclude>{{navboxes}}[[Category:Template Doc]]</noinclude> | <noinclude>{{navboxes}}[[Category:Template Doc]]</noinclude> |
Latest revision as of 07:44, 28 February 2022
Use[edit]
Use in articles that describe a magic item in 5th edition.
Note!!! If you want to make a magic armor or weapon, you should use a different template:
Syntax[edit]
{{5e 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 --> |charges= <!-- # of charges or uses, otherwise blank --> |magicbonus= <!-- blank; or +1, +2, +3 --> |hoarditem= <!-- blank, Yes if hoard item --> |desc= <!--Description of the magic item, rules, and abilities --> }} <--Description and rules for the magic item-->
Example[edit]
{{5e Magic Item |name= Foo<!-- name of magic item --> |sorttext= <!--blank, or category sort--> |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 --> |charges= <!-- # of charges or uses, otherwise blank --> |magicbonus= <!-- blank; or +1, +2, +3 --> |hoarditem= |desc= blah, blah, blah<!--Description of the magic item, rules, and abilities --> }}
produces...
Foo
Magic Wondrous Item, (not so wondrous), common (requires attunement)
blah, blah, blah