Template:Color-link: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
m (Robot: Changing Category:Internal Link Templates to Category:Internal link templates)
No edit summary
Line 1: Line 1:
<span class="color-link">[[{{{1}}}|<span style="color:{{{2}}}; a:hover:{{{2}}};">{{{1}}}</span>]]</span><noinclude>
[[{{{1}}}|<span style="color:{{{2}}}">{{{1}}}</span>]]<noinclude>


{{color-link|Main Page|#C00}}. Though you shouldn't falsely use the template as just shown, its implication is shown: change the link color of a link from the default blue. You can use a color name or a hexadecimal, but be sure to add a <tt>#</tt> before the six alphanumeric sequence (or three if there's three pairs, such as C00, used in the example).
{{color-link|Main Page|#C00}}. Though you shouldn't falsely use the template as just shown, its implication is shown: change the link color of a link from the default blue. You can use a color name or a hexadecimal, but be sure to add a <tt>#</tt> before the six alphanumeric sequence (or three if there's three pairs, such as C00, used in the example).


Actual code: <tt><nowiki>[[{{{1}}}|<span style="color:{{{2}}};">{{{1}}}</span>]]</nowiki></tt>
Actual code: <tt><nowiki>[[{{{1}}}|<span style="color:{{{2}}}">{{{1}}}</span>]]</nowiki></tt>


Also see {{tem|color-link-piped}}.
Also see {{tem|color-link-piped}}.
[[Category:Internal link templates|{{PAGENAME}}]]</noinclude>
[[Category:Internal link templates|{{PAGENAME}}]]</noinclude>

Revision as of 16:24, February 27, 2020

[[{{{1}}}|{{{1}}}]]

Main Page. Though you shouldn't falsely use the template as just shown, its implication is shown: change the link color of a link from the default blue. You can use a color name or a hexadecimal, but be sure to add a # before the six alphanumeric sequence (or three if there's three pairs, such as C00, used in the example).

Actual code: [[{{{1}}}|<span style="color:{{{2}}}">{{{1}}}</span>]]

Also see {{color-link-piped}}.