Pour pouvoir importer des images sur le serveur et consulter le wiki sans publicité, vous devez vous connecter.
Différences entre les versions de « Modèle:Infobox Compétence Tableau triables »
Aller à la navigation
Aller à la recherche
m |
m |
||
Ligne 46 : | Ligne 46 : | ||
}} | }} | ||
¶! style="border: 1px solid #FFF; border-left: none;" class="unsortable" ¦ | ¶! style="border: 1px solid #FFF; border-left: none;" class="unsortable" ¦ | ||
{{ #ifeq: {{{show profession|n}}} | y | ¶! style="border: 1px solid #FFF; {{ #ifeq: {{{show attribute|n}}} | y | border-right: none; }} white-space: nowrap;" ¦ [[Profession | {{ #ifeq: {{{show profession|n}}} | y | ¶! style="border: 1px solid #FFF; {{ #ifeq: {{{show attribute|n}}} | y | border-right: none; }} white-space: nowrap;" ¦ [[Profession]] }} | ||
{{ #ifeq: {{{show attribute|n}}} | y | ¶! style="border: 1px solid #FFF; {{ #ifeq: {{{show profession|n}}} | y | border-left: none; }} white-space: nowrap;" ¦ [[Caractéristique]] }} | {{ #ifeq: {{{show attribute|n}}} | y | ¶! style="border: 1px solid #FFF; {{ #ifeq: {{{show profession|n}}} | y | border-left: none; }} white-space: nowrap;" ¦ [[Caractéristique]] }} | ||
{{ #ifeq: {{{show campaign|n}}} | y | ¶! style="border: 1px solid #FFF; white-space: nowrap;" ¦ [[Campagne]] }},,,¶¦} | {{ #ifeq: {{{show campaign|n}}} | y | ¶! style="border: 1px solid #FFF; white-space: nowrap;" ¦ [[Campagne]] }},,,¶¦} |
Version du 9 juillet 2008 à 02:20
Description
Ce modèle permet de créer un tableau avec une fonction de trie par colonne. Ce tableau est un condensé des paramètres passés au modèle {{Infobox Compétence}} sur chaque page de compétence.
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:
{{ Skill table | category = Signets¦Shouts | category2 = Elite skills | show profession = y }}
Syntaxe
{{ Skill table | category = | category2 = | category3 = | notcategory = | notcategory2 = | notcategory3 = | notcategory4 = | notcategory5 = | notcategory6 = | notcategory7 = | notcategory8 = | notcategory9 = | titlematch = | linksfrom = | show profession = | show attribute = | show campaign = | inner format = | color scheme = | extra cost header = | cost header = | activation header = | recharge header = }}
Paramètres
- 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.
- titlematch
- Optional. Selects only pages, the titlematch filter applies to. 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: Fichier:Tango-energy.png)
- activation header
- Optional. Header label of the activation column (default: Fichier:Tango-activation-darker.png)
- recharge header
- Optional. Header label of the recharge column (default: Fichier:Tango-recharge-darker.png)