Template:Effect table
From Guild Wars Wiki 中文站
Jump to navigationJump to search
Description
This template outputs a table of effects, with data gathered from the usage of Template:Effect infobox on those effects' pages.
A simple example that would show all effects that are in Category:Environment effects or Category:Consumable effects, along with displaying a column with the campaign of each effect:
{{ Effect table
| category = Environment effects¦Consumable effects
| show campaign = y
}}
Full list of usable parameters:
{{ Effect table
| category =
| category2 =
| category3 =
| notcategory =
| notcategory2 =
| notcategory3 =
| notcategory4 =
| notcategory5 =
| notcategory6 =
| notcategory7 =
| notcategory8 =
| notcategory9 =
| titlematch =
| notitlematch =
| linksfrom =
| show campaign =
| show type =
| color scheme =
}}
Parameters
- category, category2, category3
- Optional. Selects only the effects from the given categories. Titlematch can match multiple titles if they are separated by broken bar (¦) characters, which can be inserted with {{subst:broken bar}}.
- notcategory, notcategory2, notcategory3, ..., notcategory9
- Optional. Filters out effects from the given categories.
- titlematch
- Optional. Selects only pages the titlematch filter applies to. Broken bars can be used for multiple titles.
- notitlematch
- Optional. Exludes pages. Should only be used with other criteria. Broken bars can be used for multiple titles.
- linksfrom
- Optional. Filters out effects that are not linked from the specified page.
- show campaign
- Optional. Show/hide the campaign column. Possible values:
y,n(default:n) - show type
- Optional. Show/hide the effect type column. Possible values:
y,n(default:n) - color scheme
- Optional. Use the color scheme of the specified profession for border and header colors. If not specified,
#EFEfor border and#ADAfor header background are used.