Template:Infobox: Difference between revisions

From VexWiki
No edit summary
No edit summary
Line 1: Line 1:
<table class="infobox vexbox" style="margin: 0 auto 1em auto; width: 300px; font-size: 90%;">
<table class="infobox vexbox">
 
   <tr>
   <tr>
     <th colspan="2" style="text-align:center; font-size:110%; background:#eaeaea;">{{{title|{{PAGENAME}}}}}</th>
     <th colspan="2" style="text-align:center; font-size:110%;">{{{title|{{PAGENAME}}}}}</th>
   </tr>
   </tr>
   {{#if:{{{image|}}}|
   {{#if:{{{image|}}}|
   <tr>
   <tr>
     <td colspan="2" style="text-align:center;">[[File:{{{image}}}|250px|frameless]]</td>
     <td colspan="2" style="text-align:center;">[[File:{{{image}}}|250px]]</td>
   </tr>}}
   </tr>}}
   {{#if:{{{caption|}}}|
   {{#if:{{{caption|}}}|
Line 13: Line 12:
   </tr>}}
   </tr>}}
   {{#if:{{{type|}}}|
   {{#if:{{{type|}}}|
   <tr>
   <tr><th>Type</th><td>{{{type}}}</td></tr>}}
    <th>Type</th>
    <td>{{{type}}}</td>
  </tr>}}
   {{#if:{{{location|}}}|
   {{#if:{{{location|}}}|
   <tr>
   <tr><th>Location</th><td>{{{location}}}</td></tr>}}
    <th>Location</th>
    <td>{{{location}}}</td>
  </tr>}}
   {{#if:{{{population|}}}|
   {{#if:{{{population|}}}|
   <tr>
   <tr><th>Population</th><td>{{{population}}}</td></tr>}}
    <th>Population</th>
    <td>{{{population}}}</td>
  </tr>}}
   {{#if:{{{established|}}}|
   {{#if:{{{established|}}}|
   <tr>
   <tr><th>Established</th><td>{{{established}}}</td></tr>}}
    <th>Established</th>
    <td>{{{established}}}</td>
  </tr>}}
   {{#if:{{{status|}}}|
   {{#if:{{{status|}}}|
   <tr>
   <tr><th>Status</th><td>{{{status}}}</td></tr>}}
    <th>Status</th>
    <td>{{{status}}}</td>
  </tr>}}
   {{#if:{{{affiliation|}}}|
   {{#if:{{{affiliation|}}}|
   <tr>
   <tr><th>Affiliation</th><td>{{{affiliation}}}</td></tr>}}
    <th>Affiliation</th>
    <td>{{{affiliation}}}</td>
  </tr>}}
   {{#if:{{{features|}}}|
   {{#if:{{{features|}}}|
   <tr>
   <tr><th>Features</th><td>{{{features}}}</td></tr>}}
    <th>Features</th>
    <td>{{{features}}}</td>
  </tr>}}
   {{#if:{{{significance|}}}|
   {{#if:{{{significance|}}}|
   <tr>
   <tr><th>Significance</th><td>{{{significance}}}</td></tr>}}
    <th>Significance</th>
    <td>{{{significance}}}</td>
  </tr>}}
   {{#if:{{{nickname|}}}|
   {{#if:{{{nickname|}}}|
   <tr>
   <tr><th>Nickname</th><td>{{{nickname}}}</td></tr>}}
    <th>Nickname</th>
    <td>{{{nickname}}}</td>
  </tr>}}
</table>
</table>

Revision as of 01:11, 11 April 2025

{{#if:| }} {{#if:| }} {{#if:| }}
 {{#if:|
}}
 {{#if:|
}}
 {{#if:|
}}
 {{#if:|
}}
 {{#if:|
}}
 {{#if:|
}}
 {{#if:|
}}
 {{#if:|
}}
Infobox
[[File:{{{image}}}|250px]]
{{{caption}}}
Type{{{type}}}
Location{{{location}}}
Population{{{population}}}
Established{{{established}}}
Status{{{status}}}
Affiliation{{{affiliation}}}
Features{{{features}}}
Significance{{{significance}}}
Nickname{{{nickname}}}