Template:Item/doc: Difference between revisions

Template page
No edit summary
Tag: wikieditor
No edit summary
Tag: wikieditor
Line 12: Line 12:
::'''Template Parameter:''' <code><nowiki>|name=Item Name</nowiki></code>
::'''Template Parameter:''' <code><nowiki>|name=Item Name</nowiki></code>
----
----
the following <code>|type=</code> are recognized:
The following <code>|type=</code> are recognized:
::<code><nowiki>|type=adventuring</nowiki></code><br>
::<code><nowiki>|type=adventuring</nowiki></code><br>
::<code><nowiki>|type=potion</nowiki></code><br>
::<code><nowiki>|type=potion</nowiki></code><br>

Revision as of 00:30, 24 January 2024

Usage

{{item
|name=
|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=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= need 1 as value if there is attunement for the item. You do not need to have |attunement= if the item does not require attunement.