Template:ColoredLink

From 118Wiki
Jump to navigation Jump to search

Creates a colored link. The following formats are equal:

{{ColoredLink|Article's Original Name|Color|Optional Name for the Link}}
{{ColoredLink|link=Article's Original Name|color=Color|text=Optional Name for the Link}}

Note, uses "canon" colors from Template:TextColor, not HTML color names for those redefined there. Use non-redefined names or other systems (e.g. HEX codes) to override this.

Examples

{{ColoredLink|Ship Histories|gold}}
Ship Histories
{{ColoredLink|DS17 Non-Playing Character Listing|#B57EDC|DS17 NPCs}}
DS17 NPCs
{{ColoredLink|link=USS Artemis-A/Science|text=Artemis Science Department|color=blue}}
Artemis Science Department


Template Data

Creates a colored link.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Linklink 1

Page where the link leads to

Page namerequired
Colorcolor 2

Color of the link. Use "canon" colors or other color codes (e.g. HEX).

Example
blue
Linesuggested
Texttext 3

Optional name for the link

Stringoptional