Template:Color link: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
m (Text replacement - "Internal link templates" to "Formatting templates")
No edit summary
Line 1: Line 1:
<includeonly>[[{{{1}}}|<span style="color:{{{2|unset}}}">{{{3|{{{1}}}}}}</span>]]</includeonly><noinclude>
<includeonly>[[:{{{1}}}|<span style="color:{{{2|unset}}}">{{{3|{{{1}}}}}}</span>]]</includeonly><noinclude>
== Usage ==
== Usage ==
<code><nowiki>{{color-link|Main Page|green}}</nowiki></code>
<code><nowiki>{{color-link|Main Page|green}}</nowiki></code>

Revision as of 10:31, June 2, 2023

Usage

{{color-link|Main Page|green}}

Template:Color-link

{{color-link|Main Page|#C00|Fake link}}

Template:Color-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.

See also