Difference between revisions of "Template:5e Magic Item/doc"
From Dungeons and Dragons Wiki
(→Syntax) |
(→Syntax) |
||
Line 7: | Line 7: | ||
==Syntax== | ==Syntax== | ||
− | + | {{5e Magic Item | |
− | |name= | + | |name= <!-- name of magic item --> |
− | |sorttext= | + | |sorttext= <!--blank, or category sort--> |
− | |type= Wondrous Item | + | |type= <!-- Weapon, Armor, Wondrous Item, Staff, Wand --> |
− | |typenote= | + | |typenote= <!-- Note following type. ex. ammunition --> |
− | |rarity= | + | |rarity= <!-- Common, Uncommon, Rare, Very Rare, Legendary --> |
− | |raritynote= | + | |raritynote= <!-- Note following rarity, other than requires attunement. --> |
− | |attunement= Yes | + | |attunement= <!-- Yes if requires attunement, otherwise blank --> |
− | |attunementnote= | + | |attunementnote= <!-- blank unless attunement note --> |
− | |charges= | + | |charges= <!-- # of charges or uses, otherwise blank --> |
− | |magicbonus= | + | |magicbonus= <!-- blank; or +1, +2, +3 --> |
− | |desc= | + | |desc= <!--Description of the magic item, rules, and abilities --> |
}} | }} | ||
Revision as of 11:37, 4 April 2020
Use
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
Magic ,
<--Description and rules for the magic item--></pre>
Example
{{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 --> |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