편집 요약 없음 |
편집 요약 없음 |
||
2번째 줄: | 2번째 줄: | ||
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}}}|<span style="color:{{{2|}}};">{{{3|{{{1}}}}}}</span>]]</nowiki></tt> | Actual code: <tt><nowiki>[[{{{1}}}|<span style="color:{{#switch:{{{2|}}}|default = #373a3c|darklink = #ec9f19|{{{2|}}}}};">{{{3|{{{1}}}}}}</span>]]</nowiki></tt> | ||
== Syntax == | == Syntax == |
2022년 12월 15일 (목) 17:16 판
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:{{#switch:{{{2|}}}|default = #373a3c|darklink = #ec9f19|{{{2|}}}}};">{{{3|{{{1}}}}}}</span>]]
Syntax
{{Color-link|<Destination Page>|<Color>|<Optional Display Text>}}
Examples
{{color-link|대문|#C00}} gives 대문.
{{color-link|특수:최근바뀜|blue|최근바뀜}} gives 최근바뀜.