Template:Race infobox: Difference between revisions
From Destinypedia, the Destiny wiki
m (Text replacement - "{{#switch:{{{variant|}}}" to "{{#switch:{{{variant}}}") |
m (Text replacement - "#default=" to "") |
||
Line 1: | Line 1: | ||
{| class="infobox" style="width:260px; background:{{{BG|{{#switch:{{{variant}}}|Human=royalblue|Exo=darkgrey|Awoken=purple|Fallen=maroon|Cabal=orange|Hive=olive|Vex=brown|Taken=black| | {| class="infobox" style="width:260px; background:{{{BG|{{#switch:{{{variant}}}|Human=royalblue|Exo=darkgrey|Awoken=purple|Fallen=maroon|Cabal=orange|Hive=olive|Vex=brown|Taken=black|lightslategray}}}}}; color:{{{color|#000}}}" cellspacing="0" | ||
! class="infoboxheading" colspan="2" style="background:{{{nameBG|transparent}}}; color:#fff" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}} | ! class="infoboxheading" colspan="2" style="background:{{{nameBG|transparent}}}; color:#fff" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}} | ||
|- | |- | ||
Line 7: | Line 7: | ||
|- | |- | ||
{{#if:{{{hidea|}}}|| | {{#if:{{{hidea|}}}|| | ||
! class="infoboxsubheading" colspan="2" style="color:{{{color2|#fff}}}; background:{{{sectionBG|{{#switch:{{{variant}}}|Human=royalblue|Exo=darkgrey|Awoken=purple|Fallen=maroon|Cabal=orange|Hive=olive|Vex=brown|Taken=black| | ! class="infoboxsubheading" colspan="2" style="color:{{{color2|#fff}}}; background:{{{sectionBG|{{#switch:{{{variant}}}|Human=royalblue|Exo=darkgrey|Awoken=purple|Fallen=maroon|Cabal=orange|Hive=olive|Vex=brown|Taken=black|lightslategray}}}}}" {{!}} {{{section1-title|Overview}}} | ||
}} | }} | ||
|- | |- |
Revision as of 15:32, June 1, 2024
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=