Difference between revisions of "Template:Infobox"

From MathEd.net Wiki
Jump to navigation Jump to search
m (trying with more pipes)
m (reformatted table with indents)
Line 2: Line 2:
<div class="infobox-title">{{{title|{{PAGENAME}}}}}</div>{{#if:{{{image|}}}|
<div class="infobox-title">{{{title|{{PAGENAME}}}}}</div>{{#if:{{{image|}}}|
<div class="infobox-image">[[File:{{{image}}}|300px]]</div>}}
<div class="infobox-image">[[File:{{{image}}}|300px]]</div>}}
<table>{{#if:{{{born-date|}}}|<tr>
<table>
    <th>Born</th>
    <td>{{{born-date}}}</td>
</tr>}}{{#if:{{{died-date|}}}|<tr>
    <th>Died</th>
    <td>{{{died-date}}}</td>
</tr>}}{{#if:{{{institutions|}}}|<tr>
    <th>Institutions</th>
    <td>{{{institutions}}}</td>
</tr>}}{{#if:{{{alma-mater|}}}{{{thesis|}}}{{{advisor|}}}|<tr><th colspan="2" style="text-align: center">Header</th></td>


</tr>|
  {{#if:{{{born-date|}}}|
}}{{#if:{{{alma-mater|}}}|<tr>
    <tr><th>Born</th><td>{{{born-date}}}</td></tr>}}
     <th>Alma Mater</th>
  {{#if:{{{died-date|}}}|
    <td>{{{alma-mater}}}</td>
    <tr><th>Died</th><td>{{{died-date}}}</td></tr>}}
</tr>}}{{#if:{{{thesis|}}}|<tr>
  {{#if:{{{institutions|}}}|
    <th>Thesis</th>
    <tr><th>Institutions</th><td>{{{institutions}}}</td></tr>}}
    <td>{{{thesis}}}</td>
 
</tr>}}{{#if:{{{advisor|}}}|<tr>
  {{#if:{{{alma-mater|}}}{{{thesis|}}}{{{advisor|}}}|
    <th>Doctoral Advisor</th>
    <tr><th colspan="2" style="text-align: center">Header</th></td></tr>}}
    <td>{{{advisor}}}</td>
 
</tr>}}</table>
  {{#if:{{{alma-mater|}}}|
     <tr><th>Alma Mater</th><td>{{{alma-mater}}}</td></tr>}}
  {{#if:{{{thesis|}}}|
    <tr><th>Thesis</th><td>{{{thesis}}}</td></tr>}}
  {{#if:{{{advisor|}}}|
    <tr><th>Doctoral Advisor</th><td>{{{advisor}}}</td></tr>}}
 
</table>
</div>
</div>

Revision as of 05:24, 3 June 2021

Infobox