Template:안내문: Difference between revisions

From IT위키
No edit summary
No edit summary
Line 2: Line 2:
<div style="font-size:1em;border:1px solid #9c92b8;box-sizing: border-box; border-radius:3px;
<div style="font-size:1em;border:1px solid #9c92b8;box-sizing: border-box; border-radius:3px;
padding:15px 20px; background-color:#fbfbfb;width:100%;margin-bottom:0.8rem;">
padding:15px 20px; background-color:#fbfbfb;width:100%;margin-bottom:0.8rem;">
{{#if:{{{제목}}}|<p style="margin: 0; margin-bottom:0.5rem; font-weight:bold"><b>{{{제목|}}}</b></p>|}}
{{#ifexist:{{{제목}}}|<p style="margin: 0; margin-bottom:0.5rem; font-weight:bold"><b>{{{제목|}}}</b></p>|}} {{#ifexist:{{{내용}}}|<p style="margin-bottom: 0.3rem; padding-left:10px">{{{내용|}}}</p>|}} {{#ifexist:{{{추가1}}}|<p style="margin-top: 0.5rem; margin-bottom: 0.3rem; padding-left:10px">{{{추가1|}}}</p>|}} {{#ifexist:{{{추가2}}}|<p style="margin-top: 0.5rem; margin-bottom: 0.3rem; padding-left:10px">{{{추가2|}}}</p>|}} {{#ifexist:{{{추가3}}}|<p style="margin-top: 0.5rem; margin-bottom: 0.3rem; padding-left:10px">{{{추가3|}}}</p>|}}
{{#ifexist:{{{내용}}}|<p style="margin-bottom: 0.3rem; padding-left:10px">{{{내용|}}}</p>|}}
{{#ifexist:{{{추가1}}}|<p style="margin-top: 0.5rem; margin-bottom: 0.3rem; padding-left:10px">{{{추가1|}}}</p>|}}
{{#ifexist:{{{추가2}}}|<p style="margin-top: 0.5rem; margin-bottom: 0.3rem; padding-left:10px">{{{추가2|}}}</p>|}}
{{#ifexist:{{{추가3}}}|<p style="margin-top: 0.5rem; margin-bottom: 0.3rem; padding-left:10px">{{{추가3|}}}</p>|}}
</div>
</div>
</onlyinclude>
</onlyinclude>

Revision as of 23:23, 25 March 2022


틀 소개

강조하고 싶은 안내문을 쓸 때 사용하는 기본 틀입니다.

사용법

{{안내문
|제목 =
|내용 =
|추가1 =
|추가2 =
|추가3 =
}}

분류:틀분류:디자인 틀