« Modèle:CellStyle » : différence entre les versions

De Pikmin FR
m Text replacement - "Category:Table cell Templates" to "Category:Table cell templates"
 
m 5 versions importées
 
(4 versions intermédiaires par un autre utilisateur non affichées)
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}}}
|partial=style="background-color:#f90; color:#222;"{{!}}{{{2|Partiel}}}
|fullyactive=style="background-color:#296600; color:white;"{{!}}{{{2|'''Fully active'''}}}
|fullyactive=style="background-color:#296600; color:white;"{{!}}{{{2|'''Pleinement actif'''}}}
|latelyinactive=style="background-color:#8A4500; color:white;"{{!}}{{{2|'''Lately inactive'''}}}
|latelyinactive=style="background-color:#8A4500; color:white;"{{!}}{{{2|'''Récemment inactif'''}}}
|inactive=style="background-color:#AD0000; color:white;"{{!}}{{{2|'''Inactive'''}}}
|inactive=style="background-color:#AD0000; color:white;"{{!}}{{{2|'''Inactif'''}}}
|excused=style="background-color:#595959; color:white;"{{!}}{{{2|'''Excused'''}}}
|excused=style="background-color:#595959; color:white;"{{!}}{{{2|'''Excusé'''}}}
|'''<span style="color:#FFB8B8;">Unknown style</span>'''}}</onlyinclude>
|'''<span style="color:#FFB8B8;">Style inconnu</span>'''}}</onlyinclude>
This template allows styling of table cells.
Ce modèle permet de styliser des cellules de tableau.
* {{t|CellStyle|style}}
* {{t|CellStyle|style}}
* {{t|CellStyle|style|custom text output}}
* {{t|CellStyle|style|texte personnalisé}}


{| class="wikitable"
{| class="wikitable"
|+ Current styles
|+ Styles actuels
!Style usage
!Utilisation du style
!Style example
!Exemple de style
|-
|-
|<nowiki>{{CellStyle|yes}}</nowiki>
|<nowiki>{{CellStyle|yes}}</nowiki>
|{{CellStyle|yes}}
|{{CellStyle|yes}}
|-
|-
|<nowiki>{{CellStyle|yes|Yes}}</nowiki>
|<nowiki>{{CellStyle|yes|Oui}}</nowiki>
|{{CellStyle|yes|Yes}}
|{{CellStyle|yes|Oui}}
|-
|-
|<nowiki>{{CellStyle|no}}</nowiki>
|<nowiki>{{CellStyle|no}}</nowiki>
|{{CellStyle|no}}
|{{CellStyle|no}}
|-
|-
|<nowiki>{{CellStyle|no|No}}</nowiki>
|<nowiki>{{CellStyle|no|Non}}</nowiki>
|{{CellStyle|no|No}}
|{{CellStyle|no|Non}}
|-
|-
|<nowiki>{{CellStyle|partial}}</nowiki>
|<nowiki>{{CellStyle|partial}}</nowiki>
|{{CellStyle|partial}}
|{{CellStyle|partial}}
|-
|-
|<nowiki>{{CellStyle|partial|Can do x but not y}}</nowiki>
|<nowiki>{{CellStyle|partial|Peut faire x mais pas y}}</nowiki>
|{{CellStyle|partial|Can do x but not y}}
|{{CellStyle|partial|Peut faire x mais pas y}}
|-
|-
|<nowiki>{{CellStyle|fullyactive}}</nowiki>
|<nowiki>{{CellStyle|fullyactive}}</nowiki>
Ligne 48 : Ligne 48 :
|-
|-
|}
|}
<!-- Note that due to template loading, previews of this table with changes will not show. -->
<!-- Notez que, en raison du chargement des modèles, les aperçus de ce tableau avec des changements ne s'afficheront pas. -->


[[Category:Templates]]
[[Catégorie:Modèles]]
[[Category:Table cell templates]]
[[Catégorie:Modèles de cellules de tableaux]]

Dernière version du 9 avril 2025 à 21:32

Ce modèle permet de styliser des cellules de tableau.

Styles actuels
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}} Pleinement actif
{{CellStyle|latelyinactive}} Récemment inactif
{{CellStyle|inactive}} Inactif
{{CellStyle|excused}} Excusé