Template:Race infobox: Difference between revisions

From Destinypedia, the Destiny wiki

mNo edit summary
(Attempting a minor change in the infobox - hope I don't bork it)
Line 10: Line 10:
! class="infoboxsubheading" colspan="2" style="font-size:90%; color:{{{color2|#FFF}}}; text-align:center; background:{{{sectionBG|{{#switch:{{{variant|}}}|Human=cornflowerblue|Fallen=darkred|#default=slategray}}}}}" {{!}} {{{section1-title|Overview}}}}}
! class="infoboxsubheading" colspan="2" style="font-size:90%; color:{{{color2|#FFF}}}; text-align:center; background:{{{sectionBG|{{#switch:{{{variant|}}}|Human=cornflowerblue|Fallen=darkred|#default=slategray}}}}}" {{!}} {{{section1-title|Overview}}}}}
{{!}}-
{{!}}-
{{#if:{{{homeworld|}}}|
{{#if:{{{focalworld|}}}|
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px; width:100px;" {{!}}
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px; width:100px;" {{!}}
'''{{{homeworld-title|Homeworld}}}''':
'''{{{focalworld-title|Focalworld}}}''':
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{{homeworld|}}}
{{{focalworld|}}}
{{!}}-}}
{{!}}-}}
{{#if:{{{height|}}}|
{{#if:{{{height|}}}|
Line 68: Line 68:
|image=
|image=
|variant=
|variant=
|homeworld=
|focalworld=
|height=
|height=
|weight=
|weight=

Revision as of 14:39, July 4, 2014

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=
|focalworld=
|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=