Template:Item/doc: Difference between revisions

Template page
mNo edit summary
Tag: wikieditor
mNo edit summary
Tag: wikieditor
Line 8: Line 8:


==Important==
==Important==
The name parameter '''''must be the same''''' as the page name (underscore excluded, space works):
The <code>|name=</code> parameter '''''must be the same''''' as the page name (underscore excluded, space works):
::'''Item Page URL:''' https://rp.klanen.org/wiki/kfp/Item_Name
::'''Item Page URL:''' https://rp.klanen.org/wiki/kfp/Item_Name
::'''Template Parameter:''' <code><nowiki>|name=Item Name</nowiki></code>
::'''Template Parameter:''' <code><nowiki>|name=Item Name</nowiki></code>
Line 27: Line 27:
::<code><nowiki>|type=legendary</nowiki></code><br>
::<code><nowiki>|type=legendary</nowiki></code><br>
----
----
<code><nowiki>|attunement=</nowiki></code> need <code>1</code> as value if there is attunement for the item. You do not need to have <code><nowiki>|attunement=</nowiki></code> if the item does not require attunement.
<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.

Revision as of 00:32, 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=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.