Template:Race infobox: Difference between revisions

From Destinypedia, the Destiny wiki

m (Text replacement - "font-size: *90%; padding: *0 0 0 2px; line-height: *14px; " to "")
m (Text replacement - "border-bottom: *1px solid {{{lineBG\|([^\n}]+)}}}; border-top: *1px solid {{{lineBG\|[^\n}]+}}}; " to "border-color:{{{lineBG|$1}}}; ")
Line 11: Line 11:
{{!}}-
{{!}}-
{{#if:{{{homeworld|}}}|
{{#if:{{{homeworld|}}}|
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; width:100px;" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}}; width:100px;" {{!}}
'''{{{homeworld-title|Homeworld}}}''':
'''{{{homeworld-title|Homeworld}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}}" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}}" {{!}}
Line 17: Line 17:
{{!}}-}}
{{!}}-}}
{{#if:{{{focalworld(s)|}}}|
{{#if:{{{focalworld(s)|}}}|
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; width:100px;" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}}; width:100px;" {{!}}
'''{{{focalworld(s)-title|Focal world(s)}}}''':
'''{{{focalworld(s)-title|Focal world(s)}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}}" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}}" {{!}}
Line 23: Line 23:
{{!}}-}}
{{!}}-}}
{{#if:{{{goals|}}}|
{{#if:{{{goals|}}}|
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; width:100px;" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}}; width:100px;" {{!}}
'''{{{goals-title|Goals}}}''':
'''{{{goals-title|Goals}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}}" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}}" {{!}}
Line 29: Line 29:
{{!}}-}}
{{!}}-}}
{{#if:{{{war|}}}|
{{#if:{{{war|}}}|
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; width:100px;" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}}; width:100px;" {{!}}
'''{{{war-title|At war with}}}''':
'''{{{war-title|At war with}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}}" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}}" {{!}}
Line 35: Line 35:
{{!}}-}}
{{!}}-}}
{{#if:{{{ally|}}}|
{{#if:{{{ally|}}}|
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; width:100px;" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}}; width:100px;" {{!}}
'''{{{ally-title|Allied with}}}''':
'''{{{ally-title|Allied with}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}}" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}}" {{!}}

Revision as of 23:23, September 14, 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=