テンプレート:SpellTag/row

提供:Noita Wiki
ナビゲーションに移動 検索に移動

To be used with Template:SpellTag & Module:CommonCargoQuery.

This is a template for display of Spell Tags.

Tags group spells together, the groupings are arbitrary and based only on whether a spell has that tag. For grouping based on common spell stats, you can use {{SpellQueryIcon}} to query the Spells cargo table.

Tags can be defined using the {{SpellTagDefinition}} template, which lets you add a description and link to a page. Defined tags can also be set to include themselves automatically on Spell pages. To display a list of spells included in a tag group, use either the {{SpellQueryGroup}} template (for a small navigation box) or {{SpellQueryIcon}} for a customisable list of spells.

Usage

Example 1:
Basic use
{{SpellTag|piercing}}
{{SpellTag|pointy}}
{{SpellTag|pointy|default=}}
{{SpellTag|pointy|default= }}
{{SpellTag|pointy|default=<span></span>}}
{{SpellTag|nonexistant}}
Result:

Lua エラー: エラー: テーブルSpellTagsが見つかりません。 Lua エラー: エラー: テーブルSpellTagsが見つかりません。 Lua エラー: エラー: テーブルSpellTagsが見つかりません。 Lua エラー: エラー: テーブルSpellTagsが見つかりません。 Lua エラー: エラー: テーブルSpellTagsが見つかりません。 Lua エラー: エラー: テーブルSpellTagsが見つかりません。


Parameters

{{SpellTag|tagname}}
Parameter Description
Position:1
or
tag
The identifier for the tag, recommended to be all lowercase letters, no numbers or special characters. This is used as the ID for the tag.