Template:5e Magic Item: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
(Hoard Items) |
||
Line 46: | Line 46: | ||
|Artificer_Canon = Boolean | |Artificer_Canon = Boolean | ||
|Artificer_Item = String | |Artificer_Item = String | ||
|Hoard_Item = Boolean | |||
}} | }} | ||
</noinclude><includeonly> | </noinclude><includeonly> | ||
Line 81: | Line 82: | ||
}}{{#if: {{{attunement|}}}|{{#if: {{{raritynote|}}}| ({{{raritynote}}}, requires {{srd5lc|Attunement}}{{#if: {{{attunementnote|}}}| {{{attunementnote}}})|)}}| (requires {{srd5lc|Attunement}}{{#if: {{{attunementnote|}}}| {{{attunementnote}}})|)}}| }}|{{#if: {{{raritynote|}}}| ({{{raritynote}}})| }}}}'' | }}{{#if: {{{attunement|}}}|{{#if: {{{raritynote|}}}| ({{{raritynote}}}, requires {{srd5lc|Attunement}}{{#if: {{{attunementnote|}}}| {{{attunementnote}}})|)}}| (requires {{srd5lc|Attunement}}{{#if: {{{attunementnote|}}}| {{{attunementnote}}})|)}}| }}|{{#if: {{{raritynote|}}}| ({{{raritynote}}})| }}}}'' | ||
{{#if: {{{pointer|}}}|'''Unofficial Description:''' |}}{{{desc}}}{{#if: {{{artificerInfused|}}}|<br />{{5e Replicated Magic Item|prerequisite={{{prerequisite|}}}|item={{{artificerItem|}}}|select item={{{artificerSelectItem|}}}|attunement={{{artificerAttuned|}}}|artificer canon={{{artificerCanon|}}}}}|}} | {{#if: {{{hoarditem|}}}|''Hoard Magic Item''<br /> <br />|}}{{#if: {{{pointer|}}}|'''Unofficial Description:''' |}}{{{desc}}}{{#if: {{{artificerInfused|}}}|<br />{{5e Replicated Magic Item|prerequisite={{{prerequisite|}}}|item={{{artificerItem|}}}|select item={{{artificerSelectItem|}}}|attunement={{{artificerAttuned|}}}|artificer canon={{{artificerCanon|}}}}}|}} | ||
{{#if: {{{nodb|}}}|<!--skip-->|<!-- | {{#if: {{{nodb|}}}|<!--skip-->|<!-- | ||
--categories-- | --categories-- | ||
Line 93: | Line 94: | ||
|wondrous item | |wondrous item | ||
|Wondrous item = [[Category:5e Wondrous Items]] | |Wondrous item = [[Category:5e Wondrous Items]] | ||
|Hoard Item | |||
|Hoard item | |||
|hoard item = [[Category:5e Hoard Magic Items]] | |||
|Potion | |Potion | ||
|potion = [[Category:5e Magic Potions]] | |potion = [[Category:5e Magic Potions]] | ||
Line 115: | Line 119: | ||
|#default = [[Category:5e {{lc:{{{rarity}}}}} Magic Items]] | |#default = [[Category:5e {{lc:{{{rarity}}}}} Magic Items]] | ||
}} | }} | ||
{{#if: {{{hoarditem|}}}|[[Category:5e Hoard Magic Items]]|}} | |||
{{#if: {{{canon|}}}|[[Category:5e Canon Magic Items]]|}} | {{#if: {{{canon|}}}|[[Category:5e Canon Magic Items]]|}} | ||
<!-- | <!-- | ||
Line 137: | Line 142: | ||
|Artificer_Canon = {{#if: {{{artificerCanon|}}}|1|}} | |Artificer_Canon = {{#if: {{{artificerCanon|}}}|1|}} | ||
|Artificer_Item = {{{artificerItem|}}} | |Artificer_Item = {{{artificerItem|}}} | ||
|Hoard_Item = {{#if: {{{hoarditem|}}}|1|}} | |||
|Summary = {{{summary|}}} | |Summary = {{{summary|}}} | ||
}}|}} | }}|}} |
Revision as of 16:24, 9 December 2021
This template defines the table "5e_Magic_Items". View table.
Template documentation (for the above template, sometimes hidden or invisible)
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
Visit Template:5e Magic Item/doc to edit this text! (How does this work?)
- Foo's Guide to Nothing p. 3. Licensed: Public Domain. ↑