Template:5e Magic Item Pointer: Difference between revisions

From Rlyehwiki
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 9: Line 9:
|Item_Type = String
|Item_Type = String
|Type_Note = String
|Type_Note = String
|Rarity = String (allowed values=Common,Rare,Very Rare,Legendary,Artifact)
|Rarity = String
|Rarity_Note = String
|Rarity_Note = String
|Attunement = Boolean
|Attunement = Boolean
Line 78: Line 78:
   |Artifact = artifact[[Category:5e Artifacts]]
   |Artifact = artifact[[Category:5e Artifacts]]
   |#default = {{lc:{{{rarity}}}}}
   |#default = {{lc:{{{rarity}}}}}
   }}{{#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: {{{desc|}}}|<nowiki />
|}{{#if: {{{desc|}}}|<nowiki />
===Unofficial Description===
===Unofficial Description===

Revision as of 11:29, 7 April 2020

This template adds rows to the table "5e_Magic_Items", which is declared by the template 5e Magic Item. View table.

Template documentation (for the above template, sometimes hidden or invisible)

Use

Use in articles that describe a magic item in 5th edition from a published source other than the SRD5.

Syntax

{{5e Magic Item Pointer
|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 -->
|charges= <!-- # of charges or uses, otherwise blank -->
|desc= <!--UNOFFICIAL, unplagerized, short description -->
}}

Optional Entries

|artificerInfused=<!-- blank, true if Artificer Infused -->
|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 -->

Deprecated Entries

|pub=

Example

{{5e Magic Item Pointer
|name= Foo<!-- name of magic item -->
|sorttext= <!--blank, or category sort-->
|refs=<ref>{{Cite Pub|Foo's Guide to Nothing|pages=2323}} 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 -->
|charges= <!-- # of charges or uses, otherwise blank -->
|desc= blah, blah, blah<!--UNOFFICIAL, unplagerized, short description -->
}}

produces...


Foo is a magic item described in [[Publication:{{{pub}}}|{{{pub}}}]].

Foo
Magic Wondrous Item, (not so wondrous), common (requires attunement)

Unofficial Description

blah, blah, blah