Difference between revisions of "Help:Colored link"
Jump to navigation
Jump to search
Lars Krause (talk | contribs) |
Lars Krause (talk | contribs) |
||
Line 1: | Line 1: | ||
A [[Template:Colored link|template]] is available to insert links in different colors. This template takes three parameters: the color of the link, the article being linked to, and optional text to display as a piped link. | A [[Template:Colored link|template]] is available to insert links in different colors. This template takes three parameters: the color of the link, the article being linked to, and optional text to display as a piped link. | ||
<kbd><nowiki>{{colored link|2=olive|3=Page name to link|4=Alternative text}}</nowiki></kbd> | {| class="wikitable" | ||
! String !! Example | |||
|- | |||
|<kbd><nowiki>{{colored link|2=aqua|3=Page name to link|4=Alternative text}}</nowiki></kbd> | |||
|{{colored link|aqua|Page name to link|Alternative text}} | |||
|- | |||
|<kbd><nowiki>{{colored link|2=black|3=Page name to link|4=Alternative text}}</nowiki></kbd> | |||
|{{colored link|black|Page name to link|Alternative text}} | |||
|- | |||
|<kbd><nowiki>{{colored link|2=blue|3=Page name to link|4=Alternative text}}</nowiki></kbd> | |||
|{{colored link|blue|Page name to link|Alternative text}} | |||
|- | |||
|<kbd><nowiki>{{colored link|2=brown|3=Page name to link|4=Alternative text}}</nowiki></kbd> | |||
|{{colored link|brown|Page name to link|Alternative text}} | |||
|- | |||
|<kbd><nowiki>{{colored link|2=cyan|3=Page name to link|4=Alternative text}}</nowiki></kbd> | |||
|{{colored link|cyan|Page name to link|Alternative text}} | |||
|- | |||
|<kbd><nowiki>{{colored link|2=fuchsia|3=Page name to link|4=Alternative text}}</nowiki></kbd> | |||
|{{colored link|fuchsia|Page name to link|Alternative text}} | |||
|- | |||
|<kbd><nowiki>{{colored link|2=gray|3=Page name to link|4=Alternative text}}</nowiki></kbd> | |||
|{{colored link|gray|Page name to link|Alternative text}} | |||
|- | |||
|<kbd><nowiki>{{colored link|2=green|3=Page name to link|4=Alternative text}}</nowiki></kbd> | |||
|{{colored link|green|Page name to link|Alternative text}} | |||
|- | |||
|<kbd><nowiki>{{colored link|2=lime|3=Page name to link|4=Alternative text}}</nowiki></kbd> → | |||
|{{colored link|lime|Page name to link|Alternative text}} | |||
|- | |||
|<kbd><nowiki>{{colored link|2=magenta|3=Page name to link|4=Alternative text}}</nowiki></kbd> | |||
|{{colored link|magenta|Page name to link|Alternative text}} | |||
|- | |||
|<kbd><nowiki>{{colored link|2=maroon|3=Page name to link|4=Alternative text}}</nowiki></kbd> | |||
|{{colored link|maroon|Page name to link|Alternative text}} | |||
|- | |||
|<kbd><nowiki>{{colored link|2=olive|3=Page name to link|4=Alternative text}}</nowiki></kbd> | |||
|{{colored link|olive|Page name to link|Alternative text}} | |||
|- | |||
|<kbd><nowiki>{{colored link|2=orange|3=Page name to link|4=Alternative text}}</nowiki></kbd> | |||
|{{colored link|orange|Page name to link|Alternative text}} | |||
|- | |||
|<kbd><nowiki>{{colored link|2=pink|3=Page name to link|4=Alternative text}}</nowiki></kbd> | |||
|{{colored link|pink|Page name to link|Alternative text}} | |||
|- | |||
|<kbd><nowiki>{{colored link|2=purple|3=Page name to link|4=Alternative text}}</nowiki></kbd> | |||
|{{colored link|purple|Page name to link|Alternative text}} | |||
|- | |||
|<kbd><nowiki>{{colored link|2=red|3=Page name to link|4=Alternative text}}</nowiki></kbd> | |||
|{{colored link|red|Page name to link|Alternative text}} | |||
|- | |||
|<kbd><nowiki>{{colored link|2=teal|3=Page name to link|4=Alternative text}}</nowiki></kbd> | |||
|{{colored link|teal|Page name to link|Alternative text}} | |||
|- | |||
|<kbd><nowiki>{{colored link|2=white|3=Page name to link|4=Alternative text}}</nowiki></kbd> | |||
|{{colored link|white|Page name to link|Alternative text}} | |||
|- | |||
|<kbd><nowiki>{{colored link|2=yellow|3=Page name to link|4=Alternative text}}</nowiki></kbd> | |||
|{{colored link|yellow|Page name to link|Alternative text}} | |||
|} | |||
[[Category:Manual]] | [[Category:Manual]] |
Revision as of 08:30, 6 January 2023
A template is available to insert links in different colors. This template takes three parameters: the color of the link, the article being linked to, and optional text to display as a piped link.
String | Example |
---|---|
{{colored link|2=aqua|3=Page name to link|4=Alternative text}} | Alternative text |
{{colored link|2=black|3=Page name to link|4=Alternative text}} | Alternative text |
{{colored link|2=blue|3=Page name to link|4=Alternative text}} | Alternative text |
{{colored link|2=brown|3=Page name to link|4=Alternative text}} | Alternative text |
{{colored link|2=cyan|3=Page name to link|4=Alternative text}} | Alternative text |
{{colored link|2=fuchsia|3=Page name to link|4=Alternative text}} | Alternative text |
{{colored link|2=gray|3=Page name to link|4=Alternative text}} | Alternative text |
{{colored link|2=green|3=Page name to link|4=Alternative text}} | Alternative text |
{{colored link|2=lime|3=Page name to link|4=Alternative text}} → | Alternative text |
{{colored link|2=magenta|3=Page name to link|4=Alternative text}} | Alternative text |
{{colored link|2=maroon|3=Page name to link|4=Alternative text}} | Alternative text |
{{colored link|2=olive|3=Page name to link|4=Alternative text}} | Alternative text |
{{colored link|2=orange|3=Page name to link|4=Alternative text}} | Alternative text |
{{colored link|2=pink|3=Page name to link|4=Alternative text}} | Alternative text |
{{colored link|2=purple|3=Page name to link|4=Alternative text}} | Alternative text |
{{colored link|2=red|3=Page name to link|4=Alternative text}} | Alternative text |
{{colored link|2=teal|3=Page name to link|4=Alternative text}} | Alternative text |
{{colored link|2=white|3=Page name to link|4=Alternative text}} | Alternative text |
{{colored link|2=yellow|3=Page name to link|4=Alternative text}} | Alternative text |