Template:5e Magic Item: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
mNo edit summary |
||
Line 76: | Line 76: | ||
|Artifact = artifact{{#cargo_store: _table = 5e_Magic_Items|Rarity = Artifact}}<!--{{#set: Rarity=Artifact}}-->[[Category:5e Artifacts]] | |Artifact = artifact{{#cargo_store: _table = 5e_Magic_Items|Rarity = Artifact}}<!--{{#set: Rarity=Artifact}}-->[[Category:5e Artifacts]] | ||
|#default = {{lc:{{{rarity}}}<!--[[Rarity::{{{rarity}}}]]-->}}{{#cargo_store: _table = 5e_Magic_Items|Rarity = {{{rarity}}}}} | |#default = {{lc:{{{rarity}}}<!--[[Rarity::{{{rarity}}}]]-->}}{{#cargo_store: _table = 5e_Magic_Items|Rarity = {{{rarity}}}}} | ||
}}{{#if: {{{attunement|}}}|{{#if: {{{raritynote|}}}| ({{{raritynote}}}, requires {{{srd5lc|Attunement}}}{{#if: {{{attunementnote|}}}| {{{attunementnote}}}|}}{{#cargo_store: _table = 5e_Magic_Items|Attunement = 1}}<!--{{#set: attunement=true}})-->| (requires {{srd5lc|Attunement}}{{#if: {{{attunementnote|}}}| {{{attunementnote}}}|}}{{#cargo_store: _table = 5e_Magic_Items|Attunement = 1}}{{#set: attunement=true}})| }}|{{#if: {{{raritynote|}}}| ({{{raritynote}}}){{#cargo_store: _table = 5e_Magic_Items|Rarity_Note = {{{raritynote}}}}}| }}}}'' | }}{{#if: {{{attunement|}}}|{{#if: {{{raritynote|}}}| ({{{raritynote}}}, requires {{{srd5lc|Attunement}}}{{#if: {{{attunementnote|}}}| {{{attunementnote}}}|}}{{#cargo_store: _table = 5e_Magic_Items|Attunement = 1}}<!--{{#set: attunement=true}})-->| (requires {{srd5lc|Attunement}}{{#if: {{{attunementnote|}}}| {{{attunementnote}}}|}}{{#cargo_store: _table = 5e_Magic_Items|Attunement = 1}}<!--{{#set: attunement=true}})-->| }}|{{#if: {{{raritynote|}}}| ({{{raritynote}}}){{#cargo_store: _table = 5e_Magic_Items|Rarity_Note = {{{raritynote}}}}}| }}}}'' | ||
{{{desc}}}{{#cargo_store: _table = 5e_Magic_Items|Description = {{{desc}}}}}{{#if: {{{charges|}}}|{{#cargo_store: _table = 5e_Magic_Items|Charges = {{{charges}}}}}<!--{{#set: Charges={{{charges|}}}}}-->| }}{{#if: {{{magicbonus|}}}|{{#cargo_store: _table = 5e_Magic_Items|Magic_Bonus = {{{magicbonus}}}}}<!--{{#set: Magic Bonus= {{{magicbonus|}}}}}-->|}}{{#if: {{{canon|}}}|{{#cargo_store: _table = 5e_Magic_Items|Cannon = 1}}<!--{{#set: Canon=true}}-->[[Category:5e Canon Magic Items]]|}} | {{{desc}}}{{#cargo_store: _table = 5e_Magic_Items|Description = {{{desc}}}}}{{#if: {{{charges|}}}|{{#cargo_store: _table = 5e_Magic_Items|Charges = {{{charges}}}}}<!--{{#set: Charges={{{charges|}}}}}-->| }}{{#if: {{{magicbonus|}}}|{{#cargo_store: _table = 5e_Magic_Items|Magic_Bonus = {{{magicbonus}}}}}<!--{{#set: Magic Bonus= {{{magicbonus|}}}}}-->|}}{{#if: {{{canon|}}}|{{#cargo_store: _table = 5e_Magic_Items|Cannon = 1}}<!--{{#set: Canon=true}}-->[[Category:5e Canon Magic Items]]|}} |
Revision as of 09:14, 4 February 2020
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
Magic, (not so wondrous), common (requires attunement
blah, blah, blah
Visit Template:5e Magic Item/doc to edit this text! (How does this work?)