Difference between revisions of "Template:Infobox"

From Orbis Wiki
Jump to navigation Jump to search
m
m
Line 1: Line 1:
 
<div class="infobox">
 
<div class="infobox">
  <div class="infobox-title">{{{title|{{PAGENAME}}}}}</div>
+
<div class="infobox-title">
    {{#if:{{{image|}}}|
+
{{{title|{{PAGENAME}}}}}
    <div class="infobox-image">[[File:{{{image}}}|300px]]</div>
+
</div>
    }}
+
{{#if:{{{image|}}}|
  <table class="infobox-table">
+
<div class="infobox-image">
 +
[[File:{{{image}}}|300px]]
 +
</div>
 +
}}
 
{{#if:{{{nickname|}}}|
 
{{#if:{{{nickname|}}}|
<tr class="infobox-nickname">
+
<span class="infobox-nickname">
<td>{{{nickname}}}</td>
+
{{{nickname}}}
</tr>}}
+
</span>
 +
}}
 
{{#if:{{{race|}}}{{{sex|}}}{{{class|}}}|
 
{{#if:{{{race|}}}{{{sex|}}}{{{class|}}}|
<tr>
+
<span class="infobox-vitals">
<td>{{{sex}}} {{{race}}} {{{class}}}</td>
+
{{{sex}}} {{{race}}} {{{class}}}
</tr>
+
</span>
 
}}
 
}}
    {{#if:{{{born|}}}|
+
  <table class="infobox-table">
 +
{{#if:{{{born|}}}|
 
       <tr>
 
       <tr>
 
         <th>Born</th>
 
         <th>Born</th>

Revision as of 21:26, 2 April 2020

Infobox