Difference between revisions of "Template:Character-presentation-small"

m (Fix alignment)
(Undo image correction since max-width was reverted)
 
Line 4: Line 4:
 
<table>
 
<table>
 
   <caption>{{{name}}}</caption>
 
   <caption>{{{name}}}</caption>
<tr style="height: 138px;">
+
<tr>
 
{{#switch:{{{type}}}
 
{{#switch:{{{type}}}
| odd =<td style="display:flex; justify-content: flex-start; align-items: center;">
+
| odd =<td>
[[File:{{{icon}}}]]
+
[[Image:{{{icon}}}]]
<div class="character_description">
+
</td><td class="character_description">
 
{{{description}}}
 
{{{description}}}
</div>
 
 
</td>
 
</td>
| even =<td style="display:flex; justify-content: flex-end; align-items: center;">
+
| even =<td class="character_description">
<div class="character_description">
 
 
{{{description}}}
 
{{{description}}}
</div>
+
</td><td>
[[File:{{{icon}}}]]
+
[[Image:{{{icon}}}]]
 
</td>
 
</td>
 
}}
 
}}

Latest revision as of 18:44, 29 August 2016

<td class="full" >

{{{name}}}

</td>