Template:Skill table: differenze tra le versioni
Jump to navigation
Jump to search
Nessun oggetto della modifica |
Nessun oggetto della modifica |
||
Riga 105: | Riga 105: | ||
</pre> | </pre> | ||
=== | === Parametri === | ||
; category, category2, category3 | ; category, category2, category3 | ||
: Optional. Selects only the skills from the given categories. Titlematch can match multiple titles if they are separated by broken bar (¦) characters, which can be inserted with <nowiki>{{subst:broken bar}}</nowiki>. | : Optional. Selects only the skills from the given categories. Titlematch can match multiple titles if they are separated by broken bar (¦) characters, which can be inserted with <nowiki>{{subst:broken bar}}</nowiki>. | ||
Riga 137: | Riga 137: | ||
: Optional. Header label of the recharge column (default: [[Image:Tango-recharge-darker.png]]) | : Optional. Header label of the recharge column (default: [[Image:Tango-recharge-darker.png]]) | ||
== | == Esempi == | ||
* [[ | * [[Lista abilità guerriero]], [[Lista abilità esploratore]], [[Lista abilità mistico]], [[Lista abilità negromante]], [[Lista abilità ipnotizzatore]], [[Lista abilità elementalista]], [[Lista abilità assassino]], [[Lista abilità ritualista]], [[Lista abilità paragon]], [[Lista abilità derviscio]] | ||
== | == Vedi anche == | ||
* [https://followthescore.org/dpldemo/index.php/DPL:Manual DPL | * [https://followthescore.org/dpldemo/index.php/DPL:Manual Manuale DPL] | ||
[[Categoria:Template abilità|{{PAGENAME}}]] | [[Categoria:Template abilità|{{PAGENAME}}]] | ||
</noinclude> | </noinclude> |
Versione delle 16:49, 17 ott 2023
Description
This template outputs a table of skills, with data gathered from the usage of Template:Skill infobox on those skills' pages.
A simple example that would show all skills that are in Categoria:Sigilli or Categoria:Urla, and are also in Categoria:Abilità d'elite, along with displaying a column with the profession of each skill:
{{ Skill table | category = Signets¦Shouts | category2 = Elite skills | show profession = y }}
Full list of usable parameters:
{{ Skill table | category = | category2 = | category3 = | notcategory = | notcategory2 = | notcategory3 = | notcategory4 = | notcategory5 = | notcategory6 = | notcategory7 = | notcategory8 = | notcategory9 = | namespace = | titlematch = | notitlematch = | linksfrom = | show profession = | show attribute = | show campaign = | inner format = | color scheme = | extra cost header = | cost header = | activation header = | recharge header = }}
Parametri
- category, category2, category3
- Optional. Selects only the skills 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 skills from the given categories.
- namespace
- Optional. Specifies from which namespace to include results from, while excluding others. Defaults to the main namespace.
- 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 skills that are not linked from the specified page.
- show profession
- Optional. Show/hide the profession column. If shown, backgrounds are no longer colored by profession. Possible values:
y
,n
(default:n
) - show attribute
- Optional. Show/hide the attribute column. Possible values:
y
,n
(default:n
) - show campaign
- Optional. Show/hide the campaign column. Possible values:
y
,n
(default:n
) - inner format
- Optional. The subpagename of the template used in formatting the bulk of each row. (default: "row format", which specifies Template:Skill infobox/row format)
- color scheme
- Optional. Use the color scheme of the specified profession for border and header colors. If not specified,
#EFE
for border and#ADA
for header background are used. - extra cost header
- Optional. Header label of the extra cost column (default hidden)
- cost header
- Optional. Header label of the cost column (default:
)
- activation header
- Optional. Header label of the activation column (default:
)
- recharge header
- Optional. Header label of the recharge column (default:
)
Esempi
- Lista abilità guerriero, Lista abilità esploratore, Lista abilità mistico, Lista abilità negromante, Lista abilità ipnotizzatore, Lista abilità elementalista, Lista abilità assassino, Lista abilità ritualista, Lista abilità paragon, Lista abilità derviscio