「テンプレート:Side box」の版間の差分
提供: miniwiki
細 (1版 をインポートしました) |
細 |
||
1行目: | 1行目: | ||
− | {{# | + | <table class="mbox-small{{#ifeq:{{lc:{{{position|}}}}}|left|-left}} {{{class|}}}" style="border:1px solid #aaa; background-color:#f9f9f9; {{{style|}}}" {{#if:{{{id|}}}|id="{{{id}}}"}}> |
+ | {{#if:{{{above|}}} | ||
+ | | <tr><td colspan={{#if:{{{imageright|}}}|3|2}} class="mbox-text" style="{{{textstyle|}}}{{{abovestyle|}}}"> | ||
+ | {{{above}}}</td></tr> | ||
+ | }} | ||
+ | <tr> | ||
+ | {{#switch:{{{image|}}} | ||
+ | |<!--BLANK-->|none={{td}} | ||
+ | |#default=<td class="mbox-image">{{{image}}}</td> | ||
+ | }} | ||
+ | <td class="mbox-text plainlist" style="{{{textstyle|}}}">{{{text}}}</td> | ||
+ | {{#if:{{{imageright|}}} | ||
+ | | <td class="mbox-imageright">{{{imageright}}}</td> | ||
+ | }} | ||
+ | </tr> | ||
+ | {{#if:{{{below|}}} | ||
+ | | <tr><td colspan={{#if:{{{imageright|}}}|3|2}} class="mbox-text" style="{{{textstyle|}}}">{{{below}}}</td></tr> | ||
+ | }} | ||
+ | </table><noinclude> | ||
{{Documentation}} | {{Documentation}} | ||
</noinclude> | </noinclude> |
2018/8/2/ (木) 08:26時点における版
{{{text}}} |
edit Documentation