Difference between revisions of "Template:Infobox2"

From IOTT
Jump to navigation Jump to search
Line 3: Line 3:
<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:{{{birthdate|}}}{{{birthplace|}}}{{{birthplanet|}}}|<tr>
     <th scope='row' class='infobox'>Born</th><td>
     <th scope='row' class='infobox'>Born</th><td class='infobox'>
     {{#if:{{{birthdate|}}}|{{{birthdate}}}<p/>}}
     {{#if:{{{birthdate|}}}|{{{birthdate}}}<p/>}}
     {{#if:{{{birthplace|}}}|{{{birthplace}}}<p/>}}
     {{#if:{{{birthplace|}}}|{{{birthplace}}}<p/>}}
Line 9: Line 9:
</td></tr>}}{{#if:{{{deathdate|}}}{{{deathplace|}}}{{{deathplanet|}}}|<tr>
</td></tr>}}{{#if:{{{deathdate|}}}{{{deathplace|}}}{{{deathplanet|}}}|<tr>
     <th scope='row' class='infobox'>Died</th>
     <th scope='row' class='infobox'>Died</th>
     <td>{{#if:{{{deathdate|}}}|{{{deathdate}}}<p/>}}
     <td class='infobox'>{{#if:{{{deathdate|}}}|{{{deathdate}}}<p/>}}
     {{#if:{{{deathplace|}}}|{{{deathplace}}}<p/>}}
     {{#if:{{{deathplace|}}}|{{{deathplace}}}<p/>}}
     {{#if:{{{deathplanet|}}}|{{{deathplanet}}}}}
     {{#if:{{{deathplanet|}}}|{{{deathplanet}}}}}
</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>{{{spouse-ref}}}<br>
     <td class='infobox'>{{{spouse-ref}}}<br>
     {{#if:{{{spouse-ref1|}}}|{{{spouse-ref1}}}<p/>}}
     {{#if:{{{spouse-ref1|}}}|{{{spouse-ref1}}}<p/>}}
     {{#if:{{{spouse-ref2|}}}|{{{spouse-ref2}}}}}
     {{#if:{{{spouse-ref2|}}}|{{{spouse-ref2}}}}}
</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>{{{issue-ref1}}}<p/>
     <td class='infobox'>{{{issue-ref1}}}<p/>
     {{#if:{{{issue-ref2|}}}|{{{issue-ref2}}}<p/>}}
     {{#if:{{{issue-ref2|}}}|{{{issue-ref2}}}<p/>}}
     {{#if:{{{issue-ref3|}}}|{{{issue-ref3}}}<p/>}}
     {{#if:{{{issue-ref3|}}}|{{{issue-ref3}}}<p/>}}
Line 31: Line 31:
</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>
     <td>{{{father-ref}}}</td>
     <td class='infobox'>{{{father-ref}}}</td>
</tr>}}{{#if:{{{mother-ref|}}}|<tr>
</tr>}}{{#if:{{{mother-ref|}}}|<tr>
     <th scope='row' class='infobox'>Mother</th>
     <th scope='row' class='infobox'>Mother</th>
     <td>{{{mother-ref}}}</td>
     <td class='infobox'>{{{mother-ref}}}</td>
</tr>}}{{#if:{{{allegience|}}}|<tr>
</tr>}}{{#if:{{{allegience|}}}|<tr>
     <th scope='row' class='infobox'>Allegience</th>
     <th scope='row' class='infobox'>Allegience</th>
     <td>{{{allegience}}}</td>
     <td class='infobox'>{{{allegience}}}</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>{{{sibling-ref1}}}<br>
     <td class='infobox'>{{{sibling-ref1}}}<br>
     {{#if:{{sibling-ref2|}}}|{{{sibling-ref2}}}<p/>}}
     {{#if:{{sibling-ref2|}}}|{{{sibling-ref2}}}<p/>}}
     {{#if:{{sibling-ref3|}}}|{{{sibling-ref3}}}<p/>}}
     {{#if:{{sibling-ref3|}}}|{{{sibling-ref3}}}<p/>}}

Revision as of 00:41, 16 January 2025

Infobox2