r2672 vs r2673
......
119119
{{{#!wiki style="display: none"
120120
{{{#!if input='냥[[링크|냥]]냥'
121121
}}}
122
{{{#!if href = null, linkPrint = null, break = false, linkColor='#0275d8'
122
{{{#!if href = null, linkPrint = null, break = false, linkColor='#0275d8', outLink=''
123123
}}}
124124
{{{#!if linkOpen = input.indexOf('[['), linkClose = input.indexOf(']]')
125125
}}}{{{#!if linkRaw = input.substring(linkOpen, linkClose+2)
......
154154
}}}
155155
}}}
156156
{{{#!if isLink = (href.startsWith('https://') || href.startsWith('http://') || href.startsWith('ftp://')), isLink
157
{{{#!if linkColor = 'none'
157
{{{#!if linkColor = 'none', outLink = 'asdf'
158158
}}}
159159
}}}{{{#!if isCategory = (href.startsWith('분류:')), isCategory
160160
## 나중에생각 - 실제로 분류되지는 않고(하고 싶어도 못 함 display: none으로 없어지는 것도 아니고) 그냥 분류 느낌만 내기
161161
}}}{{{#!if !(isCategory || isLink)
162162
{{{#!if href = 'https://theseed.io/w/'+href
163163
}}}
164
}}}{{{#!if input = input.substring(0, linkOpen) + '<div style="display: inline-table"><div style="overflow: hidden"><div style="margin-left: -1.2em' + linkColor + '"><a href="' + href + '"><div style="color: ' + linkColor + '; display: inline">' + linkPrint + '</div></a></div></div></div>' + input.substring(linkClose + 2)
164
}}}{{{#!if input = input.substring(0, linkOpen) + '<div style="display: inline-table"><div style="overflow: hidden"><div style="margin-left: -1.2em' + outLink + '"><a href="' + href + '"><div style="color: ' + linkColor + '; display: inline">' + linkPrint + '</div></a></div></div></div>' + input.substring(linkClose + 2)
165165
}}}
166166
}}}
167167
}}}
......