« Modèle:Color-link » : différence entre les versions

De Pikmin FR
fr>Yaya
m 1 version importée
m 8 versions importées
 
(4 versions intermédiaires par 2 utilisateurs non affichées)
Ligne 1 : Ligne 1 :
<includeonly>[[{{{1}}}|<span style="color:{{{2|}}};">{{{3|{{{1}}}}}}</span>]]</includeonly><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.
This template changes the link color of a link. Color name or [https://www.mariowiki.com/Help:Color_codes hexademical] can be used, but add a <tt>#</tt> before the six alphanumeric sequence.


Actual code: <tt><nowiki>[[{{{1}}}|<span style="color:{{{2|}}};">{{{3|{{{1}}}}}}</span>]]</nowiki></tt>
Actual code: <tt><nowiki>[[{{{1}}}|<span style="color:{{{2|}}};">{{{3|{{{1}}}}}}</span>]]</nowiki></tt>
Ligne 12 : Ligne 12 :
<nowiki>{{color-link|Special:RecentChanges|blue|Recent Changes}}</nowiki> gives {{color-link|Special:RecentChanges|blue|Recent Changes}}.
<nowiki>{{color-link|Special:RecentChanges|blue|Recent Changes}}</nowiki> gives {{color-link|Special:RecentChanges|blue|Recent Changes}}.


[[Category:Formatting templates]]</noinclude>
[[Catégorie:Modèles de formatage]]
</noinclude>

Dernière version du 9 avril 2025 à 21:37

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.