Template:Race infobox: Difference between revisions
From Destinypedia, the Destiny wiki
m (Text replacement - "colspan=2" to "colspan="2"") |
m (Text replacement - " cellpadding="0"" to "") |
||
Line 1: | Line 1: | ||
{| class="infobox" cellspacing | {| class="infobox" cellspacing="0" style="width:260px; 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}}}}}" | ||
{{!}}- | {{!}}- | ||
! 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}}}} |
Revision as of 10:20, September 15, 2022
Race infobox | |
---|---|
Overview | |
Usage instructions
Paste the following code into the top of an article, filling all known fields:
{{Race infobox |name= |othernames= |image= |variant= |homeworld= |focalworld(s)= |goals= |war= |ally= |height= |weight= |distinctions= |lifespan= |notable-group= |notable-person= }}
Custom parameters
The following allows you to alter the title of the sub-sections:
|imageBG= |nameBG= |sectionBG= |fieldBG= |titleBG= |color1= |color2= |section1-title= |section2-title=