Template:Color-link: Difference between revisions

From Inkipedia, the Splatoon wiki
(Created page with "[[{{{1}}}|<font color="{{{2|}}}">{{{3|{{{1}}}}}}</font>]]<noinclude> {{color-link|Main Page|#C00}}. Though you shouldn't falsely use the template as just shown, its implicati...")
 
mNo edit summary
Tag: Manual revert
 
(6 intermediate revisions by 3 users not shown)
Line 1: Line 1:
[[{{{1}}}|<font color="{{{2|}}}">{{{3|{{{1}}}}}}</font>]]<noinclude>
<includeonly>[[{{{1}}}|<span style="color:{{{2|}}};">{{{3|{{{1}}}}}}</span>]]</includeonly><noinclude>
This template changes the link color of a link. Color name or [http://www.mariowiki.com/Help:Color_codes hexademical] can be used, but add a <tt>#</tt> before the six alphanumeric sequence.


{{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 [http://www.mariowiki.com/Help:Color_codes hexademical], 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|}}};">{{{3|{{{1}}}}}}</span>]]</nowiki></tt>


Actual code: <tt><nowiki>[[{{{1}}}|<font color="{{{2|}}}">{{{3|{{{1}}}}}}</font>]]</nowiki></tt>
== Syntax ==
{{t|Color-link|Destination Page|Color|Optional Display Text}}


[[Category: Formatting Templates|Color-link]]</noinclude>
== Examples ==
<nowiki>{{color-link|Main Page|#C00}}</nowiki> gives {{color-link|Main Page|#C00}}.
 
<nowiki>{{color-link|Special:RecentChanges|blue|Recent Changes}}</nowiki> gives {{color-link|Special:RecentChanges|blue|Recent Changes}}.
 
[[Category:Formatting templates]]</noinclude>

Latest revision as of 01:37, 11 February 2023

This template changes the link color of a link. Color name or hexademical can be used, but add a # before the six alphanumeric sequence.

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

Syntax

{{Color-link|<Destination Page>|<Color>|<Optional Display Text>}}

Examples

{{color-link|Main Page|#C00}} gives Main Page.

{{color-link|Special:RecentChanges|blue|Recent Changes}} gives Recent Changes.