Difference between revisions of "Template:Infobox"

From Orbis Wiki
Jump to navigation Jump to search
(More testing; add some actual variables)
Line 1: Line 1:
 
<div class="infobox">
 
<div class="infobox">
   <div class="infobox-title">{{{title|{{PAGENAME}}}}}</div>{{#if:{{{image|}}}|
+
   <div class="infobox-title">{{{title|{{PAGENAME}}}}}</div>
  <div class="infobox-image">[[File:{{{image}}}|300px]]</div>}}
+
{{#if:{{{image|}}}|
   <table>{{#if:{{{born|}}}|<tr>
+
<div class="infobox-image">[[File:{{{image}}}|300px]]</div>
 +
}}
 +
   <table>
 +
{{#if:{{{born|}}}|
 +
<tr>
 
       <th>Born</th>
 
       <th>Born</th>
 
       <td>{{{born}}}</td>
 
       <td>{{{born}}}</td>
 +
</tr>}}
 
   </table>
 
   </table>
 
</div>
 
</div>

Revision as of 21:29, 1 April 2020

Infobox