「テンプレート:Mbox」の版間の差分
提供: Yourpedia
細 |
Yumenosuke (トーク | 投稿記録) |
||
1行目: | 1行目: | ||
− | { | + | {| id="{{{id|}}}" class="{{{class|}}}" style="max-width:{{#ifeq:{{{width}}}|100%||{{{width}}}}}; border:{{{border|1px #000 solid}}}; background:{{{background|#fff}}}; color:{{{color|#000}}}; margin:0.5em {{#ifeq:{{{width}}}|100%|1em|auto}}" |
− | + | | style="text-align:center"|{{#ifexist:Image:{{{image}}}|[[Image:{{{image}}}]]|{{{image|}}}}}{{#if:{{{imagetext|}}}|<div style="font-size:{{{imagetextsize|x-small}}}; line-height:130%; margin-top:0.25em">{{{imagetext}}}</div>}} | |
− | + | | style="padding:0.5em 0.25em; width:{{#if:{{{width|}}}|100%}}"| | |
− | + | {{#if:{{{title|}}}|<div style="text-align:center; font-size:{{{titlesize|x-large}}}; line-height:130%; font-weight:bold; padding-bottom:0.25em">{{{title}}}</div>}} | |
− | + | <div style="text-align:{{{align|left}}}; font-size:{{{size|}}}; line-height:150%">{{{text}}}</div> | |
− | + | | style="text-align:center"|{{#ifexist:Image:{{{imageright}}}|[[Image:{{{imageright}}}]]|{{{imageright|}}}}} | |
− | + | |}<noinclude> | |
− | + | <pre> | |
− | + | {{Mbox | |
− | + | |id = | |
− | + | |class = | |
− | | | + | |text = |
− | + | |title = | |
− | + | |width = | |
− | + | |border = | |
− | + | |background = | |
− | | | + | |color = |
− | | | + | |align = |
− | | | + | |size = |
− | | | + | |titlesize = |
− | + | |image = | |
− | | | + | |imagetext = |
− | + | |imagetextsize = | |
− | | | + | |imageright = |
− | | | + | }}</pre> |
− | | | + | [[Category:メッセージテンプレート|*]] |
− | + | [[Category:テンプレート用テンプレート]] | |
− | + | ||
− | + | ||
− | | text- | + | |
− | }}<noinclude> | + | |
− | {{ | + | |
− | < | + | |
</noinclude> | </noinclude> |
2015年4月27日 (月) 15:27時点における版
{{#ifexist:Image:{{{image}}}|[[Image:{{{image}}}]]|}}{{#if:| {{{imagetext}}} }}
|
100%}}"|
{{#if:| {{{title}}} }}
{{{text}}}
|
{{#ifexist:Image:{{{imageright}}}|[[Image:{{{imageright}}}]]|}} |
{{Mbox |id = |class = |text = |title = |width = |border = |background = |color = |align = |size = |titlesize = |image = |imagetext = |imagetextsize = |imageright = }}