Template:Colored link
From Bootstrap - Demo Wiki
This is the Colord link template. It is used to change the color or weight of an internal link to a page.
Description
We use this template as a utility for link display. It is used to change the color or weight of an internal link to a page.
Parameters
- 1 - page name
- Sets the name of the page to link to. This is a required parameter.
- 2 - link text
- Sets the text for the link to the page to link to with parameter "1". type for the template. This is an optional parameter. It defaults to the value added to paramter "1".
- 3 - link text coor
- Sets the color for the text of the link to the page to link to with parmeter "1". This is an optional parameter. It defaults to
#1B599B
, the default color for internal links on this wiki. It can be set to any hex code for colors.
- 4 - page name
- Sets the font weight for the text of the link to the page to link to with parameter "1". This is an optional parameter. It defaults to
400
, the default font weight for internal links on wikis. It can be set to the following values:100
- Ultra Light,200
- Extra Light,300
- Light,400
- Normal,500
- Medium,600
- Semi Bold,700
- Bold,800
- Extra Bold,900
- Ultra Bold.
Structure
{{Colord link
|1=
|2=
|3=
|4=
}}
Examples
internal link
{{Colored link |User:Karsten Hoffmeyer }}
internal link with changed link text
{{Colored link |User:Karsten Hoffmeyer |Karsten Hoffmeyer }}
internal link with changed link text, and link color
{{Colored link |User:Karsten Hoffmeyer |Karsten Hoffmeyer |#6C0 }}
internal link with changed link text, link color, and font weight
{{Colored link |User:Karsten Hoffmeyer |Karsten Hoffmeyer |#6C0 |900 }}
internal link with changed link text, and font weight
{{Colored link |User:Karsten Hoffmeyer |Karsten Hoffmeyer | |900 }}