Template:Colour box

From Killing Floor Wiki
Jump to: navigation, search

    

[edit] [purge] Template-info.svg Template documentation

[edit] Usage

{{Colour box|colour|text|link}}

  • Colours are most commonly specified as either a colour keyword or as the hexadecimal triplet representing an RGB combination.
  • Text is optional; it is displayed using the default style foreground colour as prescribed by CSS. For most users this is black.
  • The link parameter is also optional and specifies the link to the article to which the text should point.
Examples
Visual effect Markup
     {{Colour box|Red}}
  Default colour for this text  {{Colour box|Fuchsia|Default colour for this text}}
  Link to the main page  {{Colour box|Yellow|Link to the main page|Main Page}}
  Using an X11 colour name  {{Colour box|Chartreuse|'''Using an X11 colour name'''|Main Page}}
  Using RGB hex triplet  {{Colour box|#FEDCBA|''Using RGB hex triplet''|Main Page}}
Text marker examples
Visual effect Markup
  ^  {{Colour box|#CEF2E0|^}}
  †  {{Colour box|#CEDFF2|†}}
  ‡  {{Colour box|#DDCEF2|‡}}
  *  {{Colour box|#F2E0CE|*}}

Note: The HTML code * must be used if the text begins with an asterisk; otherwise, it will be interpreted as an unordered list entry.

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox