Difference between revisions of "Template:Superhero warrior infobox"
From The Continent Chronicles
Jump to navigationJump to search(7 intermediate revisions by the same user not shown) | |||
Line 8: | Line 8: | ||
|image= | |image= | ||
|powers= | |powers= | ||
+ | |ruler_title= | ||
+ | |reign= | ||
+ | |predecessor | ||
+ | |successor | ||
|born= | |born= | ||
|died= | |died= | ||
Line 13: | Line 17: | ||
</pre> | </pre> | ||
</noinclude> | </noinclude> | ||
− | |||
<table class="infobox" width="300px"> | <table class="infobox" width="300px"> | ||
Line 22: | Line 25: | ||
{{#if:{{{name_caption|}}}| | {{#if:{{{name_caption|}}}| | ||
<tr> | <tr> | ||
− | <td colspan="2" style="font-size: | + | <td colspan="2" style="font-size:12px;text-align:center;color:#000"><span style="color:#000;">{{{name_caption}}}</span></td> |
− | </tr>}} | + | </tr> |
+ | }} | ||
− | {{#if:{{{image|}}}| | + | {{#if:{{{image|}}}|<tr><td colspan=2 style="text-align:center">[[File:{{{image}}}|280px|frameless|center]]</td></tr>}} |
− | <tr><td colspan=2 style="text-align:center">[[File:{{{image}}}|280px|frameless|center]]</td></tr>}} | ||
<tr> | <tr> | ||
Line 36: | Line 39: | ||
<td style="font-size:10px;width:70%">{{{powers}}}</td> | <td style="font-size:10px;width:70%">{{{powers}}}</td> | ||
</tr> | </tr> | ||
+ | |||
+ | {{#if:{{{ruler_title|}}}| | ||
+ | <tr> | ||
+ | <th colspan="2" style="background:#c460b7;color:#fff;text-align:center">Ruler</th> | ||
+ | </tr> | ||
+ | |||
+ | <tr> | ||
+ | <td>'''Title'''</td> | ||
+ | <td>{{{ruler_title}}}</td> | ||
+ | </tr> | ||
+ | |||
+ | <tr> | ||
+ | <td>'''Reign'''</td> | ||
+ | <td>{{{reign}}}</td> | ||
+ | </tr> | ||
+ | |||
+ | {{#if:{{{predecessor|}}}| | ||
+ | <tr> | ||
+ | <td>'''Predecessor'''</td> | ||
+ | <td>{{{predecessor}}}</td> | ||
+ | </tr> | ||
+ | }} | ||
+ | |||
+ | {{#if:{{{successor|}}}| | ||
+ | <tr> | ||
+ | <td>'''Successor'''</td> | ||
+ | <td>{{{successor}}}</td> | ||
+ | </tr> | ||
+ | }} | ||
+ | |||
+ | }} | ||
<tr> | <tr> | ||
Line 52: | Line 86: | ||
</table> | </table> | ||
− | |||
− | |||
<includeonly> | <includeonly> | ||
[[Category:Superhero warrior]] | [[Category:Superhero warrior]] | ||
</includeonly> | </includeonly> |
Latest revision as of 20:29, 6 January 2021
This is a template for a Superhero warrior infobox. Usage:
{{Superhero warrior infobox |name= |name_caption= |image= |powers= |ruler_title= |reign= |predecessor |successor |born= |died= }}
{{{name}}} | |
Superhero warrior | |
---|---|
Powers | {{{powers}}} |
Personal details | |
Born | {{{born}}} |
Died | {{{died}}} |