본문으로 건너뛰기
사용자

nyangx3/a(비교)

r48 vs r49
......
1010
((color=)(#[a-f0-9]{3}|#[a-f0-9]{6})(>))|((\\{\\{\\{)(#[a-f0-9]{3}|#[a-f0-9]{6})(\\s))}}} → {{{#!wiki style="display: inline; @style1@"
1111
$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"
13
{️{{#!wiki style="margin: 0 -10px -5px; min-height: calc(1.5em + 5px)"
13
{️{{#!wiki style="margin: 0 0 -5px; min-height: calc(1.5em + 5px)"
1414
{️{{#!folding [ 펼치기 · 접기 ]
1515
{️{{#!wiki style="margin: -5px -1px -11px"}}}
1616
* 일반 라운딩: 둘러보기 틀에 자주 쓰인다.{{{#!wiki style="@style1@"
......
1818
* 표(테이블) 라운딩: {{{-2 '''tablealign 속성을 지우고, 테이블 크기를 <tablewidth=100%>로 설정해 두어야 정상적으로 작동한다.'''}}}
1919
{{{#!wiki style="margin-left: -25px"
2020
* 좌/우측: {{{#!wiki style="@style1@"
21
{️{{#!wiki style="max-width: 400px; overflow: hidden; float: right; border-radius: 8px; border: 2px #000 solid; word-break: keep-all"
21
{️{{#!wiki style="max-width: 400px; overflow: hidden; '''float: right'''; border-radius: 8px; border: 2px #000 solid; word-break: keep-all"
2222
{️{{#!wiki style="margin: -12px -2px"
2323
||<tablewidth=100%>}}}
2424
* 중앙: {{{#!wiki style="@style1@"
25
{️{{#!wiki style="max-width: 700px; overflow: hidden; margin: auto; border-radius: 8px; border: 2px #000 solid; word-break: keep-all"
25
{️{{#!wiki style="max-width: 700px; overflow: hidden; '''margin: auto'''; border-radius: 8px; border: 2px #000 solid; word-break: keep-all"
2626
{️{{#!wiki style="margin: -12px -2px"
2727
||<tablewidth=100%>}}}}}}
2828
* 글자 그라디엔트: {{{#!wiki style="@style1@"
......
5959
* 다크 모드 대응 {{{#!wiki style="display: inline; @style1@"
6060
((color=)(#[a-f0-9]{3}|#[a-f0-9]{6})(>))|((\{\{\{)(#[a-f0-9]{3}|#[a-f0-9]{6})(\\s))}}} → {{{#!wiki style="display: inline; @style1@"
6161
$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] 적어버리면 된다.
62
* <nopad> 치환 {{{#!wiki style="display: inline; @style1@"
63
(\\|\\|(<.*?>)?)(\\s*)\\{{3}#!wiki[-\\s]*style\\s*="\\s*margin\\s*:\\s*-[56]px\\s*-10px\\s*((-[56]px\\s*)?|(-[56]px\\s*-10px))?;?\\s*"\\s*\\n\\s*(\\[\\[\\s*파일:.*?\\]\\]|\\[\\[.*?\\|\\[\\[\\s*파일:.*?\\]\\]\\]\\]|\\[(include|youtube|navertv|nicovideo|vimeo)\\(.*?\\)\\])\\s*\\}{3}\\s*\\|\\|}}} → {{{#!wiki style="display: inline; @style1@"
64
$1<nopad> $7 ||}}}
6265
* 년도 수정(0000. 00. 00.) {{{#!wiki style="display: inline; @style1@"
6366
(\\d{4})\\.\\s?0?(\\d{1,2})\\.\\s?0?(\\d{1,2})\\.?}}} → {{{#!wiki style="display: inline; @style1@"
6467
$1. $2. $3.}}}
......