Difference between revisions of "Template:Infobox2"

From IOTT
Jump to navigation Jump to search
(Undo revision 535 by JesseB (talk))
Tag: Undo
Tag: Manual revert
 
(13 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div class="infobox">
 
<div class="infobox-title">{{{title|{{PAGENAME}}}}}</div>{{#if:{{{image|}}}|
<div class="infobox" style="padding-left: 10px;">
<div class="infobox-image">[[{{{title|PAGENAME}}}:{{{image}}}|300px|thumb|center|{{{title|PAGENAME}}}]]</div>}}
<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>
<table class="infobox-table">{{#if:{{{birthdate|}}}{{{birthplace|}}}{{{birthplanet|}}}|<tr>
{{#if:{{{images|}}}
| <div class="infobox-image-frame"><div class="infobox-image" style="background-color: purple;"><span class="infobox-vertical-helper"></span>{{{images}}}</div></div>
|{{#if:{{{image|}}}
  | <div class="infobox-image-frame"><div class="infobox-image"><span class="infobox-vertical-helper"></span>[[File:{{PAGENAME:{{{image}}}}}|300px|thumb|center|{{{title|{{PAGENAME}}}}}]]</div></div>
  }}
}}
<table class="infobox-table">
{{#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>}}
Line 22: Line 77:
     <th scope='row' class='infobox'>Mother</th>
     <th scope='row' class='infobox'>Mother</th>
     <td class='infobox'>{{{mother-ref}}}</td>
     <td class='infobox'>{{{mother-ref}}}</td>
</tr>}}{{#if:{{{allegience|}}}|<tr>
</tr>}}{{#if:{{{allegiance|}}}|<tr>
     <th scope='row' class='infobox'>Allegience</th>
     <th scope='row' class='infobox'>Allegience</th>
     <td class='infobox'>{{{allegience}}}</td>
     <td class='infobox'>{{{allegiance}}}</td>
</tr>}}{{#if:{{{sibling-ref1|}}}|<tr>
</tr>}}{{#if:{{{sibling-ref1|}}}|<tr>
     <th scope='row' class='infobox'>Siblings</th>
     <th scope='row' class='infobox'>Siblings</th>

Latest revision as of 21:24, 12 March 2025

Infobox2