Template:Skill table: differenze tra le versioni

Da Guild Wars - Wiki italiano non ufficiale.
Jump to navigation Jump to search
Nessun oggetto della modifica
Nessun oggetto della modifica
 
(7 versioni intermedie di uno stesso utente non sono mostrate)
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;">Icon</th>
<th class="unsortable" style="width: 1px; border: 1px solid #FFF;">Icona</th>
<th style="border: 1px solid #FFF; white-space: nowrap;">Name</th>
<th style="border: 1px solid #FFF; white-space: nowrap;">Nome</th>
<th style="border: 1px solid #FFF; white-space: nowrap;">Description</th>
<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>
Riga 38: Riga 38:
}}
}}
{{ #if: {{{cost header|x}}}
{{ #if: {{{cost header|x}}}
| <th style="border: 1px #FFF; border-style: solid none; white-space: nowrap; width: 45px;">{{{cost header|[[Image:Tango-energy.png|Energy]]}}}</th>
| <th style="border: 1px #FFF; border-style: solid none; white-space: nowrap; width: 45px;">{{{cost header|[[Image:Tango-energy.png|Energia]]}}}</th>
| <th style="border: 1px #FFF; border-style: solid none;" class="unsortable"></th>
| <th style="border: 1px #FFF; border-style: solid none;" class="unsortable"></th>
}}
}}
{{ #if: {{{activation header|x}}}
{{ #if: {{{activation header|x}}}
| <th style="border: 1px #FFF; border-style: solid none; white-space: nowrap; width: 45px;">{{{activation header|[[Image:Tango-activation-darker.png|Activation time]]}}}</th>
| <th style="border: 1px #FFF; border-style: solid none; white-space: nowrap; width: 45px;">{{{activation header|[[Image:Tango-activation-darker.png|Tempo di attivazione]]}}}</th>
| <th style="border: 1px #FFF; border-style: solid none;" class="unsortable"></th>
| <th style="border: 1px #FFF; border-style: solid none;" class="unsortable"></th>
}}
}}
{{ #if: {{{recharge header|x}}}
{{ #if: {{{recharge header|x}}}
| <th style="border: 1px #FFF; border-style: solid none; white-space: nowrap; width: 45px;">{{{recharge header|[[Image:Tango-recharge-darker.png|Recharge time]]}}}</th>
| <th style="border: 1px #FFF; border-style: solid none; white-space: nowrap; width: 45px;">{{{recharge header|[[Image:Tango-recharge-darker.png|Tempo di ricarica]]}}}</th>
| <th style="border: 1px #FFF; border-style: solid none;" class="unsortable"></th>
| <th style="border: 1px #FFF; border-style: solid none;" class="unsortable"></th>
}}
}}
<th style="border: 1px solid #FFF; border-left: none;" class="unsortable"></th>
<th style="border: 1px solid #FFF; border-left: none;" class="unsortable"></th>
{{ #ifeq: {{{show profession|n}}} | y | <th style="border: 1px solid #FFF; {{ #ifeq: {{{show attribute|n}}} | y | border-right: none; }} white-space: nowrap;">[[Profession|Prof.]]</th> }}
{{ #ifeq: {{{show profession|n}}} | y | <th style="border: 1px solid #FFF; {{ #ifeq: {{{show attribute|n}}} | y | border-right: none; }} white-space: nowrap;">[[Professione|Prof.]]</th> }}
{{ #ifeq: {{{show attribute|n}}} | y | <th style="border: 1px solid #FFF; {{ #ifeq: {{{show profession|n}}} | y | border-left: none; }} white-space: nowrap;">[[Attribute]]</th> }}
{{ #ifeq: {{{show attribute|n}}} | y | <th style="border: 1px solid #FFF; {{ #ifeq: {{{show profession|n}}} | y | border-left: none; }} white-space: nowrap;">[[Attributo]]</th> }}
{{ #ifeq: {{{show campaign|n}}} | y | <th style="border: 1px solid #FFF; white-space: nowrap;">[[Campaign]]</th> }}</tr>,,,</table>
{{ #ifeq: {{{show campaign|n}}} | y | <th style="border: 1px solid #FFF; white-space: nowrap;">[[Campagna]]</th> }}</tr>,,,</table>


| secseparators=
| secseparators=
Riga 65: Riga 65:
This template outputs a table of skills, with data gathered from the usage of [[Template:Skill infobox]] on those skills' pages.
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 [[:Category:Signets]] or [[:Category:Shouts]], and are also in [[:Category:Elite skills]], along with displaying a column with the profession of each skill:
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:
<pre>
<pre>
{{ Skill table
{{ Skill table
Riga 105: Riga 105:
</pre>
</pre>


=== Parameters ===
=== 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]])


== Examples ==
== Esempi ==
* [[List of warrior skills]], [[List of ranger skills]], [[List of monk skills]], [[List of necromancer skills]], [[List of mesmer skills]], [[List of elementalist skills]], [[List of assassin skills]], [[List of ritualist skills]], [[List of paragon skills]], [[List of dervish skills]]
* [[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]]


== See also ==
== Vedi anche ==
* [https://followthescore.org/dpldemo/index.php/DPL:Manual DPL Manual]
* [https://followthescore.org/dpldemo/index.php/DPL:Manual Manuale DPL]


[[Category:Template abilità|{{PAGENAME}}]]
[[Categoria:Template abilità|{{PAGENAME}}]]
</noinclude>
</noinclude>

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: Tango-energy.png)
activation header
Optional. Header label of the activation column (default: Tango-activation-darker.png)
recharge header
Optional. Header label of the recharge column (default: Tango-recharge-darker.png)

Esempi

Vedi anche