Différences entre les versions de « Modèle:Couleur »

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 5 : Ligne 5 :
|for = {{#switch: {{{2}}}|1 = <nowiki>#999999</nowiki>|2 = <nowiki>#DDDDDD</nowiki>|3 = <nowiki>#f0f0f0</nowiki>}}
|for = {{#switch: {{{2}}}|1 = <nowiki>#999999</nowiki>|2 = <nowiki>#DDDDDD</nowiki>|3 = <nowiki>#f0f0f0</nowiki>}}
|rebelles = {{#switch: {{{2}}}|1 = <nowiki>#cc2200</nowiki>|2 = <nowiki>#ff7766</nowiki>|3 = <nowiki>#ffdddd</nowiki>}}
|rebelles = {{#switch: {{{2}}}|1 = <nowiki>#cc2200</nowiki>|2 = <nowiki>#ff7766</nowiki>|3 = <nowiki>#ffdddd</nowiki>}}
|humanc = {{#switch: {{{2}}}|1 = <nowiki>#A0522D</nowiki>|2 = <nowiki>#A0522D</nowiki>|3 = <nowiki>#FFF8DC</nowiki>}}
|#default = {{#switch: {{{2}}}|1 = <nowiki>#000099</nowiki>|2 = <nowiki>#4477FF</nowiki>|3 = <nowiki>#f0f0f0</nowiki>}}
|#default = {{#switch: {{{2}}}|1 = <nowiki>#000099</nowiki>|2 = <nowiki>#4477FF</nowiki>|3 = <nowiki>#f0f0f0</nowiki>}}
}}</includeonly><noinclude>
}}</includeonly><noinclude>
Ligne 14 : Ligne 15 :
*Pour les Forerunners , nuances grises: ''for''
*Pour les Forerunners , nuances grises: ''for''
*Pour les Rebelles, nuances rouges : ''rebelles''
*Pour les Rebelles, nuances rouges : ''rebelles''
*Pour les Humains anciens, nuances ocres : ''humanc''


Si vous n'indiquez rien dans le paramètre ''faction'', l'infobox s'affichera avec les nuances de bleu.
Si vous n'indiquez rien dans le paramètre ''faction'', l'infobox s'affichera avec les nuances de bleu.
Ligne 24 : Ligne 26 :


*unsc
*unsc
**1 : <span style="background-color:#338833;">    </span>
**1 : <span style="background-color:#338833;">&nbsp;&nbsp;&nbsp;&nbsp;</span>
**2 : <span style="background-color:#66cc66;">    </span>
**2 : <span style="background-color:#66cc66;">&nbsp;&nbsp;&nbsp;&nbsp;</span>
**3 : <span style="background-color:#eeffee;">    </span>
**3 : <span style="background-color:#eeffee;">&nbsp;&nbsp;&nbsp;&nbsp;</span>
*cov
*cov
**1 : <span style="background-color:#5500cc;">    </span>
**1 : <span style="background-color:#5500cc;">&nbsp;&nbsp;&nbsp;&nbsp;</span>
**2 : <span style="background-color:#9966dd;">    </span>
**2 : <span style="background-color:#9966dd;">&nbsp;&nbsp;&nbsp;&nbsp;</span>
**3 : <span style="background-color:#eeddff;">    </span>
**3 : <span style="background-color:#eeddff;">&nbsp;&nbsp;&nbsp;&nbsp;</span>
*brutes
*brutes
**1 : <span style="background-color:#552200;">    </span>
**1 : <span style="background-color:#552200;">&nbsp;&nbsp;&nbsp;&nbsp;</span>
**2 : <span style="background-color:#994433;">    </span>
**2 : <span style="background-color:#994433;">&nbsp;&nbsp;&nbsp;&nbsp;</span>
**3 : <span style="background-color:#eeccbb;">    </span>
**3 : <span style="background-color:#eeccbb;">&nbsp;&nbsp;&nbsp;&nbsp;</span>
*for
*for
**1 : <span style="background-color:#999999;">    </span>
**1 : <span style="background-color:#999999;">&nbsp;&nbsp;&nbsp;&nbsp;</span>
**2 : <span style="background-color:#DDDDDD;">    </span>
**2 : <span style="background-color:#DDDDDD;">&nbsp;&nbsp;&nbsp;&nbsp;</span>
**3 : <span style="background-color:#f0f0f0;">    </span>
**3 : <span style="background-color:#f0f0f0;">&nbsp;&nbsp;&nbsp;&nbsp;</span>
*rebelles
*rebelles
**1 : <span style="background-color:#cc2200;">    </span>
**1 : <span style="background-color:#cc2200;">&nbsp;&nbsp;&nbsp;&nbsp;</span>
**2 : <span style="background-color:#ff7766;">    </span>
**2 : <span style="background-color:#ff7766;">&nbsp;&nbsp;&nbsp;&nbsp;</span>
**3 : <span style="background-color:#ffdddd;">    </span>
**3 : <span style="background-color:#ffdddd;">&nbsp;&nbsp;&nbsp;&nbsp;</span>
*humanc
**1 : <span style="background-color:#A0522D;">&nbsp;&nbsp;&nbsp;&nbsp;</span>
**2 : <span style="background-color:#F5DEB3;">&nbsp;&nbsp;&nbsp;&nbsp;</span>
**3 : <span style="background-color:#FFF8DC;">&nbsp;&nbsp;&nbsp;&nbsp;</span>
*Par défaut (premier paramètre absent)
*Par défaut (premier paramètre absent)
**1 : <span style="background-color:#000099;">    </span>
**1 : <span style="background-color:#000099;">&nbsp;&nbsp;&nbsp;&nbsp;</span>
**2 : <span style="background-color:#4477FF;">    </span>
**2 : <span style="background-color:#4477FF;">&nbsp;&nbsp;&nbsp;&nbsp;</span>
**3 : <span style="background-color:#f0f0f0;">    </span>
**3 : <span style="background-color:#f0f0f0;">&nbsp;&nbsp;&nbsp;&nbsp;</span>
</toggledisplay>
</toggledisplay>
</noinclude>
</noinclude>

Version du 17 mai 2015 à 02:18

Dans les infoboxes utilisant ce modèle, indiquez dans le paramètre faction le mot indiqué en italique :

  • Pour l'UNSC, nuances vertes : unsc
  • Pour les Covenants, nuances violettes : cov
  • Pour les Brutes, nuances marrons : brutes
  • Pour les Forerunners , nuances grises: for
  • Pour les Rebelles, nuances rouges : rebelles
  • Pour les Humains anciens, nuances ocres : humanc

Si vous n'indiquez rien dans le paramètre faction, l'infobox s'affichera avec les nuances de bleu.


<toggledisplay showtext="Afficher les informations techniques" hidetext="Masquer les informations techniques"> Renvoie le code hexadécimal de la couleur voulue, en fonction de la faction et du numéro de nuance choisi.

{{couleur|faction|nuance}}

  • unsc
    • 1 :     
    • 2 :     
    • 3 :     
  • cov
    • 1 :     
    • 2 :     
    • 3 :     
  • brutes
    • 1 :     
    • 2 :     
    • 3 :     
  • for
    • 1 :     
    • 2 :     
    • 3 :     
  • rebelles
    • 1 :     
    • 2 :     
    • 3 :     
  • humanc
    • 1 :     
    • 2 :     
    • 3 :     
  • Par défaut (premier paramètre absent)
    • 1 :     
    • 2 :     
    • 3 :     

</toggledisplay>