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
(Nouvelle page: <includeonly>{{ #dpl: | {{ #if: {{{category|}}} | category = {{{category}}} }} | {{ #if: {{{category2|}}} | category = {{{category2}}} }} | {{ #if: {{{category3|}}} | category = {{{ca...) |
m (Modification de la dénomination de l'espace de nom "Image" en "Fichier".) |
||
(6 versions intermédiaires par 2 utilisateurs non affichées) | |||
Ligne 19 : | Ligne 19 : | ||
| include = | | include = | ||
{{ #ifeq: {{{show profession|n}}} | y || {Infobox Compétence}:profession, }} | {{ #ifeq: {{{show profession|n}}} | y || {Infobox Compétence}:profession, }} | ||
{ | {Infobox Compétence}/{{{inner format|Formatage ligne}}}, | ||
{{ #ifeq: {{{show profession|n}}} | y | {Infobox Compétence}:profession, }} | {{ #ifeq: {{{show profession|n}}} | y | {Infobox Compétence}:profession, }} | ||
{{ #ifeq: {{{show attribute|n}}} | y | {Infobox Compétence}:caracteristique, }} | {{ #ifeq: {{{show attribute|n}}} | y | {Infobox Compétence}:caracteristique, }} | ||
Ligne 34 : | Ligne 34 : | ||
}} | }} | ||
{{ #if: {{{cost header|x}}} | {{ #if: {{{cost header|x}}} | ||
| ¶! style="border: 1px #FFF; border-style: solid none; white-space: nowrap; width: 45px;" ¦ {{{cost header|[[ | | ¶! style="border: 1px #FFF; border-style: solid none; white-space: nowrap; width: 45px;" ¦ {{{cost header|[[Fichier:Energie.png|Energie]]}}} | ||
| ¶! style="border: 1px #FFF; border-style: solid none;" class="unsortable" ¦ | | ¶! style="border: 1px #FFF; border-style: solid none;" class="unsortable" ¦ | ||
}} | }} | ||
{{ #if: {{{activation header|x}}} | {{ #if: {{{activation header|x}}} | ||
| ¶! style="border: 1px #FFF; border-style: solid none; white-space: nowrap; width: 45px;" ¦ {{{activation header|[[ | | ¶! style="border: 1px #FFF; border-style: solid none; white-space: nowrap; width: 45px;" ¦ {{{activation header|[[Fichier:Activation.png|Activation]]}}} | ||
| ¶! style="border: 1px #FFF; border-style: solid none;" class="unsortable" ¦ | | ¶! style="border: 1px #FFF; border-style: solid none;" class="unsortable" ¦ | ||
}} | }} | ||
{{ #if: {{{recharge header|x}}} | {{ #if: {{{recharge header|x}}} | ||
| ¶! style="border: 1px #FFF; border-style: solid none; white-space: nowrap; width: 45px;" ¦ {{{recharge header|[[ | | ¶! style="border: 1px #FFF; border-style: solid none; white-space: nowrap; width: 45px;" ¦ {{{recharge header|[[Fichier:Rechargement.png|Rechargement]]}}} | ||
| ¶! style="border: 1px #FFF; border-style: solid none;" class="unsortable" ¦ | | ¶! style="border: 1px #FFF; border-style: solid none;" class="unsortable" ¦ | ||
}} | }} | ||
¶! 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]] }},,,¶¦} | ||
Ligne 124 : | Ligne 124 : | ||
: Optional. Header label of the extra cost column (default hidden) | : Optional. Header label of the extra cost column (default hidden) | ||
; cost header | ; cost header | ||
: Optional. Header label of the cost column (default: [[ | : Optional. Header label of the cost column (default: [[Fichier:Tango-energy.png]]) | ||
; activation header | ; activation header | ||
: Optional. Header label of the activation column (default: [[ | : Optional. Header label of the activation column (default: [[Fichier:Tango-activation-darker.png]]) | ||
; recharge header | ; recharge header | ||
: Optional. Header label of the recharge column (default: [[ | : Optional. Header label of the recharge column (default: [[Fichier:Tango-recharge-darker.png]]) | ||
Ligne 134 : | Ligne 134 : | ||
* [[Compétence de guerrier]] ou [[Compétence de derviche]]. | * [[Compétence de guerrier]] ou [[Compétence de derviche]]. | ||
[[Catégorie: | [[Catégorie:Modèles DPL]] | ||
</noinclude> | </noinclude> |
Version actuelle datée du 30 juin 2011 à 13:04
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)