Template:Infobox: Difference between revisions

Template page
(Styling and code formatting)
m (1 revision imported)
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<table class="infobox" style="border: 1px solid #aaa; border-spacing: 3px; background-color: #f9f9f9; color: black; margin: 0.5em 0 0.5em 1em; padding: 0.2em; float: right; clear: right; font-size: 88%; line-height: 1.5em; width:22em"><!--
{{#invoke:Infobox|infobox}}<includeonly>{{template other|{{#ifeq:{{PAGENAME}}|Infobox||{{#ifeq:{{str left|{{SUBPAGENAME}}|7}}|Infobox|[[Category:Infobox templates|{{remove first word|{{SUBPAGENAME}}}}]]}}}}|}}</includeonly><noinclude>
-->{{#if:{{{title|}}}|<caption>{{{title}}}</caption>}}<!--
{{documentation}}
-->{{#if:{{{above|}}}|<tr><th colspan="2" style="text-align:center;font-size:125%;font-weight:bold">{{{above}}}</th></tr>}}<!--================
<!-- Categories go in the /doc subpage, and interwikis go in Wikidata. -->
  Row 1
</noinclude>
================
-->{{#if: {{{header1|}}}{{{data1|}}}
|<tr>{{#if: {{{header1|}}}|<th colspan="2" style="text-align: center">{{{header1}}}</th>
|{{#if: {{{label1|}}}
  |<th scope="row" style="text-align: left; vertical-align: top; width: 33%">{{{label1}}}</th><td style="text-align: left; vertical-align: top;">{{{data1}}}</td>
  |<td colspan="2" style="text-align: center;">{{{data1}}}</td>}}
  }}</tr>
}}<!--
================
  Row 2
================
-->{{#if: {{{header2|}}}{{{data2|}}}
|<tr>{{#if: {{{header2|}}}|<th colspan="2" style="text-align: center">{{{header2}}}</th>
|{{#if: {{{label2|}}}
  |<th scope="row" style="text-align: left; vertical-align: top; width: 33%">{{{label2}}}</th><td style="text-align: left; vertical-align: top;">{{{data2}}}</td>
  |<td colspan="2" style="text-align: center;">{{{data2}}}</td>}}
  }}</tr>
}}<!--
================
  Row 3
================
-->{{#if: {{{header3|}}}{{{data3|}}}
|<tr>{{#if: {{{header3|}}}|<th colspan="2" style="text-align: center">{{{header3}}}</th>
|{{#if: {{{label3|}}}
  |<th scope="row" style="text-align: left; vertical-align: top; width: 33%">{{{label3}}}</th><td style="text-align: left; vertical-align: top;">{{{data3}}}</td>
  |<td colspan="2" style="text-align: center;">{{{data3}}}</td>}}
  }}</tr>
}}<!--
================
  Row 4
================
-->{{#if: {{{header4|}}}{{{data4|}}}
|<tr>{{#if: {{{header4|}}}|<th colspan="2" style="text-align: center">{{{header4}}}</th>
|{{#if: {{{label4|}}}
  |<th scope="row" style="text-align: left; vertical-align: top; width: 33%">{{{label4}}}</th><td style="text-align: left; vertical-align: top;">{{{data4}}}</td>
  |<td colspan="2" style="text-align: center;">{{{data4}}}</td>}}
  }}</tr>
}}<!--
================
  Row 5
================
-->{{#if: {{{header5|}}}{{{data5|}}}
|<tr>{{#if: {{{header5|}}}|<th colspan="2" style="text-align: center">{{{header5}}}</th>
|{{#if: {{{label5|}}}
  |<th scope="row" style="text-align: left; vertical-align: top; width: 33%">{{{label5}}}</th><td style="text-align: left; vertical-align: top;">{{{data5}}}</td>
  |<td colspan="2" style="text-align: center;">{{{data5}}}</td>}}
  }}</tr>
}}<!--
================
  Row 6
================
-->{{#if: {{{header6|}}}{{{data6|}}}
|<tr>{{#if: {{{header6|}}}|<th colspan="2" style="text-align: center">{{{header6}}}</th>
|{{#if: {{{label6|}}}
  |<th scope="row" style="text-align: left; vertical-align: top; width: 33%">{{{label6}}}</th><td style="text-align: left; vertical-align: top;">{{{data6}}}</td>
  |<td colspan="2" style="text-align: center;">{{{data6}}}</td>}}
  }}</tr>
}}<!--
================
  Row 7
================
-->{{#if: {{{header7|}}}{{{data7|}}}
|<tr>{{#if: {{{header7|}}}|<th colspan="2" style="text-align: center">{{{header7}}}</th>
|{{#if: {{{label7|}}}
  |<th scope="row" style="text-align: left; vertical-align: top; width: 33%">{{{label7}}}</th><td style="text-align: left; vertical-align: top;">{{{data7}}}</td>
  |<td colspan="2" style="text-align: center;">{{{data7}}}</td>}}
  }}</tr>
}}<!--
================
  Row 8
================
-->{{#if: {{{header8|}}}{{{data8|}}}
|<tr>{{#if: {{{header8|}}}|<th colspan="2" style="text-align: center">{{{header8}}}</th>
|{{#if: {{{label8|}}}
  |<th scope="row" style="text-align: left; vertical-align: top; width: 33%">{{{label8}}}</th><td style="text-align: left; vertical-align: top;">{{{data8}}}</td>
  |<td colspan="2" style="text-align: center;">{{{data8}}}</td>}}
  }}</tr>
}}<!--
================
  Row 9
================
-->{{#if: {{{header9|}}}{{{data9|}}}
|<tr>{{#if: {{{header9|}}}|<th colspan="2" style="text-align: center">{{{header9}}}</th>
|{{#if: {{{label9|}}}
  |<th scope="row" style="text-align: left; vertical-align: top; width: 33%">{{{label9}}}</th><td style="text-align: left; vertical-align: top;">{{{data9}}}</td>
  |<td colspan="2" style="text-align: center;">{{{data9}}}</td>}}
  }}</tr>
}}<!--
================
  Row 10
================
-->{{#if: {{{header10|}}}{{{data10|}}}
|<tr>{{#if: {{{header10|}}}|<th colspan="2" style="text-align: center">{{{header10}}}</th>
|{{#if: {{{label10|}}}
  |<th scope="row" style="text-align: left; vertical-align: top; width: 33%">{{{label10}}}</th><td style="text-align: left; vertical-align: top;">{{{data10}}}</td>
  |<td colspan="2" style="text-align: center;">{{{data10}}}</td>}}
  }}</tr>
}}<!--
--></table>

Latest revision as of 20:32, 26 July 2022