「テンプレート:Ombox」の版間の差分

提供: MonoBook
ナビゲーションに移動 検索に移動
imported>Administrator
(ページの作成:「{{#ifeq:{{{small|}}}|yes | {{Ombox/core | small = yes | type = {{{type|}}} | image = {{#if:{{{smallimage|}}} | {{{smallimage}}} | {...」)
 
imported>Mono Book
(内容を「{{#invoke:Message box|ombox}}<noinclude> {{documentation}} <!-- Add categories and interwikis to the /doc subpage, not here! --> </noinclude>」で置換)
 
1行目: 1行目:
{{#ifeq:{{{small|}}}|yes
+
{{#invoke:Message box|ombox}}<noinclude>
| {{Ombox/core
+
{{documentation}}
  | small          = yes
 
  | type            = {{{type|}}}
 
  | image          = {{#if:{{{smallimage|}}} | {{{smallimage}}} | {{{image|}}} }}
 
  | image-file      = {{#if:{{{smallimage-file|}}} | {{{smallimage-file}}} | {{{image-file|}}} }}
 
  | image-size      = {{#if:{{{smallimage-size|}}} | {{{smallimage-size|}}} | 30x30 }}
 
  | imageright      = {{#if:{{{smallimageright|}}} | {{{smallimageright}}} | {{{imageright|}}} }}
 
  | 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|}}}
 
  | image          = {{{image|}}}
 
  | image-file      = {{{image-file|}}}
 
  | image-size      = {{#if:{{{image-size|}}} | {{{image-size|}}} | 40x40 }}
 
  | imageright      = {{{imageright|}}}
 
  | imageright-file = {{{imageright-file|}}}
 
  | imageright-size = {{#if:{{{imageright-size|}}} | {{{imageright-size|}}} | 40x40 }}
 
  | style          = {{{style|}}}; {{#if:{{{background|}}}|background-color: {{{background|}}}}}
 
  | class          = {{{class|}}}
 
  | textstyle      = {{{textstyle|}}}
 
  | text            = {{{text}}}
 
  }}
 
}}<noinclude>
 
{{Documentation}}
 
 
<!-- Add categories and interwikis to the /doc subpage, not here! -->
 
<!-- Add categories and interwikis to the /doc subpage, not here! -->
 
</noinclude>
 
</noinclude>

2014年10月27日 (月) 02:04時点における最新版

[作成]ファイル:Template-info.svg テンプレートの解説
このテンプレートには、サンドボックステストケースもありません。(解説