Template:Skill table: differenze tra le versioni
Jump to navigation
Jump to search
Nessun oggetto della modifica Etichetta: Ripristino manuale |
Nessun oggetto della modifica |
||
Riga 30: | Riga 30: | ||
<table class="sortable" style="width: 100%; border: 1px solid {{ #if: {{{color scheme|}}} | {{color|{{{color scheme}}}|dark}} | silver }};" cellpadding="4" cellspacing="0"> | <table class="sortable" style="width: 100%; border: 1px solid {{ #if: {{{color scheme|}}} | {{color|{{{color scheme}}}|dark}} | silver }};" cellpadding="4" cellspacing="0"> | ||
<tr style="vertical-align: middle; background: {{ #if: {{{color scheme|}}} | {{color|{{{color scheme}}}|light}} | #ADA }}"> | <tr style="vertical-align: middle; background: {{ #if: {{{color scheme|}}} | {{color|{{{color scheme}}}|light}} | #ADA }}"> | ||
<th class="unsortable" style="width: 1px; border: 1px solid #FFF;"> | <th class="unsortable" style="width: 1px; border: 1px solid #FFF;">Icona</th> | ||
<th style="border: 1px solid #FFF; white-space: nowrap;"> | <th style="border: 1px solid #FFF; white-space: nowrap;">Nome</th> | ||
<th style="border: 1px solid #FFF; white-space: nowrap;"> | <th style="border: 1px solid #FFF; white-space: nowrap;">Descrizione</th> | ||
{{ #if: {{{extra cost header|}}} | {{ #if: {{{extra cost header|}}} | ||
| <th style="border: 1px solid #FFF; border-right: none; white-space: nowrap; width: 45px;" data-sort-type="number">{{{extra cost header}}}</th> | | <th style="border: 1px solid #FFF; border-right: none; white-space: nowrap; width: 45px;" data-sort-type="number">{{{extra cost header}}}</th> |
Versione attuale delle 16:35, 18 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