« Modèle:CellStyle » : différence entre les versions
De Pikmin FR
m Text replacement - "Category:Table cell Templates" to "Category:Table cell templates" |
fr>Fxfxfx0 Copie et traduction de https://splatoonwiki.org/wiki/Template:CellStyle |
||
Ligne 2 : | Ligne 2 : | ||
|no=style="background-color:#FFB8B8; color:#7A0000;"{{!}}{{{2|}}} | |no=style="background-color:#FFB8B8; color:#7A0000;"{{!}}{{{2|}}} | ||
|yes=style="background-color:#A9DE00; color:#003D0F;"{{!}}{{{2|}}} | |yes=style="background-color:#A9DE00; color:#003D0F;"{{!}}{{{2|}}} | ||
|partial=style="background-color:#f90; color:#222;"{{!}}{{{2| | |partial=style="background-color:#f90; color:#222;"{{!}}{{{2|Partiel}}} | ||
|fullyactive=style="background-color:#296600; color:white;"{{!}}{{{2|''' | |fullyactive=style="background-color:#296600; color:white;"{{!}}{{{2|'''Totalement actif'''}}} | ||
|latelyinactive=style="background-color:#8A4500; color:white;"{{!}}{{{2|''' | |latelyinactive=style="background-color:#8A4500; color:white;"{{!}}{{{2|'''Récemment inactif'''}}} | ||
|inactive=style="background-color:#AD0000; color:white;"{{!}}{{{2|''' | |inactive=style="background-color:#AD0000; color:white;"{{!}}{{{2|'''Inactif'''}}} | ||
|excused=style="background-color:#595959; color:white;"{{!}}{{{2|''' | |excused=style="background-color:#595959; color:white;"{{!}}{{{2|'''Excusé'''}}} | ||
|'''<span style="color:#FFB8B8;"> | |'''<span style="color:#FFB8B8;">Style inconnu</span>'''}}</onlyinclude> | ||
Ce modèle permet de styliser des cellules de tableau. | |||
* {{t|CellStyle|style}} | * {{t|CellStyle|style}} | ||
* {{t|CellStyle|style| | * {{t|CellStyle|style|texte personnalisé}} | ||
{| class="wikitable" | {| class="wikitable" | ||
|+ | |+ Styles actuels | ||
! | !Utilisation du style | ||
! | !Exemple de style | ||
|- | |- | ||
|<nowiki>{{CellStyle|yes}}</nowiki> | |<nowiki>{{CellStyle|yes}}</nowiki> | ||
|{{CellStyle|yes}} | |{{CellStyle|yes}} | ||
|- | |- | ||
|<nowiki>{{CellStyle|yes| | |<nowiki>{{CellStyle|yes|Oui}}</nowiki> | ||
|{{CellStyle|yes| | |{{CellStyle|yes|Oui}} | ||
|- | |- | ||
|<nowiki>{{CellStyle|no}}</nowiki> | |<nowiki>{{CellStyle|no}}</nowiki> | ||
|{{CellStyle|no}} | |{{CellStyle|no}} | ||
|- | |- | ||
|<nowiki>{{CellStyle|no| | |<nowiki>{{CellStyle|no|Non}}</nowiki> | ||
|{{CellStyle|no| | |{{CellStyle|no|Non}} | ||
|- | |- | ||
|<nowiki>{{CellStyle|partial}}</nowiki> | |<nowiki>{{CellStyle|partial}}</nowiki> | ||
|{{CellStyle|partial}} | |{{CellStyle|partial}} | ||
|- | |- | ||
|<nowiki>{{CellStyle|partial| | |<nowiki>{{CellStyle|partial|Peut faire x mais pas y}}</nowiki> | ||
|{{CellStyle|partial| | |{{CellStyle|partial|Peut faire x mais pas y}} | ||
|- | |- | ||
|<nowiki>{{CellStyle|fullyactive}}</nowiki> | |<nowiki>{{CellStyle|fullyactive}}</nowiki> | ||
Ligne 48 : | Ligne 48 : | ||
|- | |- | ||
|} | |} | ||
<!-- | <!-- Notez que, en raison du chargement des modèles, les aperçus de ce tableau avec des changements ne s'afficheront pas. --> | ||
[[ | [[Catégorie:Modèles]] | ||
[[ | [[Catégorie:Modèles de cellules de tableau]] |
Version du 17 mai 2024 à 17:06
Ce modèle permet de styliser des cellules de tableau.
Utilisation du style | Exemple de style |
---|---|
{{CellStyle|yes}} | |
{{CellStyle|yes|Oui}} | Oui |
{{CellStyle|no}} | |
{{CellStyle|no|Non}} | Non |
{{CellStyle|partial}} | Partiel |
{{CellStyle|partial|Peut faire x mais pas y}} | Peut faire x mais pas y |
{{CellStyle|fullyactive}} | Totalement actif |
{{CellStyle|latelyinactive}} | Récemment inactif |
{{CellStyle|inactive}} | Inactif |
{{CellStyle|excused}} | Excusé |