「テンプレート:Ombox」の版間の差分
ナビゲーションに移動
検索に移動
Template:Amboxなどと引数を共通化
template>Kurz (CSSが移入されたので告知を削除) |
template>新幹線 (Template:Amboxなどと引数を共通化) |
||
1行目: | 1行目: | ||
{{#ifeq:{{{small|}}}|yes | {{#ifeq:{{{small|}}}|yes | ||
| {{ | | {{Ombox/core | ||
| small = yes | | small = yes | ||
| type | | type = {{{type|}}} | ||
| image = {{#if:{{{smallimage|}}}| {{{smallimage}}} | {{{image|}}} }} | | image = {{#if:{{{smallimage|}}} | {{{smallimage}}} | {{{image|}}} }} | ||
| imageright = {{#if:{{{smallimageright|}}} | {{{smallimageright}}} | {{{imageright|}}} }} | | image-file = {{#if:{{{smallimage-file|}}} | {{{smallimage-file}}} | {{{image-file|}}} }} | ||
| style = {{{style|}}} | | image-size = {{#if:{{{smallimage-size|}}} | {{{smallimage-size|}}} | 30x30 }} | ||
| textstyle = {{{textstyle|}}} | | imageright = {{#if:{{{smallimageright|}}} | {{{smallimageright}}} | {{{imageright|}}} }} | ||
| text | | imageright-file = {{#if:{{{smallimageright-file|}}} | {{{smallimageright-file}}} | {{{imageright-file|}}} }} | ||
| imageright-size = {{#if:{{{smallimageright-size|{{{smallimage-size|}}}}}} | |||
| {{{smallimageright-size|{{{smallimage-size|}}}}}} | |||
| 30x30 | |||
}} | |||
| style = {{{style|}}}; {{#if:{{{background|}}}|background-color: {{{background|}}}}} | |||
| class = {{{class|}}} | |||
| textstyle = {{{textstyle|}}} | |||
| text = {{#if:{{{smalltext|}}} | {{{smalltext|}}} | {{{text}}} }} | |||
}} | }} | ||
| {{ | | {{Ombox/core | ||
| type | | type = {{{type|}}} | ||
| image = {{{image|}}} | | image = {{{image|}}} | ||
| imageright = {{{imageright|}}} | | image-file = {{{image-file|}}} | ||
| style = {{{style|}}} | | image-size = {{#if:{{{image-size|}}} | {{{image-size|}}} | 40x40 }} | ||
| textstyle = {{{textstyle|}}} | | imageright = {{{imageright|}}} | ||
| text | | imageright-file = {{{imageright-file|}}} | ||
| imageright-size = {{#if:{{{imageright-size|}}} | {{{imageright-size|}}} | 40x40 }} | |||
| style = {{{style|}}}; {{#if:{{{background|}}}|background-color: {{{background|}}}}} | |||
| class = {{{class|}}} | |||
| textstyle = {{{textstyle|}}} | |||
| text = {{#if:{{{smalltext|}}} | {{{smalltext|}}} | {{{text}}} }} | |||
}} | }} | ||
}}<noinclude> | }}<noinclude> | ||
{{ | {{Documentation}} | ||
<!-- Add categories and interwikis to the /doc subpage, not here! --> | <!-- Add categories and interwikis to the /doc subpage, not here! --> | ||
</noinclude> | </noinclude> |