Template:5e Magic Item/doc: Difference between revisions

From Rlyehwiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(7 intermediate revisions by the same user not shown)
Line 5: Line 5:
* [[Template:5e Magic Armor]]
* [[Template:5e Magic Armor]]
* [[Template:5e Magic Weapon]]
* [[Template:5e Magic Weapon]]
''Also see [[Template:5e Replicated Magic Item]] for Artificer Infused Items]]


==Syntax==
==Syntax==
Line 12: Line 10:
|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 21: Line 20:
|magicbonus= <!-- blank; or +1, +2, +3 -->
|magicbonus= <!-- blank; or +1, +2, +3 -->
|desc= <!--Description of the magic item, rules, and abilities -->
|desc= <!--Description of the magic item, rules, and abilities -->
}}
}}</pre>


<--Description and rules for the magic item--></pre>
===Optional Entries===
<pre>
|artificerInfused=<!-- 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-->
</pre>


==Example==
==Example==
Line 29: Line 39:
|name= Foo<!-- name of magic item -->
|name= Foo<!-- name of magic item -->
|sorttext= <!--blank, or category sort-->
|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 -->
|type= Wondrous Item<!-- Weapon, Armor, Wondrous Item, Staff, Wand -->
|typenote= not so wondrous<!-- Note following type. ex. ammunition -->
|typenote= not so wondrous<!-- Note following type. ex. ammunition -->
Line 45: Line 56:
|name= Foo<!-- name of magic item -->
|name= Foo<!-- name of magic item -->
|sorttext= <!--blank, or category sort-->
|sorttext= <!--blank, or category sort-->
|nodb=true
|refs=<ref>{{Cite Pub|Foo's Guide to Nothing|pages=3}} Licensed: [[Public Domain]].</ref>
|type= Wondrous Item<!-- Weapon, Armor, Wondrous Item, Staff, Wand -->
|type= Wondrous Item<!-- Weapon, Armor, Wondrous Item, Staff, Wand -->
|typenote= not so wondrous<!-- Note following type. ex. ammunition -->
|typenote= not so wondrous<!-- Note following type. ex. ammunition -->
Line 53: Line 66:
|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 -->
}}
}}


<noinclude>{{navboxes}}[[Category:Template Doc]]</noinclude>
<noinclude>{{navboxes}}[[Category:Template Doc]]</noinclude>

Latest revision as of 06:57, 20 December 2021

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

{{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 -->
|desc= <!--Description of the magic item, rules, and abilities -->
}}

Optional Entries

|artificerInfused=<!-- 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

{{5e 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 -->
|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



No results