사용자
nyangx3/a(r43판 Blame)
| r43 | ||
|---|---|---|
| r41 | 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' |
| 2 | }}}{{{#!wiki style="display: block" dark-style="display: none" | |
| r35 | 3 | [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"></span>\}\}\}\}\}\}) 한 번 눌러 주세요.\}\}\}\}\}\}\}\}\})]}}}{{{#!wiki style="display: none" dark-style="display: block" |
| r37 | 4 | [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"></span>\}\}\}\}\}\}) 한 번 눌러 주세요.\}\}\}\}\}\}\}\}\})]}}} |
| 5 | [include(사용자:nyangx3/연습장, if=목차)] | |
| r42 | 6 | [include(사용자:nyangx3/연습장, if=문단, 문단명=복사 붙여넣기, 문단번호=-1)] |
| r36 | 7 | ## {{{#!if (+if) == 2 |
| 8 | * '''다크 모드 대응''' | |
| r41 | 9 | {{{#!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@" | |
| r36 | 11 | $2$6$3$7,$3$7$4$8}}} ^^'''{{{-2 [[#정규식 치환|#사용법]]}}}'''^^ |
| r38 | 12 | * 표 속 접기 문법 {{{#!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" |
| r36 | 13 | {️{{#!wiki style="margin: 0 -10px -5px; min-height: calc(1.5em + 5px)" |
| 14 | {️{{#!folding [ 펼치기 · 접기 ] | |
| 15 | {️{{#!wiki style="margin: -5px -1px -11px"}}} | |
| r41 | 16 | * 글자 그라디엔트: {{{#!wiki style="@style1@" |
| r36 | 17 | display: inline; color: transparent; background: text linear-gradient(to right, '''gradient''')}}} |
| r41 | 18 | * '''Ionicons''': {{{#!wiki style="@style1@" |
| r36 | 19 | {️{{#!html <span style="font-family: Ionicons">''''''</span>\}\}\}}}} |
| r41 | 20 | * 일반 라운딩:{{{#!wiki style="@style1@" |
| r36 | 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 | * 표(테이블) 라운딩: | |
| 23 | {{{#!wiki style="margin-left: -25px" | |
| r41 | 24 | * 우측: {{{#!wiki style="@style1@" |
| r36 | 25 | {️{{#!wiki style="max-width: 700px; overflow: hidden; float: right; border-radius: 8px; word-break: keep-all" |
| 26 | {️{{#!wiki style="margin: -12px -2px"}}} | |
| r41 | 27 | * 중앙: {{{#!wiki style="@style1@" |
| r36 | 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"}}}}}} | |
| 31 | ####################################### | |
| 32 | ## }}} | |
| r32 | 33 | ---- |
| r36 | 34 | ## {{{#!if if == '자주안씀' |
| r41 | 35 | * 리터럴: {{{#!wiki style="@style1@" |
| r36 | 36 | font-family: ui-monospace,SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace}}} |
| r41 | 37 | * 자간 조정: {{{#!wiki style="@style1@" |
| r36 | 38 | font: 1em/'''line_height''' monospace; font-family: revert}}} |
| 39 | ## }}} | |
| r41 | 40 | ## [include(사용자:nyangx3/연습장, if=문단, 문단명=계산기(위키 문법), 문단번호=0)] |
| 41 | ## [include(사용자:nyangx3/연습장, if=계산기, a=54321, f=+, b=12345)] | |
| 42 | ## [include(사용자:nyangx3/연습장, if=계산기, a=-741, f=-, b=147)] | |
| 43 | ## [include(사용자:nyangx3/연습장, if=계산기, a=37, f=*, b=73)] | |
| 44 | ## [include(사용자:nyangx3/연습장, if=계산기, a=23, f=/, b=7)] | |
| 45 | ## ---- | |
| 46 | ## * 절망편 | |
| 47 | ## [include(사용자:nyangx3/연습장, if=계산기, a=1.1, f=+, b=5.9)] | |
| 48 | ## [include(사용자:nyangx3/연습장, if=계산기, a=-974, f=-, b=0)] | |
| 49 | ## [include(사용자:nyangx3/연습장, if=계산기, a=92233720368547758088, f=*, b=2)] | |
| 50 | ## [include(사용자:nyangx3/연습장, if=계산기, a=1, f=/, b=0)] | |
| 51 | ## [include(사용자:nyangx3/연습장, if=계산기, a=0, f=/, b=0)] | |
| r43 | 52 | ## [include(사용자:nyangx3/연습장, if=4)] |
| 53 | [anchor(정규식 치환)][include(사용자:nyangx3/연습장, if=문단, 문단명=정규식 치환, 문단번호=2)]편집기에서 Ctrl(Comend)+H 누르면 '찾기/바꾸기' 창이 나오는데, 해당 창의 '찾기' 칸 우측의 {{{#!wiki style="display: inline; @style1@" | |
| 54 | .*}}} 부분을 클릭하여 활성화한다.(정규식 모드) | |
| 55 | 그 뒤 아래의 것들을 찾기/바꾸기 칸에 적절히 입력한 뒤, 바꾸기 칸 옆에 있는 '모두 바꾸기' 버튼을 누른다. | |
| 56 | * 다크 모드 대응 {{{#!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}}} | |
| 59 | * 년도 수정(0000. 00. 00.) {{{#!wiki style="display: inline; @style1@" | |
| 60 | (\\d{4})\\.\\s?0?(\\d{1,2})\\.\\s?0?(\\d{1,2})\\.?}}} → {{{#!wiki style="display: inline; @style1@" | |
| 61 | $1. $2. $3.}}} | |
| 62 | * 날짜 링크 걸기 {{{#!wiki style="display: inline; @style1@" | |
| 63 | (\\d{1,4})년\\s*0?(1[0-2]|\\d)월\\s?0?(3[01]|[1-2]?\\d)일}}} → {{{#!wiki style="display: inline; @style1@" | |
| 64 | \[[$1년]] \[[$2월 $3일]]}}} |