편집 요약 없음 |
편집 요약 없음 |
||
1번째 줄: | 1번째 줄: | ||
{{namucat|김찬/제작한 틀}} | {{namucat|김찬/제작한 틀}} | ||
{{틀 도움}} | {{틀 도움}} | ||
<onlyinclude><includeonly>{{#css: table.custom-list { width: 100%; border: none; margin: .2em 0; } table.custom-list th { border: none!important; background: transparent!important; font-weight: normal!important; width: 30px; text-align: center; vertical-align: top; padding: .2em 0!important; user-select: none; } table.custom-list td { border: none!important; padding: .2em 0!important; } }} | <onlyinclude><includeonly>{{#css: .mw-parser-output > table.custom-list { margin-bottom: .8rem!important; } table.custom-list { width: 100%; border: none; margin: .2em 0; } table.custom-list th { border: none!important; background: transparent!important; font-weight: normal!important; width: 30px; text-align: center; vertical-align: top; padding: .2em 0!important; user-select: none; } table.custom-list td { border: none!important; padding: .2em 0!important; } }} | ||
<div style="margin-left: {{#expr:1.5*{{#if:{{{level|}}}|{{{level|}}}|0}}}}em;"><table class="custom-list"><!-- | <div style="margin-left: {{#expr:1.5*{{#if:{{{level|}}}|{{{level|}}}|0}}}}em;"><table class="custom-list"><!-- | ||
--><tr><th>{{{1}}}</th><td>{{{2}}}</td></tr><!-- | --><tr><th>{{{1}}}</th><td>{{{2}}}</td></tr><!-- |
2024년 10월 13일 (일) 22:39 판
틀:커스텀 목록 | |
---|---|
사용문서
|
|
넘겨주기
|
이동하기
|
{{커스텀 목록 |기호1|내용1 |기호2|내용2 ︙ }}
기호를 직접 커스텀할 수 있는 틀입니다. |level=숫자
변수로 2단계 이하의 하위 목록을 만들 수 있습니다. 혹은 아래 예제처럼 틀 안에 새로 틀을 넣어도 됩니다. 기술적 한계로 개수 제한이 있습니다.
[ 사용 예제 ] {{커스텀 목록 |①|{{로렘 입숨}} {{커스텀 목록 |ⓐ|{{로렘 입숨}} |ⓑ|{{로렘 입숨|kr}} }} |②|{{로렘 입숨|kr}} }}
|