Template:Character infobox: Difference between revisions

From Destinypedia, the Destiny wiki

m (Text replacement - "margin:0 0 0.5em 1em;" to "margin:0 0 1em 1em;")
No edit summary
Line 1: Line 1:
{| class="infobox" cellspacing="0" cellpadding="0" border="0" style="float:right; clear:right; width:260px; margin:0 0 1em 1em; padding:2px; border-radius:0 0 .7em .7em; color:{{{color|#000}}}; background:{{{BG|{{#switch:{{{variant|}}}|Human=royalblue|Exo=DarkGoldenrod|Awoken=purple|Fallen=maroon|Cabal=orange|Hive=olive|Vex=crimson|Taken=black|#default=lightslategray}}}}};"
{| class="infobox" cellspacing="0" cellpadding="0" border="0" style="float:right; clear:right; width:260px; margin:0 0 1em 1em; padding:2px; border-radius:0 0 .7em .7em; color:{{{color|#000}}}; background:{{{BG|{{#switch:{{{variant|}}}|Human=royalblue|Exo=DarkGoldenrod|Awoken=purple|Fallen=teal|Cabal=orange|Hive=olive|Vex=crimson|Taken=black|#default=lightslategray}}}}};"
{{!}}-
{{!}}-
! style="background:{{{nameBG|transparent}}}; text-align:center; font-size:120%; color:#FFFFFF;" colspan="2" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}
! style="background:{{{nameBG|transparent}}}; text-align:center; font-size:120%; color:#FFFFFF;" colspan="2" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}
Line 8: Line 8:
{{!}}-
{{!}}-
{{#if:{{{hidea|}}}|{{!}}-|{{!}}-
{{#if:{{{hidea|}}}|{{!}}-|{{!}}-
! class="infoboxsubheading" colspan="2" style="font-size:90%; color:{{{color2|#FFF}}}; text-align:center; background:{{{sectionBG|{{#switch:{{{variant|}}}|Human=royalblue|Exo=DarkGoldenrod|Awoken=purple|Fallen=maroon|Cabal=orange|Hive=olive|Vex=crimson|Taken=black|#default=slategray}}}}}" {{!}} {{{section1-title|Biographical information}}}}}
! class="infoboxsubheading" colspan="2" style="font-size:90%; color:{{{color2|#FFF}}}; text-align:center; background:{{{sectionBG|{{#switch:{{{variant|}}}|Human=royalblue|Exo=DarkGoldenrod|Awoken=purple|Fallen=teal|Cabal=orange|Hive=olive|Vex=crimson|Taken=black|#default=slategray}}}}}" {{!}} {{{section1-title|Biographical information}}}}}
{{!}}-
{{!}}-
{{#if:{{{othernames|}}}|
{{#if:{{{othernames|}}}|
Line 77: Line 77:
{{!}}-}}
{{!}}-}}
{{#if:{{{hideb|}}}|{{!}}-|{{!}}-
{{#if:{{{hideb|}}}|{{!}}-|{{!}}-
! class="infoboxsubheading" colspan="2" style="font-size:90%; color:{{{color2|#FFF}}}; text-align:center; background:{{{sectionBG|{{#switch:{{{variant|}}}|Human=royalblue|Exo=DarkGoldenrod|Awoken=purple|Fallen=maroon|Cabal=orange|Hive=olive|Vex=crimson|Taken=black|#default=slategray}}}}}" {{!}} {{{section2-title|Political and military information}}}}}
! class="infoboxsubheading" colspan="2" style="font-size:90%; color:{{{color2|#FFF}}}; text-align:center; background:{{{sectionBG|{{#switch:{{{variant|}}}|Human=royalblue|Exo=DarkGoldenrod|Awoken=purple|Fallen=teal|Cabal=orange|Hive=olive|Vex=crimson|Taken=black|#default=slategray}}}}}" {{!}} {{{section2-title|Political and military information}}}}}
{{!}}-
{{!}}-
{{#if:{{{affiliation|}}}|
{{#if:{{{affiliation|}}}|