Template:Color link

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search

Usage

{{color link|green|Main Page}}

Main Page

{{color link|#C00|Main Page|Fake link}}

Fake link

{{color link|#C00|bg=orange|Main Page|Fake link}}

Fake link

About

Changes the color of a link from the default. You can use a color name or a hexadecimal, but if it's hex be sure to include a # before the alphanumeric sequence.

Parameters

Required
  • 1 - The link color.
  • 2 - The page name.
Optional
  • 3 - The link text, if different.
  • bg - The background color.
  • dark - The link color in dark mode, if different.
  • darkbg - The background color in dark mode, if different.
  • class - One or more classes to apply to the span element.

See also