Template:Race infobox: Difference between revisions
From Destinypedia, the Destiny wiki
No edit summary Tags: Reverted Mobile edit |
m (Text replacement - "; width:100px"" to """) |
||
(7 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
{| class="infobox" style="width:260px; color:{{{color|#000}}}; background:{{{BG|{{#switch:{{{variant|}}}|Human=royalblue|Exo= | {| class="infobox" style="width:260px; color:{{{color|#000}}}; background:{{{BG|{{#switch:{{{variant|}}}|Human=royalblue|Exo=darkgrey|Awoken=purple|Fallen=maroon|Cabal=orange|Hive=olive|Vex=brown|Taken=black|#default=lightslategray}}}}}" 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= | ! 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|#default=lightslategray}}}}}" {{!}} {{{section1-title|Overview}}} | ||
}} | }} | ||
|- | |- | ||
{{#if:{{{homeworld|}}}| | {{#if:{{{homeworld|}}}| | ||
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}} | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{{homeworld-title|Homeworld}}}: | {{{homeworld-title|Homeworld}}}: | ||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}} | {{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
Line 18: | Line 18: | ||
|- | |- | ||
{{#if:{{{focalworld(s)|}}}| | {{#if:{{{focalworld(s)|}}}| | ||
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}} | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{{focalworld(s)-title|Focal world(s)}}}: | {{{focalworld(s)-title|Focal world(s)}}}: | ||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}} | {{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
Line 25: | Line 25: | ||
|- | |- | ||
{{#if:{{{goals|}}}| | {{#if:{{{goals|}}}| | ||
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}} | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{{goals-title|Goals}}}: | {{{goals-title|Goals}}}: | ||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}} | {{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
Line 32: | Line 32: | ||
|- | |- | ||
{{#if:{{{war|}}}| | {{#if:{{{war|}}}| | ||
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}} | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{{war-title|At war with}}}: | {{{war-title|At war with}}}: | ||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}} | {{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
Line 39: | Line 39: | ||
|- | |- | ||
{{#if:{{{ally|}}}| | {{#if:{{{ally|}}}| | ||
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}} | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{{ally-title|Allied with}}}: | {{{ally-title|Allied with}}}: | ||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}} | {{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}} |
Latest revision as of 10:17, May 27, 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=