「テンプレート:Infobox」の版間の差分
ナビゲーションに移動
検索に移動
細 |
細 |
||
1行目: | 1行目: | ||
− | + | <table class="wikitable" style="width:264px; margin-left:0.5em; float:right;"> | |
− | {{#if: {{{タイトル|}}} | | + | {{#if: {{{タイトル|}}} |<!-- |
− | + | --> <tr colspan="2" style="text-align:center; {{#if: {{{見出し背景色|}}} | background-color:#{{{見出し背景色}}}; color:#{{{見出し文字色}}}; }}"><!-- | |
− | + | --> <th>{{{タイトル|}}}</th><!-- | |
− | {{#if: {{{画像|}}} | | + | --> </tr><!-- |
− | + | -->}}<!-- | |
− | + | -->{{#if: {{{画像|}}} |<!-- | |
− | {{#if: {{{1-1|}}} | | + | --> <tr colspan="2" style="text-align:center; font-size:small;"><!-- |
− | + | --> <td>{{{画像}}}</td><!-- | |
− | + | --> </tr><!-- | |
− | + | -->}}<!-- | |
− | + | -->{{#if: {{{1-1|}}} |<!-- | |
− | + | --> <tr style="text-align:left; width:7em; {{#if: {{{見出し背景色|}}} | background-color:#{{{見出し背景色}}}; color:#{{{見出し文字色}}}; }}"><!-- | |
− | + | --> <th>{{{1-1}}}</th><td>{{{1-2}}}</td><!-- | |
− | + | --> </tr><!-- | |
− | {{#if: {{{ | + | -->}}<!-- |
− | + | -->{{#if: {{{2-1|}}} |<!-- | |
− | + | --> <tr style="text-align:left; width:7em; {{#if: {{{見出し背景色|}}} | background-color:#{{{見出し背景色}}}; color:#{{{見出し文字色}}}; }}"><!-- | |
− | + | --> <th>{{{2-1}}}</th><td>{{{2-2}}}</td><!-- | |
− | + | --> </tr><!-- | |
− | + | -->}}<!-- | |
− | + | -->{{#if: {{{3-1|}}} |<!-- | |
− | + | --> <tr style="text-align:left; width:7em; {{#if: {{{見出し背景色|}}} | background-color:#{{{見出し背景色}}}; color:#{{{見出し文字色}}}; }}"><!-- | |
− | {{#if: {{{ | + | --> <th>{{{3-1}}}</th><td>{{{3-2}}}</td><!-- |
− | + | --> </tr><!-- | |
− | + | -->}}<!-- | |
− | + | -->{{#if: {{{4-1|}}} |<!-- | |
− | + | --> <tr style="text-align:left; width:7em; {{#if: {{{見出し背景色|}}} | background-color:#{{{見出し背景色}}}; color:#{{{見出し文字色}}}; }}"><!-- | |
− | + | --> <th>{{{4-1}}}</th><td>{{{4-2}}}</td><!-- | |
− | + | --> </tr><!-- | |
− | + | -->}} | |
− | {{#if: {{{ | + | </table><noinclude>[[カテゴリ:テンプレート]]</noinclude> |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |