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>]]
색깔 외 사용할 수 있는 변수 | ||
link | #337ab7 | 내부 링크 색 |
nolink | #ba0000 | 없는 문서 내부 링크 색 |
exlink | #33b733 | 외부 링크 색 |
darklink | #ec9f19 | 나무위키 다크 테마 링크 색 |
jwiki | #880e4f | 제이위키 상징 색 |
default | #373a3c | 기본 글자 색 |
Syntax
{{Color-link|<Destination Page>|<Color>|<Optional Display Text>}}
Examples
{{color-link|대문|#C00}} gives 대문.
{{color-link|특수:최근바뀜|blue|최근바뀜}} gives 최근바뀜.