Template:5e Magic Item Pointer: Difference between revisions

From Rlyehwiki
Jump to navigation Jump to search
No edit summary
mNo edit summary
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>
<noinclude>
'''{{{name}}}''' is a {{srd5lc|Magic Item}} described in ''{{pub|{{{pub}}}}}''.<!--{{#set: Publication={{{pub}}}}}-->[[Category:5e Canon Magic Items]][[Category:5e Magic Items]][[Category:5e]][[Category:Magic Item]]
<!-- Cargo Table -->
{| class="dragon monstats" cellspacing="0" cellpadding="0"
{{#cargo_attach:
|+ style="font-size: 1.35em; font-weight: bold; white-space: nowrap;" | {{{name}}}{{#if:{{{sorttext|}}}|{{DEFAULTSORTKEY:{{{sorttext}}} 5e}}|{{DEFAULTSORTKEY:{{PAGENAME}} 5e}} }}[[Category:5e Magic Items]]<!--{{#set: Pointer=true}}-->
_table = 5e_Magic_Items}}
|-
<!--
| colspan="2" | ''Magic {{#switch: {{{type}}}
|Sort_Text = String
  |Armor 
|Page_Name = Page
  |armor = Armor<!--[[Item Type::Armor]]-->[[Category:5e Magic Armor]]
|Item_Name = String
  |Weapon 
|Item_Type = String
  |weapon = Weapon<!--[[Item Type::Weapon]]-->[[Category:5e Magic Weapons]]
|Type_Note = String
  |Wondrous Item 
|Rarity = String
  |wondrous item 
|Rarity_Note = String
  |Wondrous item = Wondrous Item<!--[[Item Type::Wondrous Item]]-->[[Category:5e Wondrous Items]]
|Attunement = Boolean
  |Potion 
|Attunement_Note = String
  |potion 
|Description = wikitext
  |Scroll 
|Charges = String
  |scroll = Potion<!--[[Item Type::Scroll]]-->[[Category:5e Magic Scrolls]]
|Magic_Bonus = String
  |Staff 
|Canon = Boolean
  |staff = Staff<!--[[Item Type::Staff]]-->[[Category:5e Magic Staves]]
|Summary = Wikitext
  |Rod 
|Armor_Type = String
  |rod = Rod<!--[[Item Type::Rod]]-->[[Category:5e Magic Rods]]
|LightMedHeavy = String
  |Wand
|AC = String
  |wand = Wand<!--[[Item Type::Wand]]-->[[Category:5e Magic Wands]]
|Strength = String
  |Ring 
|Stealth = String
  |ring = Ring<!--[[Item Type::Ring]]-->[[Category:5e Magic Rings]]
|Weight = String
  |#default = {{ucfirst:{{{type}}}}}<!--[[Item Type::{{ucfirst:{{{type}}}}}]]-->
|SimpleMartial = String
  }}{{#if: {{{typenote|}}}|,&nbsp;({{{typenote}}})| }},&nbsp;<!-- avoid cr
|MeleeRanged = String
-->{{#switch: {{{rarity}}}
|Damage = String
  |Common = common<!--{{#set: Rarity=Common}}-->[[Category:5e Common Magic Items]]
|Damage_Type = String
  |Uncommon = uncommon<!--{{#set: Rarity=Uncommon}}-->[[Category:5e Uncommon Magic Items]]
|Addl_Damge = String
  |Rare = rare<!--{{#set: Rarity=Rare}}-->[[Category:5e Rare Magic Items]]
|Properties= List (, ) of String
  |Very Rare = very rare<!--{{#set: Rarity=Very Rare}}-->[[Category:5e Very Rare Magic Items]]
|Ammo = Boolean
  |Legendary = legendary<!--{{#set:Rarity=Legendary}}-->[[Category:5e Legendary Magic Items]]
|Finesse = Boolean
  |Artifact = artifact<!--{{#set: Rarity=Artifact}}-->[[Category:5e Artifacts]]
|Heavy = Boolean
  |#default = {{lc:{{{rarity}}}}}<!--[[Rarity::{{{rarity}}}]]-->
|Light = Boolean
  }}{{#if: {{{attunement|}}}|{{#if: {{{raritynote|}}}|&nbsp;({{{raritynote}}}, requires {{{srd5lc|Attunement}}}{{#if: {{{attunementnote|}}}|&nbsp;{{{attunementnote}}}|}}<!--{{#set: attunement=true}})-->|&nbsp;(requires {{srd5lc|Attunement}}{{#if: {{{attunementnote|}}}|&nbsp;{{{attunementnote}}}|}}<!--{{#set: attunement=true}}-->)| }}|{{#if: {{{raritynote|}}}|&nbsp;({{{raritynote}}})| }}}}''
|Loading = Boolean
|}{{#if: {{{desc|}}}|<nowiki />
|Weapon_Range = String
===Unofficial Description===
|Reach = Boolean
{{{desc}}}|}}{{#if: {{{charges|}}}|<!--{{#set: Charges={{{charges|}}}}}-->| }}
|Special = Boolean
{{#if: {{{charges|}}}|<!--{{#set: Charges={{{charges|}}}}}-->| }}{{#if: {{{magicbonus|}}}|<!--{{#set: Magic Bonus=&nbsp;{{{magicbonus}}}}}-->|}}<!--{{#set: Canon=true}}-->[[Category:5e Canon Magic Items]]
|Thrown = Boolean
|Two_Handed = Boolean
|Versatile = String
|Other_Prop = String
|Author = String
}}-->
</noinclude><includeonly>
{{5e Magic Item
|name={{{name|}}}
|sorttext={{{sorttext|}}}
|refs={{{refs|}}}
|type={{{type|}}}
|typenote={{{typenote|}}}
|rarity={{{rarity|}}}
|raritynote={{{raritynote|}}}
|attunement={{{attunement|}}}
|attunementnote={{{attunementnote|}}}
|charges={{{charges|}}}
|magicbonus={{{magicbonus|}}}
|desc={{{desc|}}}
|hoarditem={{{hoarditem|}}}
|artificerInfused={{{artificerInfused|}}}
|prerequisites={{{prerequisites|}}}
|artificerAttuned={{{artificerAttuned|}}}
|artificerCanon={{{artificerCanon}}}
|artificerItem={{{artificerItem|}}}
|artificerSelectItem={{{artificerSelectItem|}}}
|canon={{{canon|}}}
|pointer=true
|nodb={{{nodb|}}}
}}
</includeonly><noinclude>
</includeonly><noinclude>
<!-- Tech note:
<!-- Tech note:

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.