削除された内容 追加された内容
m ページ 利用者:新幹線/Infobox/その3Template:Infobox へ移動: Wikipedia‐ノート:ウィキプロジェクト テンプレートに基づくInfoboxテンプレートの正式導入
m labelセルが無いときのdataセルに「text-align:center」を追加
20行目:
<tr>
{{ #if: {{{label1|}}} | <th style="white-space: nowrap; {{ #ifeq: {{{titletype|}}} | caption | background: #f2f2f2; | background: #ddf; }} {{{labelstyle|}}}">
{{{label1}}}</th> }}<td {{ #if: {{{label1|}}} || colspan="2" }} style="width: 100%; {{ #if: {{{label1|}}} || text-align: center; }} {{{datastyle|}}}; {{{oddstyle|}}}">
{{{data1}}}</td>
</tr> }}<!--
31行目:
<tr>
{{ #if: {{{label2|}}} | <th style="white-space: nowrap; {{ #ifeq: {{{titletype|}}} | caption | background: #f2f2f2; | background: #ddf; }} {{{labelstyle|}}}">
{{{label2}}}</th> }}<td {{ #if: {{{label2|}}} || colspan="2" }} style="width: 100%; {{ #if: {{{label2|}}} || text-align: center; }} {{{datastyle|}}}; {{{evenstyle|}}}">
{{{data2}}}</td>
</tr> }}<!--
42行目:
<tr>
{{ #if: {{{label3|}}} | <th style="white-space: nowrap; {{ #ifeq: {{{titletype|}}} | caption | background: #f2f2f2; | background: #ddf; }} {{{labelstyle|}}}">
{{{label3}}}</th> }}<td {{ #if: {{{label3|}}} || colspan="2" }} style="width: 100%; {{ #if: {{{label3|}}} || text-align: center; }} {{{datastyle|}}}; {{{oddstyle|}}}">
{{{data3}}}</td>
</tr> }}<!--
53行目:
<tr>
{{ #if: {{{label4|}}} | <th style="white-space: nowrap; {{ #ifeq: {{{titletype|}}} | caption | background: #f2f2f2; | background: #ddf; }} {{{labelstyle|}}}">
{{{label4}}}</th> }}<td {{ #if: {{{label4|}}} || colspan="2" }} style="width: 100%; {{ #if: {{{label4|}}} || text-align: center; }} {{{datastyle|}}}; {{{evenstyle|}}}">
{{{data4}}}</td>
</tr> }}<!--
64行目:
<tr>
{{ #if: {{{label5|}}} | <th style="white-space: nowrap; {{ #ifeq: {{{titletype|}}} | caption | background: #f2f2f2; | background: #ddf; }} {{{labelstyle|}}}">
{{{label5}}}</th> }}<td {{ #if: {{{label5|}}} || colspan="2" }} style="width: 100%; {{ #if: {{{label5|}}} || text-align: center; }} {{{datastyle|}}}; {{{oddstyle|}}}">
{{{data5}}}</td>
</tr> }}<!--
75行目:
<tr>
{{ #if: {{{label6|}}} | <th style="white-space: nowrap; {{ #ifeq: {{{titletype|}}} | caption | background: #f2f2f2; | background: #ddf; }} {{{labelstyle|}}}">
{{{label6}}}</th> }}<td {{ #if: {{{label6|}}} || colspan="2" }} style="width: 100%; {{ #if: {{{label6|}}} || text-align: center; }} {{{datastyle|}}}; {{{evenstyle|}}}">
{{{data6}}}</td>
</tr> }}<!--
86行目:
<tr>
{{ #if: {{{label7|}}} | <th style="white-space: nowrap; {{ #ifeq: {{{titletype|}}} | caption | background: #f2f2f2; | background: #ddf; }} {{{labelstyle|}}}">
{{{label7}}}</th> }}<td {{ #if: {{{label7|}}} || colspan="2" }} style="width: 100%; {{ #if: {{{label7|}}} || text-align: center; }} {{{datastyle|}}}; {{{oddstyle|}}}">
{{{data7}}}</td>
</tr> }}<!--
97行目:
<tr>
{{ #if: {{{label8|}}} | <th style="white-space: nowrap; {{ #ifeq: {{{titletype|}}} | caption | background: #f2f2f2; | background: #ddf; }} {{{labelstyle|}}}">
{{{label8}}}</th> }}<td {{ #if: {{{label8|}}} || colspan="2" }} style="width: 100%; {{ #if: {{{label8|}}} || text-align: center; }} {{{datastyle|}}}; {{{evenstyle|}}}">
{{{data8}}}</td>
</tr> }}<!--
108行目:
<tr>
{{ #if: {{{label9|}}} | <th style="white-space: nowrap; {{ #ifeq: {{{titletype|}}} | caption | background: #f2f2f2; | background: #ddf; }} {{{labelstyle|}}}">
{{{label9}}}</th> }}<td {{ #if: {{{label9|}}} || colspan="2" }} style="width: 100%; {{ #if: {{{label9|}}} || text-align: center; }} {{{datastyle|}}}; {{{oddstyle|}}}">
{{{data9}}}</td>
</tr> }}<!--
119行目:
<tr>
{{ #if: {{{label10|}}} | <th style="white-space: nowrap; {{ #ifeq: {{{titletype|}}} | caption | background: #f2f2f2; | background: #ddf; }} {{{labelstyle|}}}">
{{{label10}}}</th> }}<td {{ #if: {{{label10|}}} || colspan="2" }} style="width: 100%; {{ #if: {{{label10|}}} || text-align: center; }} {{{datastyle|}}}; {{{evenstyle|}}}">
{{{data10}}}</td>
</tr> }}<!--
130行目:
<tr>
{{ #if: {{{label11|}}} | <th style="white-space: nowrap; {{ #ifeq: {{{titletype|}}} | caption | background: #f2f2f2; | background: #ddf; }} {{{labelstyle|}}}">
{{{label11}}}</th> }}<td {{ #if: {{{label11|}}} || colspan="2" }} style="width: 100%; {{ #if: {{{label11|}}} || text-align: center; }} {{{datastyle|}}}; {{{oddstyle|}}}">
{{{data11}}}</td>
</tr> }}<!--
141行目:
<tr>
{{ #if: {{{label12|}}} | <th style="white-space: nowrap; {{ #ifeq: {{{titletype|}}} | caption | background: #f2f2f2; | background: #ddf; }} {{{labelstyle|}}}">
{{{label12}}}</th> }}<td {{ #if: {{{label12|}}} || colspan="2" }} style="width: 100%; {{ #if: {{{label12|}}} || text-align: center; }} {{{datastyle|}}}; {{{evenstyle|}}}">
{{{data12}}}</td>
</tr> }}<!--
152行目:
<tr>
{{ #if: {{{label13|}}} | <th style="white-space: nowrap; {{ #ifeq: {{{titletype|}}} | caption | background: #f2f2f2; | background: #ddf; }} {{{labelstyle|}}}">
{{{label13}}}</th> }}<td {{ #if: {{{label13|}}} || colspan="2" }} style="width: 100%; {{ #if: {{{label13|}}} || text-align: center; }} {{{datastyle|}}}; {{{oddstyle|}}}">
{{{data13}}}</td>
</tr> }}<!--
163行目:
<tr>
{{ #if: {{{label14|}}} | <th style="white-space: nowrap; {{ #ifeq: {{{titletype|}}} | caption | background: #f2f2f2; | background: #ddf; }} {{{labelstyle|}}}">
{{{label14}}}</th> }}<td {{ #if: {{{label14|}}} || colspan="2" }} style="width: 100%; {{ #if: {{{label14|}}} || text-align: center; }} {{{datastyle|}}}; {{{evenstyle|}}}">
{{{data14}}}</td>
</tr> }}<!--
174行目:
<tr>
{{ #if: {{{label15|}}} | <th style="white-space: nowrap; {{ #ifeq: {{{titletype|}}} | caption | background: #f2f2f2; | background: #ddf; }} {{{labelstyle|}}}">
{{{label15}}}</th> }}<td {{ #if: {{{label15|}}} || colspan="2" }} style="width: 100%; {{ #if: {{{label15|}}} || text-align: center; }} {{{datastyle|}}}; {{{oddstyle|}}}">
{{{data15}}}</td>
</tr> }}<!--
185行目:
<tr>
{{ #if: {{{label16|}}} | <th style="white-space: nowrap; {{ #ifeq: {{{titletype|}}} | caption | background: #f2f2f2; | background: #ddf; }} {{{labelstyle|}}}">
{{{label16}}}</th> }}<td {{ #if: {{{label16|}}} || colspan="2" }} style="width: 100%; {{ #if: {{{label16|}}} || text-align: center; }} {{{datastyle|}}}; {{{evenstyle|}}}">
{{{data16}}}</td>
</tr> }}<!--
196行目:
<tr>
{{ #if: {{{label17|}}} | <th style="white-space: nowrap; {{ #ifeq: {{{titletype|}}} | caption | background: #f2f2f2; | background: #ddf; }} {{{labelstyle|}}}">
{{{label17}}}</th> }}<td {{ #if: {{{label17|}}} || colspan="2" }} style="width: 100%; {{ #if: {{{label17|}}} || text-align: center; }} {{{datastyle|}}}; {{{oddstyle|}}}">
{{{data17}}}</td>
</tr> }}<!--
207行目:
<tr>
{{ #if: {{{label18|}}} | <th style="white-space: nowrap; {{ #ifeq: {{{titletype|}}} | caption | background: #f2f2f2; | background: #ddf; }} {{{labelstyle|}}}">
{{{label18}}}</th> }}<td {{ #if: {{{label18|}}} || colspan="2" }} style="width: 100%; {{ #if: {{{label18|}}} || text-align: center; }} {{{datastyle|}}}; {{{evenstyle|}}}">
{{{data18}}}</td>
</tr> }}<!--
218行目:
<tr>
{{ #if: {{{label19|}}} | <th style="white-space: nowrap; {{ #ifeq: {{{titletype|}}} | caption | background: #f2f2f2; | background: #ddf; }} {{{labelstyle|}}}">
{{{label19}}}</th> }}<td {{ #if: {{{label19|}}} || colspan="2" }} style="width: 100%; {{ #if: {{{label19|}}} || text-align: center; }} {{{datastyle|}}}; {{{oddstyle|}}}">
{{{data19}}}</td>
</tr> }}<!--
229行目:
<tr>
{{ #if: {{{label20|}}} | <th style="white-space: nowrap; {{ #ifeq: {{{titletype|}}} | caption | background: #f2f2f2; | background: #ddf; }} {{{labelstyle|}}}">
{{{label20}}}</th> }}<td {{ #if: {{{label20|}}} || colspan="2" }} style="width: 100%; {{ #if: {{{label20|}}} || text-align: center; }} {{{datastyle|}}}; {{{evenstyle|}}}">
{{{data20}}}</td>
</tr> }}<!--
240行目:
<tr>
{{ #if: {{{label21|}}} | <th style="white-space: nowrap; {{ #ifeq: {{{titletype|}}} | caption | background: #f2f2f2; | background: #ddf; }} {{{labelstyle|}}}">
{{{label21}}}</th> }}<td {{ #if: {{{label21|}}} || colspan="2" }} style="width: 100%; {{ #if: {{{label21|}}} || text-align: center; }} {{{datastyle|}}}; {{{oddstyle|}}}">
{{{data21}}}</td>
</tr> }}<!--
251行目:
<tr>
{{ #if: {{{label22|}}} | <th style="white-space: nowrap; {{ #ifeq: {{{titletype|}}} | caption | background: #f2f2f2; | background: #ddf; }} {{{labelstyle|}}}">
{{{label22}}}</th> }}<td {{ #if: {{{label22|}}} || colspan="2" }} style="width: 100%; {{ #if: {{{label22|}}} || text-align: center; }} {{{datastyle|}}}; {{{evenstyle|}}}">
{{{data22}}}</td>
</tr> }}<!--
262行目:
<tr>
{{ #if: {{{label23|}}} | <th style="white-space: nowrap; {{ #ifeq: {{{titletype|}}} | caption | background: #f2f2f2; | background: #ddf; }} {{{labelstyle|}}}">
{{{label23}}}</th> }}<td {{ #if: {{{label23|}}} || colspan="2" }} style="width: 100%; {{ #if: {{{label23|}}} || text-align: center; }} {{{datastyle|}}}; {{{oddstyle|}}}">
{{{data23}}}</td>
</tr> }}<!--
273行目:
<tr>
{{ #if: {{{label24|}}} | <th style="white-space: nowrap; {{ #ifeq: {{{titletype|}}} | caption | background: #f2f2f2; | background: #ddf; }} {{{labelstyle|}}}">
{{{label24}}}</th> }}<td {{ #if: {{{label24|}}} || colspan="2" }} style="width: 100%; {{ #if: {{{label24|}}} || text-align: center; }} {{{datastyle|}}}; {{{evenstyle|}}}">
{{{data24}}}</td>
</tr> }}<!--
284行目:
<tr>
{{ #if: {{{label25|}}} | <th style="white-space: nowrap; {{ #ifeq: {{{titletype|}}} | caption | background: #f2f2f2; | background: #ddf; }} {{{labelstyle|}}}">
{{{label25}}}</th> }}<td {{ #if: {{{label25|}}} || colspan="2" }} style="width: 100%; {{ #if: {{{label25|}}} || text-align: center; }} {{{datastyle|}}}; {{{oddstyle|}}}">
{{{data25}}}</td>
</tr> }}<!--
295行目:
<tr>
{{ #if: {{{label26|}}} | <th style="white-space: nowrap; {{ #ifeq: {{{titletype|}}} | caption | background: #f2f2f2; | background: #ddf; }} {{{labelstyle|}}}">
{{{label26}}}</th> }}<td {{ #if: {{{label26|}}} || colspan="2" }} style="width: 100%; {{ #if: {{{label26|}}} || text-align: center; }} {{{datastyle|}}}; {{{evenstyle|}}}">
{{{data26}}}</td>
</tr> }}<!--
306行目:
<tr>
{{ #if: {{{label27|}}} | <th style="white-space: nowrap; {{ #ifeq: {{{titletype|}}} | caption | background: #f2f2f2; | background: #ddf; }} {{{labelstyle|}}}">
{{{label27}}}</th> }}<td {{ #if: {{{label27|}}} || colspan="2" }} style="width: 100%; {{ #if: {{{label27|}}} || text-align: center; }} {{{datastyle|}}}; {{{oddstyle|}}}">
{{{data27}}}</td>
</tr> }}<!--
317行目:
<tr>
{{ #if: {{{label28|}}} | <th style="white-space: nowrap; {{ #ifeq: {{{titletype|}}} | caption | background: #f2f2f2; | background: #ddf; }} {{{labelstyle|}}}">
{{{label28}}}</th> }}<td {{ #if: {{{label28|}}} || colspan="2" }} style="width: 100%; {{ #if: {{{label28|}}} || text-align: center; }} {{{datastyle|}}}; {{{evenstyle|}}}">
{{{data28}}}</td>
</tr> }}<!--
328行目:
<tr>
{{ #if: {{{label29|}}} | <th style="white-space: nowrap; {{ #ifeq: {{{titletype|}}} | caption | background: #f2f2f2; | background: #ddf; }} {{{labelstyle|}}}">
{{{label29}}}</th> }}<td {{ #if: {{{label29|}}} || colspan="2" }} style="width: 100%; {{ #if: {{{label29|}}} || text-align: center; }} {{{datastyle|}}}; {{{oddstyle|}}}">
{{{data29}}}</td>
</tr> }}<!--
339行目:
<tr>
{{ #if: {{{label30|}}} | <th style="white-space: nowrap; {{ #ifeq: {{{titletype|}}} | caption | background: #f2f2f2; | background: #ddf; }} {{{labelstyle|}}}">
{{{label30}}}</th> }}<td {{ #if: {{{label30|}}} || colspan="2" }} style="width: 100%; {{ #if: {{{label30|}}} || text-align: center; }} {{{datastyle|}}}; {{{evenstyle|}}}">
{{{data30}}}</td>
</tr> }}<!--
350行目:
<tr>
{{ #if: {{{label31|}}} | <th style="white-space: nowrap; {{ #ifeq: {{{titletype|}}} | caption | background: #f2f2f2; | background: #ddf; }} {{{labelstyle|}}}">
{{{label31}}}</th> }}<td {{ #if: {{{label31|}}} || colspan="2" }} style="width: 100%; {{ #if: {{{label31|}}} || text-align: center; }} {{{datastyle|}}}; {{{oddstyle|}}}">
{{{data31}}}</td>
</tr> }}<!--
361行目:
<tr>
{{ #if: {{{label32|}}} | <th style="white-space: nowrap; {{ #ifeq: {{{titletype|}}} | caption | background: #f2f2f2; | background: #ddf; }} {{{labelstyle|}}}">
{{{label32}}}</th> }}<td {{ #if: {{{label32|}}} || colspan="2" }} style="width: 100%; {{ #if: {{{label32|}}} || text-align: center; }} {{{datastyle|}}}; {{{evenstyle|}}}">
{{{data32}}}</td>
</tr> }}<!--
372行目:
<tr>
{{ #if: {{{label33|}}} | <th style="white-space: nowrap; {{ #ifeq: {{{titletype|}}} | caption | background: #f2f2f2; | background: #ddf; }} {{{labelstyle|}}}">
{{{label33}}}</th> }}<td {{ #if: {{{label33|}}} || colspan="2" }} style="width: 100%; {{ #if: {{{label33|}}} || text-align: center; }} {{{datastyle|}}}; {{{oddstyle|}}}">
{{{data33}}}</td>
</tr> }}<!--
383行目:
<tr>
{{ #if: {{{label34|}}} | <th style="white-space: nowrap; {{ #ifeq: {{{titletype|}}} | caption | background: #f2f2f2; | background: #ddf; }} {{{labelstyle|}}}">
{{{label34}}}</th> }}<td {{ #if: {{{label34|}}} || colspan="2" }} style="width: 100%; {{ #if: {{{label34|}}} || text-align: center; }} {{{datastyle|}}}; {{{evenstyle|}}}">
{{{data34}}}</td>
</tr> }}<!--
394行目:
<tr>
{{ #if: {{{label35|}}} | <th style="white-space: nowrap; {{ #ifeq: {{{titletype|}}} | caption | background: #f2f2f2; | background: #ddf; }} {{{labelstyle|}}}">
{{{label35}}}</th> }}<td {{ #if: {{{label35|}}} || colspan="2" }} style="width: 100%; {{ #if: {{{label35|}}} || text-align: center; }} {{{datastyle|}}}; {{{oddstyle|}}}">
{{{data35}}}</td>
</tr> }}<!--
405行目:
<tr>
{{ #if: {{{label36|}}} | <th style="white-space: nowrap; {{ #ifeq: {{{titletype|}}} | caption | background: #f2f2f2; | background: #ddf; }} {{{labelstyle|}}}">
{{{label36}}}</th> }}<td {{ #if: {{{label36|}}} || colspan="2" }} style="width: 100%; {{ #if: {{{label36|}}} || text-align: center; }} {{{datastyle|}}}; {{{evenstyle|}}}">
{{{data36}}}</td>
</tr> }}<!--
416行目:
<tr>
{{ #if: {{{label37|}}} | <th style="white-space: nowrap; {{ #ifeq: {{{titletype|}}} | caption | background: #f2f2f2; | background: #ddf; }} {{{labelstyle|}}}">
{{{label37}}}</th> }}<td {{ #if: {{{label37|}}} || colspan="2" }} style="width: 100%; {{ #if: {{{label37|}}} || text-align: center; }} {{{datastyle|}}}; {{{oddstyle|}}}">
{{{data37}}}</td>
</tr> }}<!--
427行目:
<tr>
{{ #if: {{{label38|}}} | <th style="white-space: nowrap; {{ #ifeq: {{{titletype|}}} | caption | background: #f2f2f2; | background: #ddf; }} {{{labelstyle|}}}">
{{{label38}}}</th> }}<td {{ #if: {{{label38|}}} || colspan="2" }} style="width: 100%; {{ #if: {{{label38|}}} || text-align: center; }} {{{datastyle|}}}; {{{evenstyle|}}}">
{{{data38}}}</td>
</tr> }}<!--
438行目:
<tr>
{{ #if: {{{label39|}}} | <th style="white-space: nowrap; {{ #ifeq: {{{titletype|}}} | caption | background: #f2f2f2; | background: #ddf; }} {{{labelstyle|}}}">
{{{label39}}}</th> }}<td {{ #if: {{{label39|}}} || colspan="2" }} style="width: 100%; {{ #if: {{{label39|}}} || text-align: center; }} {{{datastyle|}}}; {{{oddstyle|}}}">
{{{data39}}}</td>
</tr> }}<!--
449行目:
<tr>
{{ #if: {{{label40|}}} | <th style="white-space: nowrap; {{ #ifeq: {{{titletype|}}} | caption | background: #f2f2f2; | background: #ddf; }} {{{labelstyle|}}}">
{{{label40}}}</th> }}<td {{ #if: {{{label40|}}} || colspan="2" }} style="width: 100%; {{ #if: {{{label40|}}} || text-align: center; }} {{{datastyle|}}}; {{{evenstyle|}}}">
{{{data40}}}</td>
</tr> }}<!--