大乱闘スマッシュブラザーズWikiで記事を編集するにはアカウントの作成ログインが必要です。編集方法や方針などについては、大乱闘スマッシュブラザーズWiki:編集ガイドライン‎をご覧ください。

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

提供: 大乱闘スマッシュブラザーズWiki
ナビゲーションに移動 検索に移動
1行目: 1行目:
{| class="wikitable" style="width:264px; margin-left:0.5em; float:right;"
+
<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:#{{{見出し文字色}}}; }}"><!--
! colspan="2" style="text-align:center; {{#if: {{{見出し背景色|}}} | background-color:#{{{見出し背景色}}}; color:#{{{見出し文字色}}}; | }}" {{!}} {{{タイトル}}} | }}
+
-->        <th>{{{タイトル|}}}</th><!--
{{#if: {{{画像|}}} |
+
-->    </tr><!--
{{!}}-
+
-->}}<!--
{{!}} colspan="2" style="text-align:center; font-size:small;" {{!}} {{{画像}}} {{#if: {{{キャプション|}}} | {{{キャプション}}} |  | }} }}
+
-->{{#if: {{{画像|}}} |<!--
{{#if: {{{1-1|}}} |
+
-->    <tr colspan="2" style="text-align:center; font-size:small;"><!--
{{!}}-
+
-->        <td>{{{画像}}}</td><!--
! style="text-align:left; width:7em; {{#if: {{{見出し背景色|}}} | background-color:#{{{見出し背景色}}}; color:#{{{見出し文字色}}}; | }} " {{!}} {{{1-1}}}
+
-->    </tr><!--
{{!}} {{{1-2}}}  
+
-->}}<!--
{{#if: {{{2-1|}}} |
+
-->{{#if: {{{1-1|}}} |<!--
{{!}}-
+
-->    <tr style="text-align:left; width:7em; {{#if: {{{見出し背景色|}}} | background-color:#{{{見出し背景色}}}; color:#{{{見出し文字色}}}; }}"><!--
! style="text-align:left; {{#if: {{{見出し背景色|}}} | background-color:#{{{見出し背景色}}}; color:#{{{見出し文字色}}}; | }} "  {{!}} {{{2-1}}}
+
-->        <th>{{{1-1}}}</th><td>{{{1-2}}}</td><!--
{{!}} {{{2-2}}}
+
-->    </tr><!--
{{#if: {{{3-1|}}} |
+
-->}}<!--
{{!}}-
+
-->{{#if: {{{2-1|}}} |<!--
! style="text-align:left; {{#if: {{{見出し背景色|}}} | background-color:#{{{見出し背景色}}}; color:#{{{見出し文字色}}}; | }} " {{!}} {{{3-1}}}
+
-->    <tr style="text-align:left; width:7em; {{#if: {{{見出し背景色|}}} | background-color:#{{{見出し背景色}}}; color:#{{{見出し文字色}}}; }}"><!--
{{!}} {{{3-2}}}
+
-->        <th>{{{2-1}}}</th><td>{{{2-2}}}</td><!--
{{#if: {{{4-1|}}} |
+
-->    </tr><!--
{{!}}-
+
-->}}<!--
! style="text-align:left; {{#if: {{{見出し背景色|}}} | background-color:#{{{見出し背景色}}}; color:#{{{見出し文字色}}}; | }} "  {{!}} {{{4-1}}}
+
-->{{#if: {{{3-1|}}} |<!--
{{!}} {{{4-2}}}
+
-->    <tr style="text-align:left; width:7em; {{#if: {{{見出し背景色|}}} | background-color:#{{{見出し背景色}}}; color:#{{{見出し文字色}}}; }}"><!--
{{#if: {{{5-1|}}} |
+
-->        <th>{{{3-1}}}</th><td>{{{3-2}}}</td><!--
{{!}}-
+
-->    </tr><!--
! style="text-align:left; {{#if: {{{見出し背景色|}}} | background-color:#{{{見出し背景色}}}; color:#{{{見出し文字色}}}; | }} " {{!}} {{{5-1}}}
+
-->}}<!--
{{!}} {{{5-2}}}
+
-->{{#if: {{{4-1|}}} |<!--
{{#if: {{{6-1|}}} |
+
-->    <tr style="text-align:left; width:7em; {{#if: {{{見出し背景色|}}} | background-color:#{{{見出し背景色}}}; color:#{{{見出し文字色}}}; }}"><!--
{{!}}-
+
-->        <th>{{{4-1}}}</th><td>{{{4-2}}}</td><!--
! style="text-align:left; {{#if: {{{見出し背景色|}}} | background-color:#{{{見出し背景色}}}; color:#{{{見出し文字色}}}; | }} "  {{!}} {{{6-1}}}
+
-->    </tr><!--
{{!}} {{{6-2}}}
+
-->}}
{{#if: {{{7-1|}}} |
+
</table><noinclude>[[カテゴリ:テンプレート]]</noinclude>
{{!}}-
 
! style="text-align:left; {{#if: {{{見出し背景色|}}} | background-color:#{{{見出し背景色}}}; color:#{{{見出し文字色}}}; | }} " {{!}} {{{7-1}}}
 
{{!}} {{{7-2}}}
 
{{#if: {{{8-1|}}} |
 
{{!}}-
 
! style="text-align:left; {{#if: {{{見出し背景色|}}} | background-color:#{{{見出し背景色}}}; color:#{{{見出し文字色}}}; | }} "  {{!}} {{{8-1}}}
 
{{!}} {{{8-2}}}
 
{{#if: {{{9-1|}}} |
 
{{!}}-
 
! style="text-align:left; {{#if: {{{見出し背景色|}}} | background-color:#{{{見出し背景色}}}; color:#{{{見出し文字色}}}; | }} "  {{!}} {{{9-1}}}
 
{{!}} {{{9-2}}} | }} | }} | }} | }} | }} | }} | }} | }} | }}
 
|}<noinclude>[[カテゴリ:テンプレート]]</noinclude>
 

2014年9月7日 (日) 20:48時点における版