Template:ColorIntLink

From Tardis Wiki, the free Doctor Who reference
Revision as of 23:54, 12 May 2013 by CzechBot (talk | contribs) (Protected "Template:ColorIntLink": Robot: Protecting all pages from category templates (‎[edit=sysop] (indefinite) ‎[move=sysop] (indefinite)))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Usage

This template generates an interwiki link with a custom displayed text color. It is not suitable for non-wiki links.

The template takes on the form:

{{ColorIntLink|Color|Page name|Displayed text|u=}}

Required fields

The following fields must be filled. The rest are optional.

  • color
    • The color used for the displayed text.
    • If using hex triplet (ex. #000000) the # must be replaced with #.
  • Page name
    • The name of the page to be linked to.

Optional fields

The following are some notes on optional fields.

  • Displayed text
    • Displayed text replaces Page name as the text displayed by the link.
    • The entered string will be displayed exactly.
  • u
    • Any non-empty value makes the link text underlined.

Examples

{{ColorIntLink|#CC0000|Haruhi Suzumiya|Nishonmiya Red}}

Nishonmiya Red

{{ColorIntLink|#CC0000|Haruhi Suzumiya|u=x}}

Haruhi Suzumiya