Difference between revisions of "Template:Infobox2"
Jump to navigation
Jump to search
Tag: Manual revert |
|||
| (34 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">[[File:{{PAGENAME:{{{image}}}}}|300px]]</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:{{{birthdate|}}}|<p class='infobox'>{{{birthdate}}}</p>}}{{#if:{{{birthplace|}}}|<p class='infobox'>{{{birthplace}}}</p>}}{{#if:{{{birthplanet|}}}|<p class='infobox'>{{{birthplanet}}}</p>}} | ||
</td></tr>}}{{#if:{{{deathdate|}}}{{{deathplace|}}}{{{deathplanet|}}}|<tr> | </td></tr>}}{{#if:{{{deathdate|}}}{{{deathplace|}}}{{{deathplanet|}}}|<tr> | ||
<th scope='row' class='infobox'>Died</th><td class='infobox'> | <th scope='row' class='infobox'>Died</th><td class='infobox'> | ||
{{#if:{{{deathdate|}}}|{{{deathdate}}}}} | {{#if:{{{deathdate|}}}|<p class='infobox'>{{{deathdate}}}</p>}} | ||
{{#if:{{{deathplace|}}}|{{{deathplace}}}}} | {{#if:{{{deathplace|}}}|<p class='infobox'>{{{deathplace}}}</p>}} | ||
{{#if:{{{deathplanet|}}}|{{{deathplanet}}}}} | {{#if:{{{deathplanet|}}}|<p class='infobox'>{{{deathplanet}}}</p>}} | ||
</td></tr>}}{{#if:{{{spouse-ref|}}}|<tr> | </td></tr>}}{{#if:{{{spouse-ref|}}}|<tr> | ||
<th scope='row' class='infobox'>Spouse</th> | <th scope='row' class='infobox'>Spouse</th><td class='infobox'> | ||
< | <p class='infobox'>{{{spouse-ref}}}</p>{{#if:{{{spouse-ref1|}}}|<p class='infobox'>{{{spouse-ref1}}}</p>}}{{#if:{{{spouse-ref2|}}}|<p class='infobox'>{{{spouse-ref2}}}</p>}} | ||
</td></tr>}}{{#if:{{{issue-ref1|}}}|<tr> | </td></tr>}}{{#if:{{{issue-ref1|}}}|<tr> | ||
<th scope='row' class='infobox'>Issue</th> | <th scope='row' class='infobox'>Issue</th><td class='infobox'> | ||
< | <p class='infobox'>{{{issue-ref1}}}</p>{{#if:{{{issue-ref2|}}}|<p class='infobox'>{{{issue-ref2}}}</p>}}{{#if:{{{issue-ref3|}}}|<p class='infobox'>{{{issue-ref3}}}</p>}}{{#if:{{{issue-ref4|}}}|<p class='infobox'>{{{issue-ref4}}}</p>}}{{#if:{{{issue-ref5|}}}|<p class='infobox'>{{{issue-ref5}}}</p>}}{{#if:{{{issue-ref6|}}}|<p class='infobox'>{{{issue-ref6}}}</p>}}{{#if:{{{issue-ref7|}}}|<p class='infobox'>{{{issue-ref7}}}</p>}}{{#if:{{{issue-ref8|}}}|<p class='infobox'>{{{issue-ref8}}}</p>}}{{#if:{{{issue-ref9|}}}|<p class='infobox'>{{{issue-ref9}}}</p>}}{{#if:{{{issue-refn|}}}|<p class='infobox'>{{{issue-refn}}}</p>}} | ||
</td></tr>}}{{#if:{{{father-ref|}}}|<tr> | </td></tr>}}{{#if:{{{father-ref|}}}|<tr> | ||
<th scope='row' class='infobox'>Father</th> | <th scope='row' class='infobox'>Father</th> | ||
| Line 35: | 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:{{{ | </tr>}}{{#if:{{{allegiance|}}}|<tr> | ||
<th scope='row' class='infobox'>Allegience</th> | <th scope='row' class='infobox'>Allegience</th> | ||
<td class='infobox'>{{{ | <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> | ||
<td class='infobox'>{{{sibling-ref1}}}<br> | <td class='infobox'>{{{sibling-ref1}}}<br> | ||
{{#if:{{sibling-ref2|}}}|{{{sibling-ref2}}}<p | {{#if:{{sibling-ref2|}}}|<p class='infobox'>{{{sibling-ref2}}}</p>}}{{#if:{{sibling-ref3|}}}|<p class='infobox'>{{{sibling-ref3}}}</p>}}{{#if:{{sibling-ref4|}}}|<p class='infobox'>{{{sibling-ref4}}}</p>}}{{#if:{{sibling-ref5|}}}|<p class='infobox'>{{{sibling-ref5}}}</p>}}{{#if:{{sibling-ref6|}}}|<p class='infobox'>{{{sibling-ref6}}}</p>}}{{#if:{{sibling-ref7|}}}|<p class='infobox'>{{{sibling-ref7}}}</p>}}{{#if:{{sibling-ref8|}}}|<p class='infobox'>{{{sibling-ref8}}}</p>}}{{#if:{{sibling-ref9|}}}|<p class='infobox'>{{{sibling-ref9}}}</p>}}{{#if:{{sibling-refn|}}}|<p class='infobox'>{{{sibling-refn}}}</p>}} | ||
</td></tr>}} | </td></tr>}} | ||
</table> | </table> | ||
</div> | </div> | ||
Latest revision as of 21:24, 12 March 2025
Infobox2