« Modèle:Color-link » : différence entre les versions
De Pikmin FR
Documentation |
m 8 versions importées |
||
(7 versions intermédiaires par 5 utilisateurs non affichées) | |||
Ligne 1 : | Ligne 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 [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}}}|< | |||
== 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}}. | ||
[[ | [[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.