Difference between revisions of "Help:Colored link"

From Tech4Biowaste
Jump to navigation Jump to search
 
(2 intermediate revisions by the same user not shown)
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. The following table gives some examples for different colored links and their corresponding text-strings.


{| class="wikitable"
{| class="wikitable"
! String !! Example
! String !! Example
|-
|-
|<kbd><nowiki>{{colored link|2=aqua|3=Page name to link|4=Alternative text}}</nowiki></kbd>
|<kbd><nowiki>{{colored link|aqua|Page name to link|Alternative text}}</nowiki></kbd>
|{{colored link|aqua|Page name to link|Alternative text}}
|{{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>
|<kbd><nowiki>{{colored link|black|Page name to link|Alternative text}}</nowiki></kbd>
|{{colored link|black|Page name to link|Alternative text}}
|{{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>
|<kbd><nowiki>{{colored link|blue|Page name to link|Alternative text}}</nowiki></kbd>
|{{colored link|blue|Page name to link|Alternative text}}
|{{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>
|<kbd><nowiki>{{colored link|brown|Page name to link|Alternative text}}</nowiki></kbd>
|{{colored link|brown|Page name to link|Alternative text}}
|{{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>
|<kbd><nowiki>{{colored link|cyan|Page name to link|Alternative text}}</nowiki></kbd>
|{{colored link|cyan|Page name to link|Alternative text}}
|{{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>
|<kbd><nowiki>{{colored link|fuchsia|Page name to link|Alternative text}}</nowiki></kbd>
|{{colored link|fuchsia|Page name to link|Alternative text}}
|{{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>
|<kbd><nowiki>{{colored link|gray|Page name to link|Alternative text}}</nowiki></kbd>
|{{colored link|gray|Page name to link|Alternative text}}
|{{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>
|<kbd><nowiki>{{colored link|green|Page name to link|Alternative text}}</nowiki></kbd>
|{{colored link|green|Page name to link|Alternative text}}
|{{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>
|<kbd><nowiki>{{colored link|lime|Page name to link|Alternative text}}</nowiki></kbd>
|{{colored link|lime|Page name to link|Alternative text}}
|{{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>
|<kbd><nowiki>{{colored link|magenta|Page name to link|Alternative text}}</nowiki></kbd>
|{{colored link|magenta|Page name to link|Alternative text}}
|{{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>
|<kbd><nowiki>{{colored link|maroon|Page name to link|Alternative text}}</nowiki></kbd>
|{{colored link|maroon|Page name to link|Alternative text}}
|{{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>
|<kbd><nowiki>{{colored link|olive|Page name to link|Alternative text}}</nowiki></kbd>
|{{colored link|olive|Page name to link|Alternative text}}
|{{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>
|<kbd><nowiki>{{colored link|orange|Page name to link|Alternative text}}</nowiki></kbd>
|{{colored link|orange|Page name to link|Alternative text}}
|{{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>  
|<kbd><nowiki>{{colored link|pink|Page name to link|Alternative text}}</nowiki></kbd>  
|{{colored link|pink|Page name to link|Alternative text}}
|{{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>
|<kbd><nowiki>{{colored link|purple|Page name to link|Alternative text}}</nowiki></kbd>
|{{colored link|purple|Page name to link|Alternative text}}
|{{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>
|<kbd><nowiki>{{colored link|red|Page name to link|Alternative text}}</nowiki></kbd>
|{{colored link|red|Page name to link|Alternative text}}
|{{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>
|<kbd><nowiki>{{colored link|teal|Page name to link|Alternative text}}</nowiki></kbd>
|{{colored link|teal|Page name to link|Alternative text}}
|{{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>
|<kbd><nowiki>{{colored link|white|Page name to link|Alternative text}}</nowiki></kbd>
|{{colored link|white|Page name to link|Alternative text}}
|{{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>
|<kbd><nowiki>{{colored link|yellow|Page name to link|Alternative text}}</nowiki></kbd>
|{{colored link|yellow|Page name to link|Alternative text}}
|{{colored link|yellow|Page name to link|Alternative text}}
|}
|}


[[Category:Manual]]
[[Category:Manual]]

Latest revision as of 13:52, 31 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. The following table gives some examples for different colored links and their corresponding text-strings.

String Example
{{colored link|aqua|Page name to link|Alternative text}} Alternative text
{{colored link|black|Page name to link|Alternative text}} Alternative text
{{colored link|blue|Page name to link|Alternative text}} Alternative text
{{colored link|brown|Page name to link|Alternative text}} Alternative text
{{colored link|cyan|Page name to link|Alternative text}} Alternative text
{{colored link|fuchsia|Page name to link|Alternative text}} Alternative text
{{colored link|gray|Page name to link|Alternative text}} Alternative text
{{colored link|green|Page name to link|Alternative text}} Alternative text
{{colored link|lime|Page name to link|Alternative text}} Alternative text
{{colored link|magenta|Page name to link|Alternative text}} Alternative text
{{colored link|maroon|Page name to link|Alternative text}} Alternative text
{{colored link|olive|Page name to link|Alternative text}} Alternative text
{{colored link|orange|Page name to link|Alternative text}} Alternative text
{{colored link|pink|Page name to link|Alternative text}} Alternative text
{{colored link|purple|Page name to link|Alternative text}} Alternative text
{{colored link|red|Page name to link|Alternative text}} Alternative text
{{colored link|teal|Page name to link|Alternative text}} Alternative text
{{colored link|white|Page name to link|Alternative text}} Alternative text
{{colored link|yellow|Page name to link|Alternative text}} Alternative text