r2766 vs r2767
......
222222
* 할거 > 분류
223223
## \{{{#!html <div style="clear: both"/>}}}
224224
## == clearfix
225
input={{{냥[[링크|냥]]냥[[https://namu.wiki/w/사용자:nyangx3|냥]]냥}}}
226
{{{#!wiki style="display: none"
227225
{{{#!if input='냥[[링크|냥]]냥[[https://namu.wiki/w/사용자:nyangx3|냥]]냥'
226
}}}{{{#!if DarkInput=input
228227
}}}
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=''
230231
}}}{{{#!if linkOpen = input.indexOf('[['), linkClose = input.indexOf(']]')
231232
}}}{{{#!if linkRaw = input.substring(linkOpen, linkClose+2)
232233
}}}{{{#!if linkOpen != -1 && linkClose != -1 && linkOpen+2 < linkClose
......
260261
}}}
261262
}}}
262263
{{{#!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'
264265
}}}
265266
}}}{{{#!if isCategory = (href.startsWith('분류:')), isCategory
266267
## 나중에생각 - 실제로 분류되지는 않고(하고 싶어도 못 함 display: none으로 없어지는 것도 아니고) 그냥 분류 느낌만 내기
......
268269
{{{#!if href = 'https://theseed.io/w/'+href
269270
}}}
270271
}}}{{{#!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)
271273
}}}
272274
}}}
273275
#######################
......
305307
}}}
306308
}}}
307309
{{{#!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'
309311
}}}
310312
}}}{{{#!if isCategory = (href.startsWith('분류:')), isCategory
311313
## 나중에생각 - 실제로 분류되지는 않고(하고 싶어도 못 함 display: none으로 없어지는 것도 아니고) 그냥 분류 느낌만 내기
......
313315
{{{#!if href = 'https://theseed.io/w/'+href
314316
}}}
315317
}}}{{{#!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)
316319
}}}
317320
}}}
318321
}}}
319
output: {{{#!html @input@}}}
320322
323
화이트: {{{#!html @input@}}}
324
----
325
다크: {{{#!html @DarkInput@}}}
321326
327
322328
== 나무나무마크구상2 ==
323329
* 리터럴귀찮음 if folding syntax는 될리가없음
324330
{{{#!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">&#xf4b2</span>}}}}}}) 한 번 눌러 주세요.}}}}}}}}}'
......