Difference between revisions of "Template:Colored link/doc"
(Template Doc Creation) |
m (Updating) |
||
Line 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
<!-- Categories go at the bottom of this page and interwikis go in Wikidata. --> | <!-- Categories go at the bottom of this page and interwikis go in Wikidata. --> | ||
− | + | {{Template shortcut|Coloredlink|Colouredlink}} | |
== Usage == | == Usage == | ||
{{Warning|'''Links in prose should never be manually colored.'''}} | {{Warning|'''Links in prose should never be manually colored.'''}} |
Latest revision as of 20:55, 8 July 2023
This is a documentation subpage for Template:Colored link. It may contain usage information, categories and other content that is not part of the original template page. |
Usage[edit]
Links in prose should never be manually colored. |
This template takes three parameters: the color of the link, the article being linked to, and optional text to display as a piped link.
{{colored link|olive|Page name to link|Alternative text}}
→ Alternative text
See also[edit]
This tables shows the various color templates in use. | ||||
---|---|---|---|---|
Color Template | style="background: Color;"
|
{{Background color|Color}}
|
{{Color|Text}}
|
{{Colored link|Color}}
|
{{White}} | Text | Text | Main page | |
{{Silver}} | Text | Text | Main page | |
{{Gray}} or {{Grey}} | Text | Text | Main page | |
{{Black}} | Text | Text | Main page | |
hot {{pink}} | Text | Text | Main page | |
{{red}} | Text | Text | Main page | |
{{darkRed}} | Text | Text | Main page | |
{{maroon}} | Text | Text | Main page | |
{{brown}} | Text | Text | Main page | |
{{orange}} | Text | Text | Main page | |
{{gold}} | Text | Text | Main page | |
{{yellow}} | Text | Text | Main page | |
{{olive}} | Text | olive | Main page | |
{{lime}} | Text | Text | Main page | |
{{green}} | Text | Text | Main page | |
{{aqua}} | Text | Text | Main page | |
{{lime}} | Text | Text | Main page | |
{{cyan}} | Text | Text | Main page | |
{{teal}} | Text | Text | Main page | |
{{azure}} | Text | Text | Main page | |
{{blue}} | Text | Text | Main page | |
{{navy}} | Text | Text | Main page | |
{{purple}} | Text | Text | Main page | |
{{fuchsia}} | Text | Text | Main page | |
{{magenta}} | Text | Text | Main page |
Color templates[edit]
- {{Background color}} or {{bg}} - sets background color
- {{Color}} or {{Red}} etc. – sets text color
- {{Font color}} – sets both text and background color
- {{Talk quote inline}}
- {{CSScolor}} - sanitizes and partially converts color codes and color names into a format supported by CSS.
- {{resize}}