Template:Character infobox: Difference between revisions

Yeah that's bad colour.
No edit summary
(Yeah that's bad colour.)
Line 1: Line 1:
{| class="infobox" cellspacing="0" cellpadding="0" border="0" style="float:right; clear:right; width:260px; margin:0 0 5px 10px; padding:2px; border-radius: 0 0 .7em .7em; -moz-border-radius: 0 0 .7em .7em; -webkit-border-radius: 0 0 .7em .7em; -ms-border-radius: 0 0 .7em .7em; -o-border-radius: 0 0 .7em .7em; color:{{{color|inherit}}}; background:{{{BG|{{#switch:{{{variant|}}}|Human=royalblue|Fallen=maroon|Cabal=orange|Hive=olive|Vex=crimson|Taken=black|Exo=yellow|#default=lightslategray}}}}};"
{| class="infobox" cellspacing="0" cellpadding="0" border="0" style="float:right; clear:right; width:260px; margin:0 0 5px 10px; padding:2px; border-radius: 0 0 .7em .7em; -moz-border-radius: 0 0 .7em .7em; -webkit-border-radius: 0 0 .7em .7em; -ms-border-radius: 0 0 .7em .7em; -o-border-radius: 0 0 .7em .7em; color:{{{color|inherit}}}; background:{{{BG|{{#switch:{{{variant|}}}|Human=royalblue|Fallen=maroon|Cabal=orange|Hive=olive|Vex=crimson|Taken=black|Exo=gold|#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|#000}}}; text-align:center; background:{{{sectionBG|{{#switch:{{{variant|}}}|Human=royalblue|Fallen=maroon|Cabal=orange|Hive=olive|Vex=crimson|Taken=black|Exo=yellow|#default=slategray}}}}}" {{!}} {{{section1-title|Biographical information}}}}}
! class="infoboxsubheading" colspan="2" style="font-size:90%; color:{{{color2|#000}}}; text-align:center; background:{{{sectionBG|{{#switch:{{{variant|}}}|Human=royalblue|Fallen=maroon|Cabal=orange|Hive=olive|Vex=crimson|Taken=black|Exo=gold|#default=slategray}}}}}" {{!}} {{{section1-title|Biographical information}}}}}
{{!}}-
{{!}}-
{{#if:{{{fullname|}}}|
{{#if:{{{fullname|}}}|
Line 115: Line 115:
Copy and paste the following into the article and fill in the fields.
Copy and paste the following into the article and fill in the fields.
<pre>
<pre>
{{Character infobox
{{Character infobox|variant= <specify Human or not. No value makes infobox grey>
|variant= <Specify Human, Fallen, Cabal, Hive, Vex, Taken, or Exo. No value will render infobox grey>
|image=
|image=
|homeworld=
|homeworld=
2,697

edits