| r2766 vs r2767 | ||
|---|---|---|
| ... | ... | |
| 222 | 222 | * 할거 > 분류 |
| 223 | 223 | ## \{{{#!html <div style="clear: both"/>}}} |
| 224 | 224 | ## == clearfix |
| 225 | input={{{냥[[링크|냥]]냥[[https://namu.wiki/w/사용자:nyangx3|냥]]냥}}} | |
| 226 | {{{#!wiki style="display: none" | |
| 227 | 225 | {{{#!if input='냥[[링크|냥]]냥[[https://namu.wiki/w/사용자:nyangx3|냥]]냥' |
| 226 | }}}{{{#!if DarkInput=input | |
| 228 | 227 | }}} |
| 229 | {{{#!if href = null, linkPrint = null, break = false, linkColor='#0275d8', outLink='' | |
| 228 | input=@input@ | |
| 229 | {{{#!wiki style="display: none" | |
| 230 | {{{#!if href = null, linkPrint = null, break = false, linkColor='#0275d8', DarkLinkColor='#e69720', outLink='' | |
| 230 | 231 | }}}{{{#!if linkOpen = input.indexOf('[['), linkClose = input.indexOf(']]') |
| 231 | 232 | }}}{{{#!if linkRaw = input.substring(linkOpen, linkClose+2) |
| 232 | 233 | }}}{{{#!if linkOpen != -1 && linkClose != -1 && linkOpen+2 < linkClose |
| ... | ... | |
| 260 | 261 | }}} |
| 261 | 262 | }}} |
| 262 | 263 | {{{#!if isLink = (href.startsWith('https://') || href.startsWith('http://') || href.startsWith('ftp://')), isLink |
| 263 | {{{#!if linkColor = 'none', outLink = 'asdf' | |
| 264 | {{{#!if linkColor = 'none', DarkLinkColor = 'none', outLink = 'asdf' | |
| 264 | 265 | }}} |
| 265 | 266 | }}}{{{#!if isCategory = (href.startsWith('분류:')), isCategory |
| 266 | 267 | ## 나중에생각 - 실제로 분류되지는 않고(하고 싶어도 못 함 display: none으로 없어지는 것도 아니고) 그냥 분류 느낌만 내기 |
| ... | ... | |
| 268 | 269 | {{{#!if href = 'https://theseed.io/w/'+href |
| 269 | 270 | }}} |
| 270 | 271 | }}}{{{#!if input = input.substring(0, linkOpen) + '<div style="display: inline-table"><div style="overflow: hidden"><div style="margin-left: -17px' + outLink + '"><a href="' + href + '"><div style="color: ' + linkColor + '; display: inline">' + linkPrint + '</div></a></div></div></div>' + input.substring(linkClose + 2) |
| 272 | }}}{{{#!if DarkInput = DarkInput.substring(0, linkOpen) + '<div style="display: inline-table"><div style="overflow: hidden"><div style="margin-left: -17px' + outLink + '"><a href="' + href + '"><div style="color: ' + DarkLinkColor + '; display: inline">' + linkPrint + '</div></a></div></div></div>' + DarkInput.substring(linkClose + 2) | |
| 271 | 273 | }}} |
| 272 | 274 | }}} |
| 273 | 275 | ####################### |
| ... | ... | |
| 305 | 307 | }}} |
| 306 | 308 | }}} |
| 307 | 309 | {{{#!if isLink = (href.startsWith('https://') || href.startsWith('http://') || href.startsWith('ftp://')), isLink |
| 308 | {{{#!if linkColor = 'none', outLink = 'asdf' | |
| 310 | {{{#!if linkColor = 'none', DarkLinkColor = 'none', outLink = 'asdf' | |
| 309 | 311 | }}} |
| 310 | 312 | }}}{{{#!if isCategory = (href.startsWith('분류:')), isCategory |
| 311 | 313 | ## 나중에생각 - 실제로 분류되지는 않고(하고 싶어도 못 함 display: none으로 없어지는 것도 아니고) 그냥 분류 느낌만 내기 |
| ... | ... | |
| 313 | 315 | {{{#!if href = 'https://theseed.io/w/'+href |
| 314 | 316 | }}} |
| 315 | 317 | }}}{{{#!if input = input.substring(0, linkOpen) + '<div style="display: inline-table"><div style="overflow: hidden"><div style="margin-left: -17px' + outLink + '"><a href="' + href + '"><div style="color: ' + linkColor + '; display: inline">' + linkPrint + '</div></a></div></div></div>' + input.substring(linkClose + 2) |
| 318 | }}}{{{#!if DarkInput = DarkInput.substring(0, linkOpen) + '<div style="display: inline-table"><div style="overflow: hidden"><div style="margin-left: -17px' + outLink + '"><a href="' + href + '"><div style="color: ' + DarkLinkColor + '; display: inline">' + linkPrint + '</div></a></div></div></div>' + DarkInput.substring(linkClose + 2) | |
| 316 | 319 | }}} |
| 317 | 320 | }}} |
| 318 | 321 | }}} |
| 319 | output: {{{#!html @input@}}} | |
| 320 | 322 | |
| 323 | 화이트: {{{#!html @input@}}} | |
| 324 | ---- | |
| 325 | 다크: {{{#!html @DarkInput@}}} | |
| 321 | 326 | |
| 327 | ||
| 322 | 328 | == 나무나무마크구상2 == |
| 323 | 329 | * 리터럴귀찮음 if folding syntax는 될리가없음 |
| 324 | 330 | {{{#!if input='{{{#!wiki style="text-align: center"<br>{{{+5 \'\'\'[[사용자:nyangx3/연습장|{{{#373a3c,#ddd 냥냥냥}}}]]\'\'\'}}}<br>{{{-1 [[고양이]]는 신이야}}}{{{#!wiki style="word-break: keep-all" dark-style="color: red"<br>{{{-3 별 이유 없이 오셨다면, 별 이유는 없고 사용자 문서에 별({{{#595c5f,#e0e0e0 {{{#!html <span style="font-family: Ionicons"></span>}}}}}}) 한 번 눌러 주세요.}}}}}}}}}' |
| ... | ... |