Template:Race infobox: Difference between revisions

From Destinypedia, the Destiny wiki

m (Text replacement - "{{#if:{{{image\|}}}\|↵{{!}} class="infoboxmedia" colspan="2" style="background:([^\n;"]+); border-bottom:1px solid ([^\n;"]+)" {{!}} {{{image}}} {{#if:{{{caption\|}}}\|{{clear}}{{{caption}}}}}↵}}↵\|-" to "{{Infobox|media|content={{{image|}}}|caption={{{caption|}}}|bg=$1|linebg=$2}}")
m (Text replacement - "{{#if:({{{[^\|}\n]+\|}}})\|↵{{!}} ?class="infoboxlabel" style="background:([^\n;"]+); border-color:([^\n;"]+)" {{!}}↵([^\n]+):↵{{!}} ?class="infoboxcell" style="[^\n"]+" {{!}}↵{{{[^\|}\n]+\|?}}}↵}}↵\|-" to " {{Infobox|entry|title=$4|content=$1|bg=$2|linebg=$3}}")
Line 6: Line 6:
}}
}}
|-
|-
{{#if:{{{homeworld|}}}|
{{Infobox|entry|title={{{homeworld-title|Homeworld}}}|content={{{homeworld|}}}|bg={{{fieldBG|#f0f0f0}}}|linebg={{{lineBG|#999}}}}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{Infobox|entry|title={{{focalworld(s)-title|Focal world(s)}}}|content={{{focalworld(s)|}}}|bg={{{fieldBG|#f0f0f0}}}|linebg={{{lineBG|#999}}}}}
{{{homeworld-title|Homeworld}}}:
{{Infobox|entry|title={{{goals-title|Goals}}}|content={{{goals|}}}|bg={{{fieldBG|#f0f0f0}}}|linebg={{{lineBG|#999}}}}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{Infobox|entry|title={{{war-title|At war with}}}|content={{{war|}}}|bg={{{fieldBG|#f0f0f0}}}|linebg={{{lineBG|#999}}}}}
{{{homeworld}}}
{{Infobox|entry|title={{{ally-title|Allied with}}}|content={{{ally|}}}|bg={{{fieldBG|#f0f0f0}}}|linebg={{{lineBG|#999}}}}}
}}
{{Infobox|entry|title={{{height-title|Average height}}}|content={{{height|}}}|bg={{{fieldBG|#f0f0f0}}}|linebg={{{lineBG|#999}}}}}
|-
{{Infobox|entry|title={{{weight-title|Average weight}}}|content={{{weight|}}}|bg={{{fieldBG|#f0f0f0}}}|linebg={{{lineBG|#999}}}}}
{{#if:{{{focalworld(s)|}}}|
{{Infobox|entry|title={{{distinctions-title|Distinctions}}}|content={{{distinctions|}}}|bg={{{fieldBG|#f0f0f0}}}|linebg={{{lineBG|#999}}}}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{Infobox|entry|title={{{lifespan-title|Average lifespan}}}|content={{{lifespan|}}}|bg={{{fieldBG|#f0f0f0}}}|linebg={{{lineBG|#999}}}}}
{{{focalworld(s)-title|Focal world(s)}}}:
{{Infobox|entry|title={{{notable-group-title|Notable groups}}}|content={{{notable-group|}}}|bg={{{fieldBG|#f0f0f0}}}|linebg={{{lineBG|#999}}}}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{Infobox|entry|title={{{notable-person-title|Notable individuals}}}|content={{{notable-person|}}}|bg={{{fieldBG|#f0f0f0}}}|linebg={{{lineBG|#999}}}}}
{{{focalworld(s)}}}
{{Infobox|entry|title={{{othernames-title|Other names}}}|content={{{othernames|}}}|bg={{{fieldBG|#f0f0f0}}}|linebg={{{lineBG|#999}}}}}
}}
|-
{{#if:{{{goals|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{goals-title|Goals}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{goals}}}
}}
|-
{{#if:{{{war|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{war-title|At war with}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{war}}}
}}
|-
{{#if:{{{ally|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{ally-title|Allied with}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{ally}}}
}}
|-
{{#if:{{{height|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{height-title|Average height}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{height}}}
}}
|-
{{#if:{{{weight|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{weight-title|Average weight}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{weight}}}
}}
|-
{{#if:{{{distinctions|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{distinctions-title|Distinctions}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{distinctions}}}
}}
|-
{{#if:{{{lifespan|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{lifespan-title|Average lifespan}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{lifespan}}}
}}
|-
{{#if:{{{notable-group|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{notable-group-title|Notable groups}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{notable-group}}}
}}
|-
{{#if:{{{notable-person|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{notable-person-title|Notable individuals}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{notable-person}}}
}}
|-
{{#if:{{{othernames|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{othernames-title|Other names}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{othernames}}}
}}
|-
| class="infoboxfooter" colspan="2" |  
| class="infoboxfooter" colspan="2" |  
|}<noinclude>{{clear}}
|}<noinclude>{{clear}}

Revision as of 15:45, 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=