Template:Item/doc: Difference between revisions

Template page
No edit summary
Tag: wikieditor
No edit summary
Tag: wikieditor
Line 30: Line 30:
::<code><nowiki>|type=legendary</nowiki></code><br>
::<code><nowiki>|type=legendary</nowiki></code><br>
----
----
<code>|attunement=</code> need <code>1</code> as value if there is attunement for the item. You do not need to have <code>|attunement=</code> if the item does not require attunement.
<code>|attunement=</code> is optional.
If the item requires attunement you must put <code>1</code> as value.
 
If the item requires a spellcaster to attune, put <code>caster</code> as value.

Revision as of 01:51, 24 January 2024

Usage

{{item
|name={{subst:PAGENAME}}
|type=
|rarity=
|attunement=
}}

Important

The |name= parameter must be the same as the page name (underscore excluded, space works):

Item Page URL: https://rp.klanen.org/wiki/kfp/Item_Name
Template Parameter: |name=Item Name

The following |type= are recognized:

|type=adventuring
|type=armor
|type=focus
|type=headgear
|type=potion
|type=weapon
|type=wondrous

Others can be used, but categories will be weird.


the following |rarity= are recognized and automatically colored according to rarity standards:

|type=common
|type=uncommon
|type=rare
|type=very rare
|type=epic
|type=legendary

|attunement= is optional. If the item requires attunement you must put 1 as value.

If the item requires a spellcaster to attune, put caster as value.