틀:Nmbox: 두 판 사이의 차이
Revi HQ
내용 추가됨 내용 삭제됨
잔글 (avoid table as much as possible, using divs instead if there's only one cell to render; fix layout of cells for RTL if there's a 2-column table ; displya nothing if both cells are empty) |
잔글 (check layout, (i'm still looking for the #expr error that occurs in some soft-redirected category pages including this template, it is not here)) |
||
1번째 줄: | 1번째 줄: | ||
{{#if: {{{image|}}}{{{header|}}} |
{{#if: {{{image|}}}{{{header|}}} |
||
⚫ | |||
⚫ | |||
| |
|||
⚫ | |||
{{!}}-style="vertical:align:middle" |
{{!}}-style="vertical:align:middle" |
||
!scope="row" class="mbox-image" style="background:#EEF3E2;padding:4px 0.5em |
!scope="row" class="mbox-image" style="border:1px solid #AAA;background:#EEF3E2;padding:4px 0.5em;font-weight:bold;text-align:center;white-space:nowrap"{{!}}{{{image|}}} {{{header|}}} |
||
{{!}}class="mbox-text" style="border:1px solid #AAA;padding:4px 0.5em |
{{!}}width="100%" class="mbox-text" style="border:1px solid #AAA;padding:4px 0.5em"{{!}}{{{text|}}} |
||
{{!}}} |
{{!}}} |
||
| |
|||
<div class="nmbox" style="clear:{{{clear|both}}};margin:2px 0;border:1px solid #AAA;background:#F6F9ED |
<div class="nmbox" style="clear:{{{clear|both}}};margin:2px 0;border:1px solid #AAA;background:#F6F9ED"> |
||
<div class="mbox-image" style="padding:4px 0.5em;font-weight:bold;text-align:center |
<div class="mbox-image" style="padding:4px 0.5em;font-weight:bold;text-align:center">{{{image|}}} {{{header|}}}</div> |
||
</div> |
</div> |
||
}} |
|||
⚫ | |||
| {{#if: {{{text|}}} |
|||
⚫ | |||
| |
|||
⚫ | |||
⚫ | |||
⚫ | |||
</div> |
</div> |
||
}} |
|||
}}<noinclude>{{documentation}}</noinclude> |
2015년 1월 17일 (토) 10:42 판
Template documentation[create]