Predložak:Primjer boja

Izvor: Hrvatska internetska enciklopedija
Prijeđi na navigaciju Prijeđi na pretraživanje

== Usage ==
  • {{{{safesubst:#invoke:Separated entries|main|Primjer boja|red|separator=|}}}} → 
  • {{{{safesubst:#invoke:Separated entries|main|Primjer boja|#00FF00|separator=|}}}} → 
  • {{{{safesubst:#invoke:Separated entries|main|Primjer boja|#00FF00|separator=|}}}} → 
    Adds a description of the color for screen reader users
  • {{{{safesubst:#invoke:Separated entries|main|Primjer boja|{{Independent politician/meta/color}}|separator=|}}}} → 
    (Instead of specifying a color directly, this example uses {{Independent politician/meta/color}}, which generates #DDDDDD.)

Note: When hovered over, the template shows the value used for color as a tooltip by default. This is also heard by a screen reader. An optional parameter, |description= can be used to change that to something more user-friendly, as shown in the third example.