Différences entre les versions de « Utilisateur:Lunaramethyst/Infobox »

Le WikiHalo rappelle à ses contributeurs que toute information ajoutée doit être officielle et vérifiable. Les contributions sans sources et les théories sur Halo Infinite seront rejetées.
Ligne 28 : Ligne 28 :
}}
}}
{{!}}-
{{!}}-
<!-- Attributs -->{{!}} colspan=6 {{!}} {{#if:{{{Mot-clé1|}}}|'''{{{Mot-clé1}}}''' : }}{{{Attribut1|}}}{{#if:{{{Mot-clé12|}}}|<br />'''{{{Mot-clé12}}}''' : }}{{{Attribut12|}}} <!--
<!-- Attributs -->{{!}} colspan=6 {{!}} {{{Attribut1|}}}{{#if:{{{Attribut12|}}}|, {{{Attribut12}}}|}} <!--
-->{{#if:{{{Masquer2|}}}|| {{!}}{{!}} colspan=6 {{!}} {{#if:{{{Mot-clé2|}}}|'''{{{Mot-clé2}}}''' : }}{{{Attribut2|}}}{{#if:{{{Mot-clé22|}}}|<br />'''{{{Mot-clé22}}}''' : }}{{{Attribut22|}}} <!--
-->{{#if:{{{Masquer2|}}}|| {{!}}{{!}} colspan=6 {{!}} {{{Attribut2|}}}{{#if:{{{Attribut22|}}}|, {{{Attribut22}}}|}} <!--
-->{{#if:{{{Masquer3|}}}|| {{!}}{{!}} colspan=6 {{!}} {{#if:{{{Mot-clé3|}}}|'''{{{Mot-clé3}}}''' : }}{{{Attribut3|}}}{{#if:{{{Mot-clé32|}}}|<br />'''{{{Mot-clé32}}}''' : }}{{{Attribut32|}}} <!--
-->{{#if:{{{Masquer3|}}}|| {{!}}{{!}} colspan=6 {{!}} {{{Attribut3|}}}{{#if:{{{Attribut32|}}}|, {{{Attribut32}}}|}} <!--
-->{{#if:{{{Masquer4|}}}|| {{!}}{{!}} colspan=6 {{!}} {{#if:{{{Mot-clé4|}}}|'''{{{Mot-clé4}}}''' : }}{{{Attribut4|}}}{{#if:{{{Mot-clé42|}}}|<br />'''{{{Mot-clé42}}}''' : }}{{{Attribut42|}}} }}}}}}
-->{{#if:{{{Masquer4|}}}|| {{!}}{{!}} colspan=6 {{!}} {{{Attribut4|}}}{{#if:{{{Attribut42|}}}|, {{{Attribut42}}}|}}}}}}}}
{{#if:{{{Pouvoir|}}}||
{{#if:{{{Pouvoir|}}}||
{{!}}-
{{!}}-
Ligne 61 : Ligne 61 :
|Véhicules1=
|Véhicules1=
|Aéronefs1=
|Aéronefs1=
|Mot-clé1=
|Attribut1=
|Attribut1=
|Mot-clé12=
|Attribut12=
|Attribut12=
|Capacité1=
|Capacité1=
Ligne 78 : Ligne 76 :
|Véhicules2=
|Véhicules2=
|Aéronefs2=
|Aéronefs2=
|Mot-clé2=
|Attribut2=
|Attribut2=
|Mot-clé22=
|Attribut22=
|Attribut22=
|Capacité2=
|Capacité2=
Ligne 95 : Ligne 91 :
|Véhicules3=
|Véhicules3=
|Aéronefs3=
|Aéronefs3=
|Mot-clé3=
|Attribut3=
|Attribut3=
|Attribut32=
|Capacité3=
|Capacité3=
|Mot-clé32=
|Attribut32=
|Commandant3=
|Commandant3=


Ligne 112 : Ligne 106 :
|Véhicules4=
|Véhicules4=
|Aéronefs4=
|Aéronefs4=
|Mot-clé4=
|Attribut4=
|Attribut4=
|Mot-clé42=
|Attribut42=
|Attribut42=
|Capacité4=
|Capacité4=
Ligne 129 : Ligne 121 :
*Niveaux : Niveau maximal atteignable.
*Niveaux : Niveau maximal atteignable.
*Infanterie/Véhicules/Aéronefs : Indiquer la couleur présente sur la carte parmi les quatre options possibles : vert, rouge, jaune ou gris. Indiquer une autre couleur mettra la couleur par défaut du tableau.
*Infanterie/Véhicules/Aéronefs : Indiquer la couleur présente sur la carte parmi les quatre options possibles : vert, rouge, jaune ou gris. Indiquer une autre couleur mettra la couleur par défaut du tableau.
*Mot-clé : Mot(s)-clé(s) de(s) l'attribut(s) de la carte, si applicable.
*Attribut : Attribut de la carte si applicable. Si l'attribut est un mot seul, utiliser le modèle [[Blist/Liste/Attributs]].
*Attribut : Attribut de la carte, ou description du ou des mot(s)-clé(s), si applicable.
*Capacité : Capacité associée au bouton Y de la carte, si applicable. La couleur jaune ne s'active que si ce paramètre est rempli.
*Capacité : Capacité associée au bouton Y de la carte, si applicable. La couleur jaune ne s'active que si ce paramètre est rempli.
*Commandant : Commandant auquel la carte est unique, si applicable.
*Commandant : Commandant auquel la carte est unique, si applicable.
*Masquer : Permet de ne pas afficher les colonnes 2 (Masquer2), 3 (Masquer3) ou 4 (Masquer4). Utiliser Masquer3 masque les colonnes 3 et 4 en même temps, et Masquer2 masque les colonnes 2, 3 et 4.
*Masquer : Permet de ne pas afficher les colonnes 2 (Masquer2), 3 (Masquer3) ou 4 (Masquer4). Utiliser Masquer3 masque les colonnes 3 et 4 en même temps, et Masquer2 masque les colonnes 2, 3 et 4.
<!--
{{#if:{{{Colonnes|}}}|
|-
! colspan=6 | {{{Nom1}}}<br />(''{{{NomVO1}}}'') !! colspan=6 | {{{Nom2}}}<br />(''{{{NomVO2}}}'') !! colspan=6 | {{{Nom3}}}<br />(''{{{NomVO3}}}'') !! colspan=6 | {{{Nom4}}}<br />(''{{{NomVO4}}}'')
|-
| colspan=6 align="center" | {{{Image1}}} || colspan=6 align="center" | {{{Image2}}} || colspan=6 align="center" | {{{Image3}}} || colspan=6 align="center" | {{{Image4}}}
|-
| colspan=3 align="center" | Coût : '''{{{Coût1}}}''' || colspan=3  align="center" | Niveaux : {{{Niveaux1}}} || colspan=3 align="center" | Coût : '''{{{Coût2}}}''' || colspan=3  align="center" | Niveaux : {{{Niveaux2}}} || colspan=3 align="center" | Coût : '''{{{Coût3}}}''' || colspan=3  align="center" | Niveaux : {{{Niveaux3}}} ||colspan=3 align="center" | Coût : '''{{{Coût4}}}''' || colspan=3  align="center" | Niveaux : {{{Niveaux4}}}
{{#if:{{{Pouvoir|}}}| bbbb | |-
| colspan=2 align="center" bgcolor="#{{#switch:{{{Infanterie1}}}|vert=A8E4A0|rouge=F08080|jaune=C0CC66|gris=999999|default=}}" | Infanterie || colspan=2  align="center" bgcolor="#{{#switch:{{{Véhicules1}}}|vert=A8E4A0|rouge=F08080|jaune=C0CC66|gris=999999|default=}}" | Véhicules || colspan=2  align="center" bgcolor="#{{#switch:{{{Aéronefs1}}}|vert=A8E4A0|rouge=F08080|jaune=C0CC66|gris=999999|default=}}" | Aéronefs ||colspan=2 align="center" bgcolor="#{{#switch:{{{Infanterie2}}}|vert=A8E4A0|rouge=F08080|jaune=C0CC66|gris=999999|default=}}" | Infanterie || colspan=2  align="center" bgcolor="#{{#switch:{{{Véhicules2}}}|vert=A8E4A0|rouge=F08080|jaune=C0CC66|gris=999999|default=}}" | Véhicules || colspan=2  align="center" bgcolor="#{{#switch:{{{Aéronefs2}}}|vert=A8E4A0|rouge=F08080|jaune=C0CC66|gris=999999|default=}}" | Aéronefs ||colspan=2 align="center" bgcolor="#{{#switch:{{{Infanterie3}}}|vert=A8E4A0|rouge=F08080|jaune=C0CC66|gris=999999|default=}}" | Infanterie || colspan=2  align="center" bgcolor="#{{#switch:{{{Véhicules3}}}|vert=A8E4A0|rouge=F08080|jaune=C0CC66|gris=999999|default=}}" | Véhicules || colspan=2  align="center" bgcolor="#{{#switch:{{{Aéronefs3}}}|vert=A8E4A0|rouge=F08080|jaune=C0CC66|gris=999999|default=}}" | Aéronefs ||colspan=2 align="center" bgcolor="#{{#switch:{{{Infanterie4}}}|vert=A8E4A0|rouge=F08080|jaune=C0CC66|gris=999999|default=}}" | Infanterie || colspan=2  align="center" bgcolor="#{{#switch:{{{Véhicules4}}}|vert=A8E4A0|rouge=F08080|jaune=C0CC66|gris=999999|default=}}" | Véhicules || colspan=2  align="center" bgcolor="#{{#switch:{{{Aéronefs4}}}|vert=A8E4A0|rouge=F08080|jaune=C0CC66|gris=999999|default=}}" | Aéronefs
}}
|-
| colspan=6 | {{#if:{{{Mot-clé1|}}}|'''{{{Mot-clé1}}}''' : }}{{{Attribut1|}}}{{#if:{{{Mot-clé12|}}}|<br />'''{{{Mot-clé12}}}''' : }}{{{Attribut12|}}} || colspan=6 | {{#if:{{{Mot-clé2|}}}|'''{{{Mot-clé2}}}''' : }}{{{Attribut2|}}}{{#if:{{{Mot-clé22|}}}|<br />'''{{{Mot-clé22}}}''' : }}{{{Attribut22|}}} || colspan=6 | {{#if:{{{Mot-clé3|}}}|'''{{{Mot-clé3}}}''' : }}{{{Attribut3|}}}{{#if:{{{Mot-clé32|}}}|<br />'''{{{Mot-clé32}}}''' : }}{{{Attribut32|}}} || colspan=6 | {{#if:{{{Mot-clé4|}}}|'''{{{Mot-clé4}}}''' : }}{{{Attribut4|}}}{{#if:{{{Mot-clé42|}}}|<br />'''{{{Mot-clé42}}}''' : }}{{{Attribut42|}}}
{{#if:{{{Pouvoir|}}}|||-
| colspan=6  {{#if:{{{Capacité1|}}}|bgcolor="#C0CC66"}}| {{{Capacité1|}}} || colspan=6  {{#if:{{{Capacité2|}}}|bgcolor="#C0CC66"}}| {{{Capacité2|}}} || colspan=6  {{#if:{{{Capacité3|}}}|bgcolor="#C0CC66"}}| {{{Capacité3|}}} || colspan=6  {{#if:{{{Capacité4|}}}|bgcolor="#C0CC66"}}| {{{Capacité4|}}}
}}
|-
| colspan=6 align="center" | {{{Commandant1|}}} || colspan=6 align="center" | {{{Commandant2|}}} || colspan=6 align="center" | {{{Commandant3|}}} || colspan=6 align="center" | {{{Commandant4|}}}
|-
}}-->
</noinclude>
</noinclude>

Version du 20 janvier 2017 à 22:10


Ce modèle est exclusif à la page Blitz/Liste et permet de faciliter l'utilisation des tableaux. Ce modèle créé une unique ligne de quatre colonnes. Si plusieurs lignes de tableau sont nécessaires, placer plusieurs fois ce modèle à la suite. Ces modèles doivent être entourés des codes « {| class="wikitable" » et « |} » pour fonctionner.

{{Utilisateur:Lunaramethyst/Infobox
|Pouvoir=

|Nom1=
|NomVO1=
|Classification1=
|Image1=
|Coût1=
|Niveaux1=
|Infanterie1=
|Véhicules1=
|Aéronefs1=
|Attribut1=
|Attribut12=
|Capacité1=
|Commandant1=

|Masquer2=
|Nom2=
|NomVO2=
|Classification2=
|Image2=
|Coût2=
|Niveaux2=
|Infanterie2=
|Véhicules2=
|Aéronefs2=
|Attribut2=
|Attribut22=
|Capacité2=
|Commandant2=

|Masquer3=
|Nom3=
|NomVO3=
|Classification3=
|Image3=
|Coût3=
|Niveaux3=
|Infanterie3=
|Véhicules3=
|Aéronefs3=
|Attribut3=
|Attribut32=
|Capacité3=
|Commandant3=

|Masquer4=
|Nom4=
|NomVO4=
|Classification4=
|Image4=
|Coût4=
|Niveaux4=
|Infanterie4=
|Véhicules4=
|Aéronefs4=
|Attribut4=
|Attribut42=
|Capacité4=
|Commandant4=
}}

Les chiffres suivant les noms de paramètres indiquent la colonne concernée. Si le paramètre Masquer est utilisé, les paramètres liés aux colonnes masquées peuvent être supprimés.

  • Pouvoir : Si les cartes sont des pouvoirs, indiquer « Oui » (ou autre chose). Sinon, ne rien mettre. Permet de désactiver les cases des forces et faiblesses et de la capacité, qui ne sont pas applicables à ce type de cartes.
  • Nom : Le nom en français de la carte
  • NomVO : Le nom en anglais de la carte
  • Classification : Indiquée en inspectant la carte en-dessous de son type.
  • Coût : Coût de la carte en énergie
  • Niveaux : Niveau maximal atteignable.
  • Infanterie/Véhicules/Aéronefs : Indiquer la couleur présente sur la carte parmi les quatre options possibles : vert, rouge, jaune ou gris. Indiquer une autre couleur mettra la couleur par défaut du tableau.
  • Attribut : Attribut de la carte si applicable. Si l'attribut est un mot seul, utiliser le modèle Blist/Liste/Attributs.
  • Capacité : Capacité associée au bouton Y de la carte, si applicable. La couleur jaune ne s'active que si ce paramètre est rempli.
  • Commandant : Commandant auquel la carte est unique, si applicable.
  • Masquer : Permet de ne pas afficher les colonnes 2 (Masquer2), 3 (Masquer3) ou 4 (Masquer4). Utiliser Masquer3 masque les colonnes 3 et 4 en même temps, et Masquer2 masque les colonnes 2, 3 et 4.