Sjabloon:Font color/doc: verschil tussen versies

Uit informatiestandaarden
Ga naar: navigatie, zoeken
(See also)
(Usage)
 
Regel 7: Regel 7:
 
Examples of use:
 
Examples of use:
 
*'''<nowiki>{{Font color|blue|this is about plants}}</nowiki>''': {{Font color|blue|this is about plants}}:(it appears in blue text).
 
*'''<nowiki>{{Font color|blue|this is about plants}}</nowiki>''': {{Font color|blue|this is about plants}}:(it appears in blue text).
*'''<nowiki>{{Font color|#0033CC|this is about plants}}</nowiki>''':  {{Font color|#0033CC|this is about plants}}: ([[Web colors#Hex triplet|Hex triplet]] codes work also)
+
*'''<nowiki>{{Font color|#0033CC|this is about plants}}</nowiki>''':  {{Font color|#0033CC|this is about plants}}: ([[Wikipedia:Web colors#Hex triplet|Hex triplet]] codes work also)
 
*'''<nowiki>{{Font color||red|text in red background}}</nowiki>''': {{Font color||red|text in red background}}:(no parameters are used for the text color, only for the background)
 
*'''<nowiki>{{Font color||red|text in red background}}</nowiki>''': {{Font color||red|text in red background}}:(no parameters are used for the text color, only for the background)
 
*'''<nowiki>{{Font color|red|yellow|red text with yellow background}}</nowiki>''': {{Font color|red|yellow|red text with yellow background}}
 
*'''<nowiki>{{Font color|red|yellow|red text with yellow background}}</nowiki>''': {{Font color|red|yellow|red text with yellow background}}

Huidige versie van 17 jul 2013 om 11:38

Usage

{{Font color|<text color>|<background color>|<text>}}

Examples of use:

  • {{Font color|blue|this is about plants}}: this is about plants:(it appears in blue text).
  • {{Font color|#0033CC|this is about plants}}: this is about plants: (Hex triplet codes work also)
  • {{Font color||red|text in red background}}: text in red background:(no parameters are used for the text color, only for the background)
  • {{Font color|red|yellow|red text with yellow background}}: red text with yellow background

See also