틀:Clfr: 두 판 사이의 차이

편집 요약 없음
편집 요약 없음
1번째 줄: 1번째 줄:
<includeonly>
<includeonly>
{{#ifeq:{{FULLPAGENAME}}|{{{1}}}
| <!-- 자기 자신일 경우 (링크 제거) -->
<span style="display: inline-flex; flex-direction: column; align-items: center; line-height: 1; padding: 0; margin: 0;">
  <span style="font-size: {{{5}}}%; font-family: {{{3}}}; color: {{{4}}}; line-height: 1; margin-bottom: -{{{10}}}em;">{{{2}}}</span>
  <span style="font-size: {{{9}}}%; font-family: {{{7}}}; color: {{{8}}}; line-height: 1;">{{{6}}}</span>
</span>
| <!-- 일반 링크 처리 -->
[[{{{1}}}|
[[{{{1}}}|
<span style="display: inline-flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; padding: 0; margin: 0;">
<span style="display: inline-flex; flex-direction: column; align-items: center; line-height: 1; padding: 0; margin: 0;">
   <span style="
   <span style="font-size: {{{5}}}%; font-family: {{{3}}}; color: {{{4}}}; line-height: 1; margin-bottom: -{{{10}}}em;">{{{2}}}</span>
    font-size: {{{5}}}%;
   <span style="font-size: {{{9}}}%; font-family: {{{7}}}; color: {{{8}}}; line-height: 1;">{{{6}}}</span>
    font-family: {{{3}}};
    color: {{{4}}};
    line-height: 1;
    margin-bottom: -{{{10}}}em;">
    {{{2}}}
  </span>
   <span style="
    font-size: {{{9}}}%;
    font-family: {{{7}}};
    color: {{{8}}};
    line-height: 1;">
    {{{6}}}
  </span>
</span>
</span>
]]
]]
}}
</includeonly>
</includeonly>
<noinclude>
'''틀:clfr''' (Compact Link Font Rendering)
문서 제목에 따라 **자기 자신 링크 제거** 및 **세부 텍스트 수직 배치**를 처리하는 틀.
== 사용법 ==
<pre>
{{clfr
|1=문서명
|2=첫째줄 텍스트
|3=첫째줄 폰트
|4=첫째줄 색상
|5=첫째줄 크기 (%)
|6=둘째줄 텍스트
|7=둘째줄 폰트
|8=둘째줄 색상
|9=둘째줄 크기 (%)
|10=첫째/둘째 줄 간 간격 (em, 양수면 위로 띄움)
}}
</pre>
</noinclude>

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


틀:clfr (Compact Link Font Rendering)

문서 제목에 따라 **자기 자신 링크 제거** 및 **세부 텍스트 수직 배치**를 처리하는 틀.

사용법

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