Difference between revisions of "Template:Infobox2"
Jump to navigation
Jump to search
| Line 2: | Line 2: | ||
<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"><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-image">[[File:{{PAGENAME:{{{image}}}}}|300px]]</div>}} | <div class="infobox-image">[[File:{{PAGENAME:{{{image}}}}}|300px]]</div>}} | ||
<table class="infobox-table">{{#if:{{{birthdate|}}}{{{birthplace|}}}{{{birthplanet|}}}|<tr> | <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:{{{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 17:28, 16 January 2025
Infobox2