Template:Race infobox: Difference between revisions

From Destinypedia, the Destiny wiki

m (Text replacement - "style="([^"\n]+)" colspan="([^"\n]+)" class="([^"\n]+)"" to "class="$3" colspan="$2" style="$1"")
m (Text replacement - "colspan="([^"\n]+)" style="([^"\n]+)" class="([^"\n]+)"" to "class="$3" colspan="$1" style="$2"")
Line 7: Line 7:
{{!}}-
{{!}}-
{{#if:{{{hidea|}}}|{{!}}-|{{!}}-
{{#if:{{{hidea|}}}|{{!}}-|{{!}}-
! colspan="2" style="color:{{{color2|#FFF}}}; background:{{{sectionBG|{{#switch:{{{variant|}}}|Human=royalblue|Exo=DarkGoldenrod|Awoken=purple|Fallen=maroon|Cabal=orange|Hive=olive|Vex=crimson|Taken=black|#default=lightslategray}}}}}" class="infoboxsubheading" {{!}} {{{section1-title|Overview}}}}}
! class="infoboxsubheading" colspan="2" style="color:{{{color2|#FFF}}}; background:{{{sectionBG|{{#switch:{{{variant|}}}|Human=royalblue|Exo=DarkGoldenrod|Awoken=purple|Fallen=maroon|Cabal=orange|Hive=olive|Vex=crimson|Taken=black|#default=lightslategray}}}}}" {{!}} {{{section1-title|Overview}}}}}
{{!}}-
{{!}}-
{{#if:{{{homeworld|}}}|
{{#if:{{{homeworld|}}}|

Revision as of 18:29, 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=