Template:Race infobox: Difference between revisions

From Destinypedia, the Destiny wiki

(Reverting all recent edits to fix this.)
No edit summary
Line 4: Line 4:
{{!}}-
{{!}}-
{{#if:{{{image|}}}|
{{#if:{{{image|}}}|
! style="background:{{{imageBG|#D0D1D7}}}; text-align:center; border-bottom:1px solid {{{lineBG|#999999}}};" colspan="2" {{!}} {{{image|}}}
! style="background:{{{imageBG|#F0F8FF}}}; text-align:center; border-bottom:1px solid {{{lineBG|maroon}}};" colspan="2" {{!}} {{{image|}}}
}}
}}
{{!}}-
{{!}}-
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:{{{focalworld|}}}|
{{#if:{{{focalworld(s)|}}}|
{{!}} 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;" {{!}}
'''{{{focalworld-title|Focal World}}}''':
'''{{{focalworld(s)-title|Focal world(s)}}}''':
{{!}} 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;" {{!}}
{{{focalworld|}}}
{{{focalworld(s)|}}}
{{!}}-}}
{{!}}-}}
{{#if:{{{goals|}}}|
{{#if:{{{goals|}}}|
Line 24: Line 24:
{{#if:{{{war|}}}|
{{#if:{{{war|}}}|
{{!}} 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;" {{!}}
'''{{{war-title|At War with}}}''':
'''{{{war-title|At war with}}}''':
{{!}} 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;" {{!}}
{{{war|}}}
{{{war|}}}
Line 52: Line 52:
{{{lifespan|}}}
{{{lifespan|}}}
{{!}}-}}
{{!}}-}}
{{#if:{{{notable-group|}}}|
{{#if:{{{notablegroup|}}}|
{{!}} 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;" {{!}}
'''{{{notable-group-title|Notable groups}}}''':
'''{{{notablegroup-title|Notable groups}}}''':
{{!}} 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;" {{!}}
{{{notable-group|}}}
{{{notablegroup|}}}
{{!}}-}}
{{!}}-}}
{{#if:{{{notable-person|}}}|
{{#if:{{{notableperson|}}}|
{{!}} 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;" {{!}}
'''{{{notable-person-title|Notable individuals}}}''':
'''{{{notableperson-title|Notable individuals}}}''':
{{!}} 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;" {{!}}
{{{notable-person|}}}
{{{notableperson|}}}
{{!}}-}}
{{!}}-}}
{{#if:{{{othernames|}}}|
{{#if:{{{othernames|}}}|
Line 76: Line 76:
<pre><nowiki>
<pre><nowiki>
{{Race infobox
{{Race infobox
|name=
|Name=
|othernames=
|image=
|image=
|variant=
|variant=
|focalworld=
|Focal world(s)=
|goals=
|Goals=
|war=
|War=
|height=
|Height=
|weight=
|Weight=
|distinctions=
|Distinctions=
|lifespan=
|Lifespan=
|notable-group=
|Notable-group=
|notable-person=
|Notable-person=
|Other names=
}}</nowiki></pre>
}}</nowiki></pre>



Revision as of 12:23, February 3, 2017

Race infobox
Overview
 

Usage instructions

Paste the following code into the top of an article, filling all known fields:

{{Race infobox
|Name=
|image=
|variant=
|Focal world(s)=
|Goals=
|War=
|Height=
|Weight=
|Distinctions=
|Lifespan=
|Notable-group=
|Notable-person=
|Other names=
}}

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=