Don't like the ads? Then create an account! Users with accounts have more options than anonymous users. |
Difference between revisions of "Template:Color-link"
From Triforce Wiki, a The Legend of Zelda wiki
Jump to navigationJump to search
(new link) |
(updated) |
||
Line 1: | Line 1: | ||
< | <includeonly>[[{{{1}}}|<span style="color:{{{2|unset}}}">{{{3|{{{1}}}}}}</span>]]</includeonly><noinclude> | ||
== Usage == | |||
<code><nowiki>{{color-link|Main Page|green}}</nowiki></code> | |||
:{{color-link|Main Page|green}} | |||
{{color-link|Main Page|#C00}} | <code><nowiki>{{color-link|Main Page|#C00|Fake link}}</nowiki></code> | ||
:{{color-link|Main Page|#C00|Fake link}} | |||
== About == | |||
Changes the color of a link from the default blue. The first parameter is the page name and the second is the color. You can use a color name or a hexadecimal, but if it's hex be sure to include a <code>#</code> before the alphanumeric sequence. The third parameter is optional and can be used to change the text of the link. | |||
The original template is from the [[mariowiki:Template:Color-link|Super Mario Wiki]]. | |||
[[Category:Internal link templates | == See also == | ||
*[[Template:Color]] | |||
*[[Template:Color-link-external]] | |||
[[Category:Internal link templates]]</noinclude> |
Revision as of 08:52, March 2, 2021
Usage
{{color-link|Main Page|green}}
{{color-link|Main Page|#C00|Fake link}}
About
Changes the color of a link from the default blue. The first parameter is the page name and the second is the color. You can use a color name or a hexadecimal, but if it's hex be sure to include a #
before the alphanumeric sequence. The third parameter is optional and can be used to change the text of the link.
The original template is from the Super Mario Wiki.