편집 요약 없음 |
편집 요약 없음 |
||
(같은 사용자의 중간 판 하나는 보이지 않습니다) | |||
1번째 줄: | 1번째 줄: | ||
<includeonly>[[{{{1}}}|<span style="color:{{#switch:{{{2|}}}|link = # | <includeonly>[[{{{1}}}|<span style="color:{{#switch:{{{2|}}}|link = #0275d8|nolink = #ff0000|exlink = #009900|darklink = #ec9f19|jwiki = #880e4f|default = #373a3c|{{{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 [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:{{#switch:{{{2|}}}|default = #373a3c|darklink = #ec9f19|{{{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> | ||
{{MT|bg=namu}} | |||
|- | |||
|colspan="3"|색깔 외 사용할 수 있는 변수 | |||
|- | |||
|link | |||
|{{c|#337ab7|#337ab7}} | |||
|내부 링크 색 | |||
|- | |||
|nolink | |||
|{{c|#ba0000|#ba0000}} | |||
|없는 문서 내부 링크 색 | |||
|- | |||
|exlink | |||
|{{c|#33b733|#33b733}} | |||
|외부 링크 색 | |||
|- | |||
|darklink | |||
|{{c|#ec9f19|#ec9f19}} | |||
|나무위키 다크 테마 링크 색 | |||
|- | |||
|jwiki | |||
|{{c|#880e4f|#880e4f}} | |||
|제이위키 상징 색 | |||
|- | |||
|default | |||
|{{c|#373a3c|#373a3c}} | |||
|기본 글자 색 | |||
{{MT끝}} | |||
== Syntax == | == Syntax == |
2023년 11월 26일 (일) 19:03 기준 최신판
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 최근바뀜.