Template:Color-link: Difference between revisions
From Inkipedia, the Splatoon wiki
NepetaLast (talk | contribs) (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...") |
Trig Jegman (talk | contribs) mNo edit summary Tag: Manual revert |
||
(6 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
[[{{{1}}}|< | <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 | Actual code: <tt><nowiki>[[{{{1}}}|<span style="color:{{{2|}}};">{{{3|{{{1}}}}}}</span>]]</nowiki></tt> | ||
== Syntax == | |||
{{t|Color-link|Destination Page|Color|Optional Display Text}} | |||
[[Category: Formatting | == 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.