Template:Infobox: Difference between revisions

Jump to navigation Jump to search
m
Reverted edits by 185.129.61.129 (talk) to last revision by DaWhiteLouise
No edit summary
imported>Admin
m (Reverted edits by 185.129.61.129 (talk) to last revision by DaWhiteLouise)
Line 1: Line 1:
<noinclude><!-- Do not change the formatting of the code! It makes the infobox look weird for some reason! ---> </noinclude>
<noinclude><!-- Do not change the formatting of the code! It makes the infobox look weird for some reason! ---> </noinclude>


<div class="infobox" style="float:right; min-width: 22em; max-width: {{{maxwidth|280px}}}; font-size: 88%; line-height: 1.5em; margin: 5px; text-align: left;  
<div class="infobox" style="float:right; min-width: 22em; max-width: {{{maxwidth|280px}}}; font-size: 88%; line-height: 1.5em; margin: 5px; text-align: left; border: 1px solid #aaa; background-color: #f9f9f9;">
    <div style="font-size: 110%; font-weight: bold; background-color: #ccc; text-align: center; padding: 5px 0;">{{{infoboxHeader|{{PAGENAME}}}}}</div>
    <div style="margin: 0 5px 5px;>
        {{#if: {{{image|}}} |
            <div style="margin: 5px 0 0; text-align: center;">[[File:{{{image}}}|270px]]</div>
        }}
        <div style="{{#if: {{{imageDesc|}}} | | display: none; }}">
            <small><div style="margin: 5px 0 0; padding: 0 2px 0; text-align: center; max-width:270px">''{{{imageDesc}}}''</div></small>
        </div>
        <div style="{{#if: {{{name|}}} | | display: none; }}">
            <div style="margin: 5px 0 0; padding: 0 3px 0; border-top: 1px solid #aaa;"><b>Name</b>: {{{name}}}</div>
        </div>
        <div style="{{#if: {{{Knownas|}}} | | display: none; }}">
            <div style="padding: 0 3px 0; border-top: 1px solid #aaa;"><b>Aliases</b>: {{{Knownas}}}</div>
        </div>
        <div style="{{#if: {{{Alignment|}}} | | display: none; }}">
            <div style="padding: 0 3px 0; border-top: 1px solid #aaa;"><b>Alignment</b>: {{{Alignment}}}{{#ifeq: {{{Alignment}}}|Management|[[Category:Management]]|}}{{#ifeq: {{{Alignment}}}|Manager|[[Category:Management]]|}}{{#ifeq: {{{Alignment}}}|Troll|[[Category:Trolls]]|}}{{#ifeq: {{{Alignment}}}|Enabler|[[Category:Enablers]]|}}{{#ifeq: {{{Alignment}}}|White Knight|[[Category:Enablers]]|}}</div>
        </div>
        <div style="{{#if: {{{DOB|}}} | | display: none; }}">
            <div style="padding: 0 3px 0; border-top: 1px solid #aaa;"><b>DOB</b>: {{{DOB}}}</div>
        </div>
        <div style="{{#if: {{{Gender|}}} | | display: none; }}">
            <div style="padding: 0 3px 0; border-top: 1px solid #aaa;"><b>Gender</b>: {{{Gender}}}</div>
        </div>
        <div style="{{#if: {{{Race|}}} | | display: none; }}">
            <div style="padding: 0 3px 0; border-top: 1px solid #aaa;"><b>Race</b>: {{{Race}}}</div>
        </div>
        <div style="{{#if: {{{Nationality|}}} | | display: none; }}">
            <div style="padding: 0 3px 0; border-top: 1px solid #aaa;"><b>Nationality</b>: {{{Nationality}}}</div>
        </div>
        <div style="{{#if: {{{HeightnWeight|}}} | | display: none; }}">
            <div style="padding: 0 3px 0; border-top: 1px solid #aaa;"><b>Height and Weight</b>: {{{HeightnWeight}}}</div>
        </div>
        <div style="{{#if: {{{Parents|}}} | | display: none; }}">
            <div style="padding: 0 3px 0; border-top: 1px solid #aaa;"><b>Parents</b>: {{{Parents}}}</div>
        </div>
        <div style="{{#if: {{{Siblings|}}} | | display: none; }}">
            <div style="padding: 0 3px 0; border-top: 1px solid #aaa;"><b>Siblings</b>: {{{Siblings}}}</div>
        </div>
    </div>
</div>
<noinclude>
<templatedata>
<templatedata>
{
{
Anonymous user
Cookies are necessary for this wiki to function properly. By using this wiki, you agree to our use of cookies.

Navigation menu