テンプレート:SpellQueryIcon/row
ナビゲーションに移動
検索に移動
To be used with Template:SpellQueryIcon Also used by Template:SpellQueryGroup
Documentation
[purge]
このテンプレートは、特別:CargoTables/Spellsから取得した、指定した階層とタイプのスペルアイコンのグリッドを生成します。 類似のスペルをグループ化するために、タイプとsort Keyで並べ替えます。
使い方
{{SpellQueryIcon|tier=1|type=2|columns=3}}
- 1 はリストアップするスペルの階層で、
0
,1
,2
,3
,4
,5
,6
,7
,8
,9
, and/or10
を指定できます。カンマで区切られた値で表されます。 - 2はリストアップするスペルのタイプで、
放射物
,静電放射物
,受け身
,ユーティリティー
,放射物調整盤
,資材
,マルチキャスト
,その他
とすることができます; 大文字と小文字を区別し、カンマで区切られた値としてフォーマットされています。 - 3 はグリッドの列数です。デフォルトは5列です。
Usage
{{SpellQueryIcon|tier=1,2,3,10|type=Projectile,Other|columns=9|name=Add Mana|id=RESET|link=Example Page|}}
Parameters
Parameter | Default | Description | |
---|---|---|---|
Query | |||
tier
|
None | Comma-separated list of spell tiers to include. All spells of specified tiers are included in result. | |
type
|
None | Case-INsensitive; Comma-separated list of spell types to include. All spells of specified types are included in result. Valid options: Projectile , Static /Static projectile , Passive , Utility , Modifier /Projectile modifier , Material , Multicast Other
| |
name
|
None | Case-INsensitive; Comma-separated list of spell names. Specific spell(s) to include in the query, lookup by name, e.g.: Spark Bolt,Spitter Bolt . Spell names must be an exact match.
| |
nameLike
|
None | Case-INsensitive; Comma-separated list of (partial) spell names. Specific spell(s) to include in the query, matches using LIKE and will return all matching spells. Spell names must be an exact match. | |
id
|
None | Case-INsensitive; Comma-separated list of spell IDs. Specific spell(s) to include in the query, lookup by ID, e.g.: RESET,MANA_REDUCE . Spell IDs must be an exact match.
| |
Tags | Case-INsensitive; Comma-separated list of spell tags. Tag names must be an exact match. | ||
tags
|
None | A spell matches if it has any of the tags specified by tags .For a single tag this behaves identically to allOfTags .
| |
allOfTags
|
None | A spell matches only if it has all the tags specified by allOfTags .For a single tag this behaves identically to tags .
| |
noneOfTags
|
None | A spell matches only if it does not have any of the tags specified by noneOfTags .
| |
Format & Presentation | |||
columns |
5 |
Maximum Number of columns of the rendered grid. Defaults to 5 columns. | |
size |
42px |
Override and set a specific size for the spell icon size. This must include the 'px' suffix. | |
link |
Per spell | By default each spell links to its' individual wiki article. Specify a link here to override this for all spells in the output. | |
tooltip |
0 |
Show tooltips with some basic spell info on hovering over spells. Experimental (appearance may change) | |
framed |
0 |
Show a presentational border around the results. | |
title |
None | Set a title for a framed group of spells. Only works if framed is enabled.
|
Get any spell with either of the tags 'pointy' or 'trigger'
{{SpellQueryIcon|tags=pointy,trigger}}
Get only spells with all of the tags 'circlemagic' and 'friendlyfire'.
{{SpellQueryIcon|allOfTags=circlemagic,friendlyfire}}
Get only spells with none of the tags 'pointy' or 'trigger'.
{{SpellQueryIcon|noneOfTags=pointy,trigger|columns=16}}
You can combine tag conditions - a spell will match only if all the tag conditions are met.
Get spells with the tags 'piercing' or 'penetrating' that do not have any of the tags 'friendlyfire' or 'scripted'.
{{SpellQueryIcon|tags=piercing,penetrating|noneOfTags=friendlyfire,scripted}}
Formatting & Presentation
{{SpellQueryIcon|size=24px|tier=1|tooltip=1|columns=999}}
Result:
{{SpellQueryIcon|size=24px|tier=1|tooltip=0|columns=24|framed=1|title=Tier 1 spells}}
Result:
Tier 1 spells
カテゴリ:
- Cargo helper templates