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

提供:大乱闘スマッシュブラザーズWiki
編集の要約なし
編集の要約なし
 
(2人の利用者による、間の44版が非表示)
1行目: 1行目:
{| class="wikitable"
<table class="wikitable" style="font-size:85%; width:27.5em; margin:0.5em 0 0.5em 1em; text-align:left; float:right;">
{{#if: {{{タイトル|}}} |
{{#if: {{{タイトル|}}} |
{{!}}-
    <tr>
! colspan="2" style="text-align:center; {{#if: {{{見出し背景色|}}} | background-color:#{{{見出し背景色}}} color:#{{{見出し文字色}}}; | }}" {{!}} {{{タイトル}}} | }}
        <th colspan="2" style="text-align:center; {{#if: {{{見出し背景色|}}} | background-color:#{{{見出し背景色}}}; color:#{{{見出し文字色}}}; }}">{{{タイトル|}}}</th>
    </tr>
}}
{{#if: {{{画像|}}} |
{{#if: {{{画像|}}} |
{{!}}-
    <tr>
{{!}} colspan="2" {{!}} {{{画像}}} | }}
        <td colspan="2" style="text-align:center; font-size:small; background-color:#FFF;">{{{画像}}} {{#if: {{{キャプション|}}} | <br />{{{キャプション}}} }}</td>
    </tr>
}}
{{#if: {{{1-1|}}} |
{{#if: {{{1-1|}}} |
{{!}}-
    <tr>
! {{#if: {{{見出し色|}}} | style="background-color:#{{{見出し背景色}}}; color:#{{{見出し文字色}}};" | }} {{!}} {{{1-1}}}
        <th style="width:7em; {{#if: {{{見出し背景色|}}} | background-color:#{{{見出し背景色}}}; color:#{{{見出し文字色}}}; }}">{{{1-1}}}</th><td>{{{1-2}}}</td>
{{!}} {{{1-2}}} | }}
    </tr>
}}
{{#if: {{{2-1|}}} |
{{#if: {{{2-1|}}} |
{{!}}-
    <tr>
  ! {{#if: {{{見出し色|}}} | style="background-color:#{{{見出し背景色}}}; color:#{{{見出し文字色}}};" | }} {{!}} {{{2-1}}}
        <th style="width:7em; {{#if: {{{見出し背景色|}}} | background-color:#{{{見出し背景色}}}; color:#{{{見出し文字色}}}; }}">{{{2-1}}}</th><td>{{{2-2}}}</td>
{{!}} {{{2-2}}} | }}
    </tr>
}}
{{#if: {{{3-1|}}} |
{{#if: {{{3-1|}}} |
{{!}}-
    <tr>
! {{#if: {{{見出し色|}}} | style="background-color:#{{{見出し背景色}}}; color:#{{{見出し文字色}}};" | }} {{!}} {{{3-1}}}
        <th style="width:7em; {{#if: {{{見出し背景色|}}} | background-color:#{{{見出し背景色}}}; color:#{{{見出し文字色}}}; }}">{{{3-1}}}</th><td>{{{3-2}}}</td>
{{!}} {{{3-2}}} | }}
    </tr>
}}
{{#if: {{{4-1|}}} |
{{#if: {{{4-1|}}} |
{{!}}-
    <tr>
! {{#if: {{{見出し色|}}} | style="background-color:#{{{見出し背景色}}}; color:#{{{見出し文字色}}};" | }} {{!}} {{{4-1}}}
        <th style="width:7em; {{#if: {{{見出し背景色|}}} | background-color:#{{{見出し背景色}}}; color:#{{{見出し文字色}}}; }}">{{{4-1}}}</th><td>{{{4-2}}}</td>
{{!}} {{{4-2}}} | }}
    </tr>
}}
{{#if: {{{5-1|}}} |
{{#if: {{{5-1|}}} |
{{!}}-
    <tr>
! {{#if: {{{見出し色|}}} | style="background-color:#{{{見出し背景色}}}; color:#{{{見出し文字色}}};" | }} {{!}} {{{5-1}}}
        <th style="width:7em; {{#if: {{{見出し背景色|}}} | background-color:#{{{見出し背景色}}}; color:#{{{見出し文字色}}}; }}">{{{5-1}}}</th><td>{{{5-2}}}</td>
{{!}} {{{5-2}}} | }}
    </tr>
}}
{{#if: {{{6-1|}}} |
{{#if: {{{6-1|}}} |
{{!}}-
    <tr>
! {{#if: {{{見出し色|}}} | style="background-color:#{{{見出し背景色}}}; color:#{{{見出し文字色}}};" | }} {{!}} {{{5-1}}}
        <th style="width:7em; {{#if: {{{見出し背景色|}}} | background-color:#{{{見出し背景色}}}; color:#{{{見出し文字色}}}; }}">{{{6-1}}}</th><td>{{{6-2}}}</td>
{{!}} {{{6-2}}} | }}
    </tr>
}}
{{#if: {{{7-1|}}} |
{{#if: {{{7-1|}}} |
{{!}}-
    <tr>
! {{#if: {{{見出し色|}}} | style="background-color:#{{{見出し背景色}}}; color:#{{{見出し文字色}}};" | }} {{!}} {{{7-1}}}
        <th style="width:7em; {{#if: {{{見出し背景色|}}} | background-color:#{{{見出し背景色}}}; color:#{{{見出し文字色}}}; }}">{{{7-1}}}</th><td>{{{7-2}}}</td>
{{!}} {{{7-2}}} | }}
    </tr>
}}
{{#if: {{{8-1|}}} |
{{#if: {{{8-1|}}} |
{{!}}-
    <tr>
! {{#if: {{{見出し色|}}} | style="background-color:#{{{見出し背景色}}}; color:#{{{見出し文字色}}};" | }} {{!}} {{{8-1}}}
        <th style="width:7em; {{#if: {{{見出し背景色|}}} | background-color:#{{{見出し背景色}}}; color:#{{{見出し文字色}}}; }}">{{{8-1}}}</th><td>{{{8-2}}}</td>
{{!}} {{{8-2}}} | }}
    </tr>
}}
{{#if: {{{9-1|}}} |
{{#if: {{{9-1|}}} |
{{!}}-
    <tr>
! {{#if: {{{見出し色|}}} | style="background-color:#{{{見出し背景色}}}; color:#{{{見出し文字色}}};" | }} {{!}} {{{9-1}}}
        <th style="width:7em; {{#if: {{{見出し背景色|}}} | background-color:#{{{見出し背景色}}}; color:#{{{見出し文字色}}}; }}">{{{9-1}}}</th><td>{{{9-2}}}</td>
{{!}} {{{9-2}}} | }}
    </tr>
|}<noinclude>[[カテゴリ:テンプレート]]</noinclude>
}}
</table><noinclude>[[カテゴリ:テンプレート]][[カテゴリ:infoboxテンプレート]]</noinclude>

2021年6月27日 (日) 14:59時点における最新版