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

編集の要約なし
template>新幹線
(Undo revision 18033229 by 新幹線 (会話))
template>新幹線
編集の要約なし
1行目: 1行目:
<table class="infobox {{ #ifeq: {{{bordered|}}} | yes | bordered }}" style="font-size: 90%; width: 300px; {{{bodystyle|}}}">
<table class="infobox {{ #ifeq: {{{bordered|}}} | yes | bordered }}" style="font-size: 90%; width: 300px; {{{bodystyle|}}}">
{{ #ifeq: {{{titletype|}}} | caption | <caption style="font-weight: bold; font-size: 120%; {{{titlestyle|}}}">{{{title|{{PAGENAME}}}}}</caption> | <tr><th colspan="2" style="font-size: 120%; background: #ccf; {{{titlestyle|}}}">{{{title|{{PAGENAME}}}}}</th></tr>}}
{{ #ifeq: {{{titletype|}}} | caption | <caption style="font-weight: bold; font-size: 120%; {{{titlestyle|}}}">{{{title|{{PAGENAME}}}}}</caption> | <tr><th colspan="2" style="font-size: 120%; background: #ccf; {{{titlestyle|}}}">{{{title|{{PAGENAME}}}}}</th></tr>}}<!--
<tr class="hiddenStructure{{{image|}}}">
image
-->{{ #if: {{{image|}}} |
<tr>
<td colspan="2" style="text-align: center; {{{imagestyle|}}}">{{{image}}}{{ #if: {{{caption|}}} | <br /><span style="font-size:smaller; {{{captionstyle|}}}">{{{imagecontent|{{{caption}}}}}}</span> }}
<td colspan="2" style="text-align: center; {{{imagestyle|}}}">{{{image}}}{{ #if: {{{caption|}}} | <br /><span style="font-size:smaller; {{{captionstyle|}}}">{{{imagecontent|{{{caption}}}}}}</span> }}
</tr>
</tr> }}<!--
<tr class="hiddenStructure{{{above|}}}">
above
-->{{ #if: {{{above|}}} |
<tr>
<td colspan="2" style="text-align: center; {{ #ifeq: {{{titletype|}}} | caption || background: #ddf; }} {{{abovestyle|}}}">
<td colspan="2" style="text-align: center; {{ #ifeq: {{{titletype|}}} | caption || background: #ddf; }} {{{abovestyle|}}}">
{{{above}}}</td>
{{{above}}}</td>
</tr>
</tr> }}<!--
<tr class="hiddenStructure{{{header1|}}}">
row 1
-->{{ #if: {{{header1|}}} |
<tr>
<th colspan="2" style="{{ #ifeq: {{{titletype|}}} | caption || background: #ccf; }} {{{headerstyle|}}}">
<th colspan="2" style="{{ #ifeq: {{{titletype|}}} | caption || background: #ccf; }} {{{headerstyle|}}}">
{{{header1}}}</th>
{{{header1}}}</th>
</tr>
</tr> }}{{ #if: {{{data1|}}} |
<tr class="hiddenStructure{{{data1|}}}">
<tr>
{{ #if: {{{label1|}}} | <th style="white-space: nowrap; {{ #ifeq: {{{titletype|}}} | caption || background: #ddf; }} {{{labelstyle|}}}">
{{ #if: {{{label1|}}} | <th style="white-space: nowrap; {{ #ifeq: {{{titletype|}}} | caption || background: #ddf; }} {{{labelstyle|}}}">
{{{label1}}}</th> }}<td {{ #if: {{{label1|}}} || colspan="2" }} style="width: 100%; {{{datastyle|}}}; {{{oddstyle|}}}">
{{{label1}}}</th> }}<td {{ #if: {{{label1|}}} || colspan="2" }} style="width: 100%; {{{datastyle|}}}; {{{oddstyle|}}}">
{{{data1}}}</td>
{{{data1}}}</td>
</tr>
</tr> }}<!--
<tr class="hiddenStructure{{{header2|}}}">
row 2
-->{{ #if: {{{header2|}}} |
<tr>
<th colspan="2" style="{{ #ifeq: {{{titletype|}}} | caption || background: #ccf; }} {{{headerstyle|}}}">
<th colspan="2" style="{{ #ifeq: {{{titletype|}}} | caption || background: #ccf; }} {{{headerstyle|}}}">
{{{header2}}}</th>
{{{header2}}}</th>
</tr>
</tr> }}{{ #if: {{{data2|}}} |
<tr class="hiddenStructure{{{data2|}}}">
<tr>
{{ #if: {{{label2|}}} | <th style="white-space: nowrap; {{ #ifeq: {{{titletype|}}} | caption || background: #ddf; }} {{{labelstyle|}}}">
{{ #if: {{{label2|}}} | <th style="white-space: nowrap; {{ #ifeq: {{{titletype|}}} | caption || background: #ddf; }} {{{labelstyle|}}}">
{{{label2}}}</th> }}<td {{ #if: {{{label2|}}} || colspan="2" }} style="width: 100%; {{{datastyle|}}}; {{{evenstyle|}}}">
{{{label2}}}</th> }}<td {{ #if: {{{label2|}}} || colspan="2" }} style="width: 100%; {{{datastyle|}}}; {{{oddstyle|}}}">
{{{data2}}}</td>
{{{data2}}}</td>
</tr>
</tr> }}<!--
<tr class="hiddenStructure{{{header3|}}}">
row 3
-->{{ #if: {{{header3|}}} |
<tr>
<th colspan="2" style="{{ #ifeq: {{{titletype|}}} | caption || background: #ccf; }} {{{headerstyle|}}}">
<th colspan="2" style="{{ #ifeq: {{{titletype|}}} | caption || background: #ccf; }} {{{headerstyle|}}}">
{{{header3}}}</th>
{{{header3}}}</th>
</tr>
</tr> }}{{ #if: {{{data|}}} |
<tr class="hiddenStructure{{{data3|}}}">
<tr>
{{ #if: {{{label3|}}} | <th style="white-space: nowrap; {{ #ifeq: {{{titletype|}}} | caption || background: #ddf; }} {{{labelstyle|}}}">
{{ #if: {{{label3|}}} | <th style="white-space: nowrap; {{ #ifeq: {{{titletype|}}} | caption || background: #ddf; }} {{{labelstyle|}}}">
{{{label3}}}</th> }}<td {{ #if: {{{label3|}}} || colspan="2" }} style="width: 100%; {{{datastyle|}}}; {{{oddstyle|}}}">
{{{label3}}}</th> }}<td {{ #if: {{{label3|}}} || colspan="2" }} style="width: 100%; {{{datastyle|}}}; {{{oddstyle|}}}">
{{{data3}}}</td>
{{{data3}}}</td>
</tr>
</tr> }}<!--
<tr class="hiddenStructure{{{header4|}}}">
row 4
-->{{ #if: {{{header4|}}} |
<tr>
<th colspan="2" style="{{ #ifeq: {{{titletype|}}} | caption || background: #ccf; }} {{{headerstyle|}}}">
<th colspan="2" style="{{ #ifeq: {{{titletype|}}} | caption || background: #ccf; }} {{{headerstyle|}}}">
{{{header4}}}</th>
{{{header4}}}</th>
</tr>
</tr> }}{{ #if: {{{data4|}}} |
<tr class="hiddenStructure{{{data4|}}}">
<tr>
{{ #if: {{{label4|}}} | <th style="white-space: nowrap; {{ #ifeq: {{{titletype|}}} | caption || background: #ddf; }} {{{labelstyle|}}}">
{{ #if: {{{label4|}}} | <th style="white-space: nowrap; {{ #ifeq: {{{titletype|}}} | caption || background: #ddf; }} {{{labelstyle|}}}">
{{{label4}}}</th> }}<td {{ #if: {{{label4|}}} || colspan="2" }} style="width: 100%; {{{datastyle|}}}; {{{evenstyle|}}}">
{{{label4}}}</th> }}<td {{ #if: {{{label4|}}} || colspan="2" }} style="width: 100%; {{{datastyle|}}}; {{{oddstyle|}}}">
{{{data4}}}</td>
{{{data4}}}</td>
</tr>
</tr> }}<!--
<tr class="hiddenStructure{{{header5|}}}">
row 5
-->{{ #if: {{{header5|}}} |
<tr>
<th colspan="2" style="{{ #ifeq: {{{titletype|}}} | caption || background: #ccf; }} {{{headerstyle|}}}">
<th colspan="2" style="{{ #ifeq: {{{titletype|}}} | caption || background: #ccf; }} {{{headerstyle|}}}">
{{{header5}}}</th>
{{{header5}}}</th>
</tr>
</tr> }}{{ #if: {{{data5|}}} |
<tr class="hiddenStructure{{{data5|}}}">
<tr>
{{ #if: {{{label5|}}} | <th style="white-space: nowrap; {{ #ifeq: {{{titletype|}}} | caption || background: #ddf; }} {{{labelstyle|}}}">
{{ #if: {{{label5|}}} | <th style="white-space: nowrap; {{ #ifeq: {{{titletype|}}} | caption || background: #ddf; }} {{{labelstyle|}}}">
{{{label5}}}</th> }}<td {{ #if: {{{label5|}}} || colspan="2" }} style="width: 100%; {{{datastyle|}}}; {{{oddstyle|}}}">
{{{label5}}}</th> }}<td {{ #if: {{{label5|}}} || colspan="2" }} style="width: 100%; {{{datastyle|}}}; {{{oddstyle|}}}">
{{{data5}}}</td>
{{{data}}}</td>
</tr>
</tr> }}
<tr class="hiddenStructure{{{header6|}}}">
<tr class="hiddenStructure{{{header6|}}}">
<th colspan="2" style="{{ #ifeq: {{{titletype|}}} | caption || background: #ccf; }} {{{headerstyle|}}}">
<th colspan="2" style="{{ #ifeq: {{{titletype|}}} | caption || background: #ccf; }} {{{headerstyle|}}}">
匿名利用者