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
No edit summary |
TheUnGhost (talk | contribs) m (31 revisions imported) |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly>[[{{{1}}}|<span style="color:{{{2|unset}}}">{{{3|{{{1}}}}}}</span>]]</includeonly><noinclude> | <includeonly>[[:{{{1}}}|<span style="color:{{{2|unset}}};background:{{{bg|none}}}">{{{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> | ||
Line 6: | Line 6: | ||
<code><nowiki>{{color-link|Main Page|#C00|Fake link}}</nowiki></code> | <code><nowiki>{{color-link|Main Page|#C00|Fake link}}</nowiki></code> | ||
:{{color-link|Main Page|#C00|Fake link}} | :{{color-link|Main Page|#C00|Fake link}} | ||
<code><nowiki>{{color-link|Main Page|#C00|bg=orange|Fake link}}</nowiki></code> | |||
:{{color-link|Main Page|#C00|bg=orange|Fake link}} | |||
== About == | == 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. | Changes the color of a link from the default blue. The first parameter is the page name and the second is the color. An optional background color can be set with <code>bg</code>. 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 == | == See also == | ||
Line 14: | Line 17: | ||
*[[Template:Color-link-external]] | *[[Template:Color-link-external]] | ||
[[Category: | [[Category:Formatting templates]]</noinclude> |
Latest revision as of 23:15, 4 January 2024
Usage
{{color-link|Main Page|green}}
{{color-link|Main Page|#C00|Fake link}}
{{color-link|Main Page|#C00|bg=orange|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. An optional background color can be set with bg
. 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.