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