This wiki contains unmarked spoilers and disturbing content without warning. Please be cautious when browsing.
We have just started this wiki. Please help us fill in all the information.
Editing is disabled for now.
We are not affiliated with Team Salvato.

Template:Color-link: Difference between revisions

From Monikapedia
Jump to navigationJump to search
m (Text replacement - "\[\[Category:([^\]|]+)\|{{PAGENAME}}\]\]" to "Category:$1")
No edit summary
Line 1: Line 1:
[[{{{1}}}|<span style="color:{{{2}}}">{{{1}}}</span>]]<noinclude>
<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}}. 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).
<code><nowiki>{{color-link|Main Page|#C00|Fake link}}</nowiki></code>
:{{color-link|Main Page|#C00|Fake link}}


Actual code: <tt><nowiki>[[{{{1}}}|<span style="color:{{{2}}}">{{{1}}}</span>]]</nowiki></tt>
== 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.
 
== See also ==
*[[Template:Color]]
*[[Template:Color-link-external]]


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

Revision as of 14:30, 18 February 2021

Usage

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

Main Page

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

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.

See also