틀:Clfr: 두 판 사이의 차이

편집 요약 없음
편집 요약 없음
1번째 줄: 1번째 줄:
<includeonly>
<includeonly>
{{#ifeq:{{PAGENAME}}|{{{1}}}
{{#ifeq:{{PAGENAME}}|{{{1}}}
| <!-- 자기 자신 문서일 경우: 링크 없이 볼드 처리 -->
| <!-- 자기 자신일 때: 링크 없이 볼드 처리 -->
<span style="display:inline-flex; flex-direction:column; align-items:center; line-height:1; margin:0; padding:0;">
<span style="display:inline-flex; flex-direction:column; align-items:center; line-height:1; font-weight:bold;">
   <span style="font-size:{{{5}}}%; font-family:{{{3}}}; color:{{{4}}}; font-weight:bold; margin-bottom:-{{{10}}}em;">
   <span style="font-size:{{{5}}}%; font-family:{{{3}}}; color:{{{4}}}; margin-bottom:-{{{10}}}em;">
     {{{2}}}
     {{{2}}}
   </span>
   </span>
   <span style="font-size:{{{9}}}%; font-family:{{{7}}}; color:{{{8}}}; font-weight:bold;">
   <span style="font-size:{{{9}}}%; font-family:{{{7}}}; color:{{{8}}};">
     {{{6}}}
     {{{6}}}
   </span>
   </span>
</span>
</span>
| <!-- 일반 링크 처리 -->
| <!-- 외부 문서일 경우: 링크는 유지하되 span 안쪽 텍스트 처리 -->
[[{{{1}}}|
[[{{{1}}}|<span style="display:inline-flex; flex-direction:column; align-items:center; line-height:1;">
<span style="display:inline-flex; flex-direction:column; align-items:center; line-height:1; margin:0; padding:0;">
   <span style="font-size:{{{5}}}%; font-family:{{{3}}}; color:{{{4}}}; margin-bottom:-{{{10}}}em;">
   <span style="font-size:{{{5}}}%; font-family:{{{3}}}; color:{{{4}}}; margin-bottom:-{{{10}}}em;">
     {{{2}}}
     {{{2}}}
19번째 줄: 18번째 줄:
     {{{6}}}
     {{{6}}}
   </span>
   </span>
</span>
</span>]]
]]
}}
}}
</includeonly>
</includeonly>


<noinclude>
<noinclude>
'''틀:clfr''' (Compact Link Font Rendering)
'''틀:clfr''' Compact Link Font Rendering


문서 이름이 자기 자신일 경우 링크를 제거하고 볼드 처리하며,   
문서명이 자기 자신일 경우 링크를 제거하고 볼드 처리하며,   
그 외에는 2단 수직 텍스트를 인라인 링크로 출력합니다.
그 외에는 항상 링크를 유지하되 내부에 HTML 스타일만 적용합니다.


== 사용법 ==
== 사용법 ==

2025년 6월 17일 (화) 14:31 판


틀:clfr – Compact Link Font Rendering

문서명이 자기 자신일 경우 링크를 제거하고 볼드 처리하며, 그 외에는 항상 링크를 유지하되 내부에 HTML 스타일만 적용합니다.

사용법

{{clfr
|1=문서명
|2=첫째줄 텍스트
|3=첫째줄 폰트
|4=첫째줄 색상
|5=첫째줄 크기 (%)
|6=둘째줄 텍스트
|7=둘째줄 폰트
|8=둘째줄 색상
|9=둘째줄 크기 (%)
|10=줄 간 여백 조정 값 (em, 양수면 위로 띄움)
}}