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

De Inkipédia
Aller à la navigation Aller à la recherche
m (1 révision importée : http://splatoonwiki.org/wiki/Luna_Blaster_Neo)
FRInki>Trig Jegman
mAucun résumé des modifications
Ligne 1 : Ligne 1 :
[[{{{1}}}|<font color="{{{2|}}}">{{{3|{{{1}}}}}}</font>]]<noinclude>
<includeonly>[[{{{1}}}|<span style="color:{{{2|}}};">{{{3|{{{1}}}}}}</span>]]</includeonly><noinclude>
 
== Summary ==
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 [http://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}}}|<font color="{{{2|}}}">{{{3|{{{1}}}}}}</font>]]</nowiki></tt>
Actual code: <tt><nowiki>[[{{{1}}}|<span style="color:{{{2|}}};">{{{3|{{{1}}}}}}</span>]]</nowiki></tt>


== Syntax ==
== Syntax ==
Ligne 14 : 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|Color-link]]</noinclude>
[[Category:Formatting templates]]</noinclude>

Version du 11 février 2023 à 01: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.