Jump to content

Template:Infobox Item: Difference between revisions

From Xandaris Wiki
Move categories outside includeonly with namespace guard to fix template self-categorization
Fix: escape category links in documentation to prevent template self-categorization
 
Line 22: Line 22:
All fields are optional. <code>name</code> defaults to <code><nowiki>{{PAGENAME}}</nowiki></code>.
All fields are optional. <code>name</code> defaults to <code><nowiki>{{PAGENAME}}</nowiki></code>.


Auto-categorization: all pages get [[Category:Items]]. If <code>type=weapon</code>, also [[Category:Weapons]].
Auto-categorization: all pages get <nowiki>[[Category:Items]]</nowiki>. If <code>type=weapon</code>, also <nowiki>[[Category:Weapons]]</nowiki>.
</noinclude>
</noinclude>

Latest revision as of 02:45, 4 March 2026

Usage[edit]

{{Infobox Item
| name          =
| image         =
| type          = weapon / armor / tool / misc
| wielder       =
| found_date    =
| found_by      =
| creator       =
| enchantments  =
| kills         =
| kill_list     =
| mob_kills     =
| damage_dealt  =
| durability    =
| location      =
| status        =
}}

All fields are optional. name defaults to {{PAGENAME}}.

Auto-categorization: all pages get [[Category:Items]]. If type=weapon, also [[Category:Weapons]].