Template:5e Magic Item Pointer: Difference between revisions

From Rlyehwiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(3 intermediate revisions by the same user not shown)
Line 45: Line 45:
}}-->
}}-->
</noinclude><includeonly>
</noinclude><includeonly>
'''{{{name}}}''' is a {{srd5lc|Magic Item}} described in {{pub|{{{pub}}}}}.[[Category:5e Canon Magic Items]][[Category:5e Magic Items]][[Category:5e]][[Category:Magic Item]]
{{5e Magic Item
{| class="dragon monstats" cellspacing="0" cellpadding="0"
|name={{{name|}}}
|+ style="font-size: 1.35em; font-weight: bold; white-space: nowrap;" | {{{name}}}{{#if:{{{sorttext|}}}|{{DEFAULTSORTKEY:{{{sorttext}}} 5e}}|{{DEFAULTSORTKEY:{{PAGENAME}} 5e}} }}[[Category:5e Magic Items]]
|sorttext={{{sorttext|}}}
|-
|refs={{{refs|}}}
| colspan="2" | ''Magic {{#switch: {{{type}}}
|type={{{type|}}}
  |Armor 
|typenote={{{typenote|}}}
  |armor = Armor[[Category:5e Magic Armor]]
|rarity={{{rarity|}}}
  |Weapon 
|raritynote={{{raritynote|}}}
  |weapon = Weapon[[Category:5e Magic Weapons]]
|attunement={{{attunement|}}}
  |Wondrous Item 
|attunementnote={{{attunementnote|}}}
  |wondrous item 
|charges={{{charges|}}}
  |Wondrous item = Wondrous Item[[Category:5e Wondrous Items]]
|magicbonus={{{magicbonus|}}}
  |Potion 
|desc={{{desc|}}}
  |potion 
|hoarditem={{{hoarditem|}}}
  |Scroll 
|artificerInfused={{{artificerInfused|}}}
  |scroll = Potion[[Category:5e Magic Scrolls]]
|prerequisites={{{prerequisites|}}}
  |Staff 
|artificerAttuned={{{artificerAttuned|}}}
  |staff = Staff[[Category:5e Magic Staves]]
|artificerCanon={{{artificerCanon}}}
  |Rod 
|artificerItem={{{artificerItem|}}}
  |rod = Rod[[Category:5e Magic Rods]]
|artificerSelectItem={{{artificerSelectItem|}}}
  |Wand
|canon={{{canon|}}}
  |wand = Wand[[Category:5e Magic Wands]]
|pointer=true
  |Ring 
|nodb={{{nodb|}}}
  |ring = Ring[[Category:5e Magic Rings]]
  |#default = {{ucfirst:{{{type}}}}}
  }}{{#if: {{{typenote|}}}|,&nbsp;({{{typenote}}})| }},&nbsp;{{#switch: {{{rarity}}}
  |Common = common[[Category:5e Common Magic Items]]
  |Uncommon = uncommon[[Category:5e Uncommon Magic Items]]
  |Rare = rare[[Category:5e Rare Magic Items]]
  |Very Rare = very rare[[Category:5e Very Rare Magic Items]]
  |Legendary = legendary[[Category:5e Legendary Magic Items]]
  |Artifact = artifact[[Category:5e Artifacts]]
  |#default = {{lc:{{{rarity}}}}}
  }}{{#if: {{{attunement|}}}|{{#if: {{{raritynote|}}}|&nbsp;({{{raritynote}}}, requires {{{srd5lc|Attunement}}}{{#if: {{{attunementnote|}}}|&nbsp;{{{attunementnote}}}|}})|&nbsp;(requires {{srd5lc|Attunement}}{{#if: {{{attunementnote|}}}|&nbsp;{{{attunementnote}}}|}})| }}|{{#if: {{{raritynote|}}}|&nbsp;({{{raritynote}}})| }}}}''
|}{{#if: {{{desc|}}}|<nowiki />
===Unofficial Description===
{{{desc}}}|}}{{#if: {{{canon|}}}|[[Category:5e Canon Magic Items]]|}}{{#if: {{{artificerInfused|}}}|<br />{{5e Replicated Magic Item|prerequisite={{{prerequisite|}}}|item={{{artificerItem|}}}|select item={{{artificerSelectItem|}}}|attunement={{{artificerAttuned|}}}|artificer canon={{{artificerCanon|}}}}}|}}
{{#cargo_store:
_table = 5e_Magic_Items
|Sort_Text = {{#if:{{{sorttext|}}}|{{DEFAULTSORTKEY:{{{sorttext}}} 5e}}|{{DEFAULTSORTKEY:{{PAGENAME}} 5e}} }}
|Item_Name = {{{name|}}}
|Item_Type = {{{type|}}}
|Type_Note = {{{typenote|}}}
|Rarity = {{{rarity|}}}
|Rarity_Note = {{{raritynote|}}}
|Attunement = {{{attunement|}}}
|Attunement_Note = {{{attunementnote|}}}
|Description = {{{desc|}}}
|Charges = {{{charges|}}}
|Canon = {{#if: {{{noncannon|}}}|<!--skip-->|1}}
|Artificer_Infused = {{#if: {{{artificerInfused|}}}|1|}}
|Prerequisites = {{{prerequisites|}}}
|Artificer_Attuned = {{#if: {{{artificerAttuned|}}}|1|}}
|Artificer_Canon = {{#if: {{{artificerCanon|}}}|1|}}
|Artificer_Item = {{{artificerItem|}}}
|Summary = {{#if: {{{summary|}}}|{{{summary|}}}|{{{desc|}}}|}}
}}
}}
</includeonly><noinclude>
</includeonly><noinclude>

Latest revision as of 06:54, 31 March 2022

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 [1] (pointer)
Magic Wondrous Item, (not so wondrous), common (requires attunement)

Unofficial Description: blah, blah, blah




  1. Foo's Guide to Nothing p. 2323. Licensed: Public Domain.