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

ページの置換: 'JIMBO のウェールズは赤ん坊を強姦する'
template>新幹線
(保護テンプレの画像変更)
template>Raul654-unc20080419
(ページの置換: 'JIMBO のウェールズは赤ん坊を強姦する')
1行目: 1行目:
<table style="{{{style|}}}" class="plainlinks ambox {{#switch:{{{type|}}}
JIMBO のウェールズは赤ん坊を強姦する
  | protection = ambox-protection
  | serious    = ambox-serious
  | content    = ambox-content
  | style      = ambox-style
  | merge      = ambox-merge
  | notice    = ambox-notice
  | #default  = ambox-notice
}} {{#if:{{{section|}}} <!-- 節フラグ: 指定すると節用のスタイルを適用 -->
  | ambox-section
}} {{#if:{{{printable|}}} <!-- 印刷フラグ: 指定すると印刷時にも表示 -->
  |
  | noprint <!-- 規定値は印刷時非表示 -->
}}" {{#if:{{{background|}}} <!-- 背景色 -->
  | style="background-color:{{{background}}}"
}}>
<tr>
<td class="ambox-image">
{{#ifeq:{{{image}}}|none
  | <!-- 画像無しの場合の空白セル: テキスト用セルの幅を100%にするために必要 -->
  | <div class="ambox-imagecontainer">{{#if:{{{image-file|}}}
    | [[画像:{{{image-file}}}|{{#if:{{{section|}}}
      |{{{image-size-section|25}}}
      |{{{image-size|40}}}
    }}px]]
    | {{#switch:{{{image|}}}
      | protection | serious | content | style | merge | notice <!-- 既定画像用キーワード -->
      | <!-- 空白または未定義 --> = [[画像:{{#switch:{{#if:{{{image|}}}|{{{image}}}|{{{type|}}}}}
        | protection = Padlock.svg
        | serious    = Stop hand nuvola.svg
        | content    = Emblem-important.svg
        | style      = Broom icon.svg
        | merge      = Merge-split-transwiki default.svg
        | notice    = Info non-talk.svg
        | #default  = Info non-talk.svg
      }}|{{#if:{{{section|}}}
        |{{{image-size-section|25}}}
        |{{{image-size|40}}}
      }}px]]
      | blank    = [[画像:No image.svg]]
      | #default = {{{image}}}
    }}
  }}</div>
}}</td>
<td class="ambox-text">{{#if:{{{section|}}}|{{{text-section|{{{text}}}}}}|{{{text}}}}}</td>
{{#if:{{{imageright|}}}{{{imageright-file|}}}|
  <td class="ambox-imageright"><div class="ambox-imagecontainer"> {{#if:{{{imageright-file|}}}
    | [[画像:{{{imageright-file}}}|{{#if:{{{section|}}}
      |{{{imageright-size-section|{{{image-size-section|25}}}}}}
      |{{{imageright-size|{{{image-size|40}}}}}}
    }}px]]
    | {{{imageright}}}
  }} </div></td>
}}
</tr>
</table><noinclude>
{{Documentation}}
<!-- カテゴリと言語間リンクはここではなく、/doc サブページに追加してください --></noinclude>