본문으로 건너뛰기
사용자

nyangx3/a(비교)

r45 vs r46
1
{{{#!if style1='background: #bfe9d5; letter-spacing: -.5px; border-radius: .25rem; padding: .125rem .25rem .2rem; font-size: .75rem; max-width: fit-content; font-family: ui-monospace,SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace" dark-style="background: #383b40'
1
{{{#!if style1='background: #bfe9d5; letter-spacing: -.5px; border-radius: .25rem; padding: .125rem .25rem .2rem; font-size: .75rem; max-width: fit-content; font-family: Consolas,monospace" dark-style="background: #383b40'
22
}}}{{{#!wiki style="display: block" dark-style="display: none"
33
[include(사용자:nyangx3/연습장, if=나무나무마크, input=\{\{\{#!wiki style="text-align: center"<br>\{\{\{+5 \'\'\'[[사용자:nyangx3/연습장|\{\{\{#373a3c\,#ddd 냥냥냥\}\}\}]]\'\'\'\}\}\}<br>\{\{\{-1 [[고양이]]는 신이야\}\}\}\{\{\{#!wiki style="word-break: keep-all"<br>\{\{\{-3 별 이유 없이 오셨다면\, 별 이유는 없고 사용자 문서에 별(\{\{\{#595c5f\,#e0e0e0 \{\{\{#!html <span style="font-family: Ionicons">&#xf4b2</span>\}\}\}\}\}\}) 한 번 눌러 주세요.\}\}\}\}\}\}\}\}\})]}}}{{{#!wiki style="display: none" dark-style="display: block"
44
[include(사용자:nyangx3/연습장, if=나무나무마크, input=\{\{\{#!wiki style="text-align: center"<br>\{\{\{+5 \'\'\'[[사용자:nyangx3/연습장|\{\{\{#ddd 냥냥냥\}\}\}]]\'\'\'\}\}\}<br>\{\{\{-1 [[고양이|\{\{\{#e69720 고양이\}\}\}]]는 신이야\}\}\}\{\{\{#!wiki style="word-break: keep-all"<br>\{\{\{-3 별 이유 없이 오셨다면\, 별 이유는 없고 사용자 문서에 별(\{\{\{#e0e0e0 \{\{\{#!html <span style="font-family: Ionicons">&#xf4b2</span>\}\}\}\}\}\}) 한 번 눌러 주세요.\}\}\}\}\}\}\}\}\})]}}}
55
[include(사용자:nyangx3/연습장, if=목차)]
66
[include(사용자:nyangx3/연습장, if=문단, 문단명=복사 붙여넣기, 문단번호=-1)]
77
## {{{#!if (+if) == 2
8
* '''다크 모드 대응'''
8
* '''다크 모드 대응'''^^'''{{{-2 [[#정규식 치환|#사용법]]}}}'''^^
99
{{{#!wiki style="display: inline; @style1@"
10
((color=)(#[a-f0-9]{3}|#[a-f0-9]{6}|[a-z]{3,20})(>))|((\\{\\{\\{)(#[a-f0-9]{3}|#[a-f0-9]{6}|#[a-z]{3,20})(\\s))}}} → {{{#!wiki style="display: inline; @style1@"
11
$2$6$3$7,$3$7$4$8}}} ^^'''{{{-2 [[#정규식 치환|#사용법]]}}}'''^^
10
((color=)(#[a-f0-9]{3}|#[a-f0-9]{6})(>))|((\\{\\{\\{)(#[a-f0-9]{3}|#[a-f0-9]{6})(\\s))}}} → {{{#!wiki style="display: inline; @style1@"
11
$2$6$3$7,$3$7$4$8}}}
1212
* 표 속 접기 문법 {{{#!wiki style="background: #bfe9d5; letter-spacing: -.5px; border-radius: .25rem; padding: .125rem .25rem .2rem; font-family: ui-monospace,SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace; font-size: .75rem; max-width: fit-content" dark-style="background: #383b40"
1313
{️{{#!wiki style="margin: 0 -10px -5px; min-height: calc(1.5em + 5px)"
1414
{️{{#!folding [ 펼치기 · 접기 ]
1515
{️{{#!wiki style="margin: -5px -1px -11px"}}}
16
* 글자 디엔트: {{{#!wiki style="@style1@"
17
{️{{#!wiki style="display: inline; color: transparent; background: text linear-gradient(to right, '''gradient''')"}}}
18
* '''Ionicons'''^^[[#Ionicons|#사용 가능한 문목록]]^^: {{{#!wiki style="@style1@"
19
{️{{#!html <span style="font-family: Ionicons">'''&#xf100'''</span>\}\}\}}}}
20
* 일반 라운딩:{{{#!wiki style="@style1@"
21
{️{{#!wiki style="margin: 0 auto; max-width: 700px; border-radius: 8px; background: #000; text-align: center; word-break: keep-all; border: 2px solid #000" dark-style="border: 2px solid #666"}}}
22
* 표(테이블) 라운딩:
16
* 일반운딩: 둘러보기 틀에 쓰인다.{{{#!wiki style="@style1@"
17
{️{{#!wiki style="margin: auto; max-width: 700px; border-radius: 8px; overflow: hidden; background: #ddd; text-align: center; word-break: keep-all"}}}
18
* 표(테이블) 라운딩: {{{-2 '''tablealign 속성을 지우고, 테이블 크기를 <tablewidth=100%>로 설정해 두어야 정상적으로 작동한다.'''}}}
2319
{{{#!wiki style="margin-left: -25px"
24
* 우측: {{{#!wiki style="@style1@"
25
{️{{#!wiki style="max-width: 700px; overflow: hidden; float: right; border-radius: 8px; word-break: keep-all"
26
{️{{#!wiki style="margin: -12px -2px"}}}
20
* 좌/우측: {{{#!wiki style="@style1@"
21
{️{{#!wiki style="max-width: 400px; overflow: hidden; float: right; border-radius: 8px; border: 2px #000 solid; word-break: keep-all"
22
{️{{#!wiki style="margin: -12px -2px"
23
||<tablewidth=100%>}}}
2724
* 중앙: {{{#!wiki style="@style1@"
28
{️{{#!wiki style="text-align: center"
29
{️{{#!wiki style="word-break: keep-all; display: inline-block; width: min(100%, 700px); border-radius: 8px; overflow: hidden; border: 2px solid #000" dark-style="border-color: #666"
30
{️{{#!wiki style="margin: -12px -2px"}}}}}}
25
{️{{#!wiki style="max-width: 400px; overflow: hidden; margin: auto; border-radius: 8px; border: 2px #000 solid; word-break: keep-all"
26
{️{{#!wiki style="margin: -12px -2px"
27
||<tablewidth=100%>}}}}}}
28
* 글자 그라디엔트: {{{#!wiki style="@style1@"
29
{️{{#!wiki style="display: inline; color: transparent; background: text linear-gradient(to right, '''[[#그라디엔트|gradient]]''')"}}}
30
* 테두리 그라디엔트: {{{#!wiki style="@style1@"
31
{️{{#!wiki style="border: 2px solid transparent; background: padding-box linear-gradient(#fff), border-box linear-gradient('''[[#그라디엔트|gradient]]'''); text-align: center; max-width: 700px" dark-style="background: padding-box linear-gradient(#1c1d1f), border-box linear-gradient('''[[#그라디엔트|gradient]]''')"}}}
3132
#######################################
3233
## }}}
3334
----
3435
## {{{#!if if == '자주안씀'
3536
* 리터럴: {{{#!wiki style="@style1@"
36
font-family: ui-monospace,SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace}}}
37
font-family: Consolas,monospace}}}
3738
* 자간 조정: {{{#!wiki style="@style1@"
3839
font: 1em/'''line_height''' monospace; font-family: revert}}}
3940
## }}}
......
5455
.*}}} 부분을 클릭하여 활성화한다.(정규식 모드)
5556
그 뒤 아래의 것들을 찾기/바꾸기 칸에 적절히 입력한 뒤, 바꾸기 칸 옆에 있는 '모두 바꾸기' 버튼을 누른다.
5657
* 다크 모드 대응 {{{#!wiki style="display: inline; @style1@"
57
((color=)(#[a-f0-9]{3}|#[a-f0-9]{6}|[a-z]{3,20})(>))|((\{\{\{)(#[a-f0-9]{3}|#[a-f0-9]{6}|#[a-z]{3,20})(\\s))}}} → {{{#!wiki style="display: inline; @style1@"
58
$2$6$3$7,$3$7$4$8}}}
58
((color=)(#[a-f0-9]{3}|#[a-f0-9]{6})(>))|((\{\{\{)(#[a-f0-9]{3}|#[a-f0-9]{6})(\\s))}}} → {{{#!wiki style="display: inline; @style1@"
59
$2$6$3$7,$3$7$4$8}}} [a-z]{3,20}를 넣어 명명된 색상[* red, transparent 등]도 선택하게 할 수 있겠지만, 그럴 경우 고려사항이 많아진다. 굳이 넣겠다면 그냥 모든 명명된 색상을[*이렇게 aliceblue|antiquewhite|aqua|aquamarine|azure|beige|bisque|black|blanchedalmond|blue|blueviolet|brown|burlywood|cadetblue|chartreuse|chocolate|coral|cornflowerblue|cornsilk|crimson|cyan|darkblue|darkcyan|darkgoldenrod|darkgray|darkgreen|darkkhaki|darkmagenta|darkolivegreen|darkorange|darkorchid|darkred|darksalmon|darkseagreen|darkslateblue|darkslategray|darkturquoise|darkviolet|deeppink|deepskyblue|dimgray|dodgerblue|firebrick|floralwhite|forestgreen|fuchsia|gainsboro|ghostwhite|gold|goldenrod|gray|green|greenyellow|honeydew|hotpink|indianred|indigo|ivory|khaki|lavender|lavenderblush|lawngreen|lemonchiffon|lightblue|lightcoral|lightcyan|lightgoldenrodyellow|lightgray|lightgreen|lightpink|lightsalmon|lightseagreen|lightskyblue|lightslategray|lightsteelblue|lightyellow|lime|limegreen|linen|magenta|maroon|mediumaquamarine|mediumblue|mediumorchid|mediumpurple|mediumseagreen|mediumslateblue|mediumspringgreen|mediumturquoise|mediumvioletred|midnightblue|mintcream|mistyrose|moccasin|navajowhite|navy|oldlace|olive|olivedrab|orange|orangered|orchid|palegoldenrod|palegreen|paleturquoise|palevioletred|papayawhip|peachpuff|pink|plum|powderblue|purple|rebeccapurple|red|rosybrown|royalblue|saddlebrown|salmon|sandybrown|seagreen|seashell|sienna|silver|skyblue|slateblue|slategray|snow|springgreen|steelblue|tan|teal|thistle|tomato|turquoise|violet|wheat|white|whitesmoke|yellow|yellowgreen|transparent] 적어버리면 된다.
5960
* 년도 수정(0000. 00. 00.) {{{#!wiki style="display: inline; @style1@"
6061
(\\d{4})\\.\\s?0?(\\d{1,2})\\.\\s?0?(\\d{1,2})\\.?}}} → {{{#!wiki style="display: inline; @style1@"
6162
$1. $2. $3.}}}
......