틀:Nmbox: 두 판 사이의 차이
Revi HQ
내용 추가됨 내용 삭제됨
잔글 (-obsolete "width" attribute) |
(switch to templatestyles to fix mobile) |
||
1번째 줄: | 1번째 줄: | ||
<templatestyles src="Template:Nmbox/styles.css" /> |
|||
{{#if: {{{image|}}}{{{header|}}} |
|||
<div class="nmbox noprint">{{#if: {{{image|}}}{{{header|}}} |
|||
|<div class="nmbox-header">{{#if: {{{image|}}}|<div class="nmbox-image mbox-image">{{{image|}}}</div>}}{{{header|}}} |
|||
| |
|||
⚫ | |||
{{{!}}class="nmbox" style="clear:{{{clear|both}}};margin:2px 0;border:1px solid #AAA;border-spacing:0;border-collapse:collapse;background:#F6F9ED;padding:0" |
|||
⚫ | |||
{{!}}-style="vertical:align:middle" |
|||
⚫ | |||
!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="width: 100%; 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="mbox-image" style="padding:4px 0.5em;font-weight:bold;text-align:center">{{{image|}}} {{{header|}}}</div> |
|||
⚫ | |||
}} |
|||
| {{#if: {{{text|}}} |
|||
| |
|||
<div class="nmbox" style="clear:{{{clear|both}}};margin:2px 0;border:1px solid #AAA;background:#F6F9ED"> |
|||
⚫ | |||
</div> |
|||
}} |
|||
⚫ |
2020년 2월 7일 (금) 05:49 판
Template documentation[create]