Template:안내문: Difference between revisions
From CS Wiki
No edit summary |
No edit summary |
||
Line 3: | Line 3: | ||
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>|}} | {{#if:{{{제목}}}|<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>|}} | ||
</div> | </div> | ||
</onlyinclude> | </onlyinclude> |
Revision as of 09:18, 25 March 2022
틀 소개
강조하고 싶은 안내문을 쓸 때 사용하는 기본 틀입니다.
사용법
{{안내문 |제목 = |내용 = |추가1 = |추가2 = |추가3 = }}