Difference between revisions of "Template:Infobox2"

From IOTT
Jump to navigation Jump to search
m
Line 1: Line 1:
<div class="infobox">
<div class="infobox">
<div class="infobox-title"><p class='infobox' style='text-align:center;'>{{{title|{{PAGENAME}}}}}</p>{{#if: {{{sub-title1|}}}|<p class='infobox' style='text-align:center'>{{{sub-title1}}}</p>}}{{#if: {{{sub-title2|}}}|<p class='infobox' style='text-align:center'>{{{sub-title2}}}</p>}}{{#if: {{{sub-title3|}}}|<p class='infobox' style='text-align:center'>{{{sub-title3}}}</p>}}</div>{{#if:{{{image|}}}|
<div class="infobox-title">{{{title|{{PAGENAME}}}}}</div>{{#if:{{{image|}}}|
<div class="infobox-image">[[File:{{PAGENAME:{{{image}}}}}|300px]]</div>}}
<div class="infobox-image">{{{image}}}</div>
<table class="infobox-table">
<table class="infobox-table">{{#if:{{{birthdate|}}}{{{birthplace|}}}{{{birthplanet|}}}|<tr>
{{#if:{{{office1|}}}|<tr>
  <td class="infobox-c">{{{office1}}}</td>
</tr>}}
{{#if:{{{office1-term|}}}|<tr>
  <th scope='row' class='infobox'>Term</th><td class='infobox'>{{{office1-term}}}</td>
</tr>}}
{{#if:{{{office1-commissioned-by|}}}|<tr>
  <th scope='row' class='infobox'>Commissioned by</th><td class='infobox'>{{{office1-commissioned-by}}}</td>
</tr>}}
{{#if:{{{office1-preceded-by|}}}|<tr>
  <th scope='row' class='infobox'>Preceded by</th><td class='infobox'>{{{office1-preceded-by}}}</td>
</tr>}}
{{#if:{{{office1-succeeded-by|}}}|<tr>
  <th scope='row' class='infobox'>Succeeded by</th><td class='infobox'>{{{office1-succeeded-by}}}</td>
</tr>}}
{{#if:{{{office2|}}}|<tr>
  <td class="infobox-c">{{{office2}}}</td>
</tr>}}
{{#if:{{{office2-term|}}}|<tr>
  <th scope='row' class='infobox'>Term</th><td class='infobox'>{{{office2-term}}}</td>
</tr>}}
{{#if:{{{office2-commissioned-by|}}}|<tr>
  <th scope='row' class='infobox'>Commissioned by</th><td class='infobox'>{{{office2-commissioned-by}}}</td>
</tr>}}
{{#if:{{{office2-preceded-by|}}}|<tr>
  <th scope='row' class='infobox'>Preceded by</th><td class='infobox'>{{{office2-preceded-by}}}</td>
</tr>}}
{{#if:{{{office2-succeeded-by|}}}|<tr>
  <th scope='row' class='infobox'>Succeeded by</th><td class='infobox'>{{{office2-succeeded-by}}}</td>
</tr>}}
{{#if:{{{office3|}}}|<tr>
  <td class="infobox-c">{{{office3}}}</td>
</tr>}}
{{#if:{{{office3-term|}}}|<tr>
  <th scope='row' class='infobox'>Term</th><td class='infobox'>{{{office3-term}}}</td>
</tr>}}
{{#if:{{{office3-commissioned-by|}}}|<tr>
  <th scope='row' class='infobox'>Commissioned by</th><td class='infobox'>{{{office3-commissioned-by}}}</td>
</tr>}}
{{#if:{{{office3-preceded-by|}}}|<tr>
  <th scope='row' class='infobox'>Preceded by</th><td class='infobox'>{{{office3-preceded-by}}}</td>
</tr>}}
{{#if:{{{office3-succeeded-by|}}}|<tr>
  <th scope='row' class='infobox'>Succeeded by</th><td class='infobox'>{{{office3-succeeded-by}}}</td>
</tr>}}
{{#if:{{{office1|}}}|<tr>
  <td class="infobox-c">Biographic</td>
</tr>}}
{{#if:{{{birthdate|}}}{{{birthplace|}}}{{{birthplanet|}}}|<tr>
     <th scope='row' class='infobox'>Born</th><td class='infobox'>
     <th scope='row' class='infobox'>Born</th><td class='infobox'>
     {{#if:{{{birthdate|}}}|<p class='infobox'>{{{birthdate}}}</p>}}{{#if:{{{birthplace|}}}|<p class='infobox'>{{{birthplace}}}</p>}}{{#if:{{{birthplanet|}}}|<p class='infobox'>{{{birthplanet}}}</p>}}
     {{#if:{{{birthdate|}}}|<p class='infobox'>{{{birthdate}}}</p>}}{{#if:{{{birthplace|}}}|<p class='infobox'>{{{birthplace}}}</p>}}{{#if:{{{birthplanet|}}}|<p class='infobox'>{{{birthplanet}}}</p>}}

Revision as of 19:09, 23 January 2025

Infobox2
{{#if:|
{{{image}}}