Template:Colorlink
Jump to navigation
Jump to search
[[{{{1}}}|{{{1}}}]]
This template is used to create colored links with correct underline color (unlike [[Minecraft Wiki|<span style="color:green">Main page</span>]]
).
Usage[edit source]
TemplateData[edit source]
This template is used to create colored links.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Target | 1 | The page that the link targets to.
| Page name | required |
Text | 2 | The link text.
| Content | suggested |
Color | color 3 | The link color.
| String | suggested |
External | external | Makes the link an external link.
| Boolean | optional |
Class | class | The class(es) to apply to the <span> element wrapping the link.
| String | optional |
CSS | css | The CSS styles to apply to the <span> element wrapping the link.
| String | optional |
Examples[edit source]
{{Colorlink|Minecraft Wiki|Main page|green}}
{{Colorlink|http://minecraft.net|Minecraft.net|maroon|external=1|class=plainlinks}}
[view] [edit] [history] [refresh]The above documentation is transcluded from Template:Colorlink/doc.