|
|
(80 intermediate revisions by 3 users not shown) |
Line 1: |
Line 1: |
| {| class="infobox" cellspacing="0" cellpadding="0" border="0" style="width:260px; color:{{{color|#000}}}; background:{{{BG|{{#switch:{{{variant|}}}|Human=royalblue|Exo=DarkGoldenrod|Awoken=purple|Fallen=maroon|Cabal=orange|Hive=olive|Vex=crimson|Taken=black|#default=lightslategray}}}}};" | | {{Infobox|start|width=260px|color={{{color1|#000}}}|bg={{{BG|{{#switch:{{{variant}}}|Human=royalblue|Exo=darkgrey|Awoken=purple|Fallen=maroon|Cabal=orange|Hive=olive|Vex=brown|Taken=black|lightslategray}}}}}}} |
| {{!}}- | | {{Infobox|title|name={{{name|}}}|color={{{color2|#fff}}}|bg={{{nameBG|transparent}}}}} |
| ! style="background:{{{nameBG|transparent}}}; text-align:center; font-size:120%; color:#FFFFFF;" colspan="2" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}
| | {{Infobox|media|content={{{image|}}}|caption={{{caption|}}}|bg={{{imageBG|#D0D1D7}}}|linebg={{{lineBG|#999}}}}} |
| {{!}}- | | |
| {{#if:{{{image|}}}| | | {{Infobox|section|title={{{section1-title|Overview}}}|color={{{color2|#fff}}}|bg={{{sectionBG|{{#switch:{{{variant}}}|Human=royalblue|Exo=darkgrey|Awoken=purple|Fallen=maroon|Cabal=orange|Hive=olive|Vex=brown|Taken=black|lightslategray}}}}}|entries= |
| ! class="infoboxcell" style="background:{{{imageBG|#D0D1D7}}}; text-align:center; border-bottom:1px solid {{{lineBG|#999999}}};" colspan="2" {{!}} {{{image|}}} {{#if:{{{caption|}}}|<div style="clear:both">{{{caption}}}</div>}}
| | {{Infobox|entry|title={{{othernames-title|Other name(s)}}}|content={{{othernames|}}}|bg={{{fieldBG|#F3F3F3}}}|linebg={{{lineBG|#999}}}}} |
| | {{Infobox|entry|title={{{homeworld-title|Homeworld}}}|content={{{homeworld|}}}|bg={{{fieldBG|#F3F3F3}}}|linebg={{{lineBG|#999}}}}} |
| | {{Infobox|entry|title={{{focalworld(s)-title|Focal world(s)}}}|content={{{focalworld(s)|}}}|bg={{{fieldBG|#F3F3F3}}}|linebg={{{lineBG|#999}}}}} |
| | {{Infobox|entry|title={{{goals-title|Goals}}}|content={{{goals|}}}|bg={{{fieldBG|#F3F3F3}}}|linebg={{{lineBG|#999}}}}} |
| | {{Infobox|entry|title={{{affiliation-title|Affiliation}}}|content={{{affiliation|}}}|bg={{{fieldBG|#F3F3F3}}}|linebg={{{lineBG|#999}}}}} |
| | {{Infobox|entry|title={{{war-title|At war with}}}|content={{{war|}}}|bg={{{fieldBG|#F3F3F3}}}|linebg={{{lineBG|#999}}}}} |
| | {{Infobox|entry|title={{{ally-title|Allied with}}}|content={{{ally|}}}|bg={{{fieldBG|#F3F3F3}}}|linebg={{{lineBG|#999}}}}} |
| | {{Infobox|entry|title={{{height-title|Average height}}}|content={{{height|}}}|bg={{{fieldBG|#F3F3F3}}}|linebg={{{lineBG|#999}}}}} |
| | {{Infobox|entry|title={{{weight-title|Average weight}}}|content={{{weight|}}}|bg={{{fieldBG|#F3F3F3}}}|linebg={{{lineBG|#999}}}}} |
| | {{Infobox|entry|title={{{distinctions-title|Distinctions}}}|content={{{distinctions|}}}|bg={{{fieldBG|#F3F3F3}}}|linebg={{{lineBG|#999}}}}} |
| | {{Infobox|entry|title={{{lifespan-title|Average lifespan}}}|content={{{lifespan|}}}|bg={{{fieldBG|#F3F3F3}}}|linebg={{{lineBG|#999}}}}} |
| | {{Infobox|entry|title={{{notable-group-title|Notable group(s)}}}|content={{{notable-group|}}}|bg={{{fieldBG|#F3F3F3}}}|linebg={{{lineBG|#999}}}}} |
| | {{Infobox|entry|title={{{notable-person-title|Notable individual(s)}}}|content={{{notable-person|}}}|bg={{{fieldBG|#F3F3F3}}}|linebg={{{lineBG|#999}}}}} |
| }} | | }} |
| {{!}}-
| |
| {{#if:{{{hidea|}}}|{{!}}-|{{!}}-
| |
| ! class="infoboxsubheading" colspan="2" style="font-size:90%; color:{{{color2|#FFF}}}; text-align:center; background:{{{sectionBG|{{#switch:{{{variant|}}}|Human=royalblue|Exo=DarkGoldenrod|Awoken=purple|Fallen=maroon|Cabal=orange|Hive=olive|Vex=crimson|Taken=black|#default=lightslategray}}}}}" {{!}} {{{section1-title|Overview}}}}}
| |
| {{!}}-
| |
| {{#if:{{{homeworld|}}}|
| |
| {{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; width:100px;" {{!}}
| |
| '''{{{homeworld-title|Homeworld}}}''':
| |
| {{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}}" {{!}}
| |
| {{{homeworld|}}}
| |
| {{!}}-}}
| |
| {{#if:{{{focalworld(s)|}}}|
| |
| {{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; width:100px;" {{!}}
| |
| '''{{{focalworld(s)-title|Focal world(s)}}}''':
| |
| {{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}}" {{!}}
| |
| {{{focalworld(s)|}}}
| |
| {{!}}-}}
| |
| {{#if:{{{goals|}}}|
| |
| {{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; width:100px;" {{!}}
| |
| '''{{{goals-title|Goals}}}''':
| |
| {{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}}" {{!}}
| |
| {{{goals|}}}
| |
| {{!}}-}}
| |
| {{#if:{{{war|}}}|
| |
| {{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; width:100px;" {{!}}
| |
| '''{{{war-title|At war with}}}''':
| |
| {{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}}" {{!}}
| |
| {{{war|}}}
| |
| {{!}}-}}
| |
| {{#if:{{{ally|}}}|
| |
| {{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; width:100px;" {{!}}
| |
| '''{{{ally-title|Allied with}}}''':
| |
| {{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}}" {{!}}
| |
| {{{ally|}}}
| |
| {{!}}-}}
| |
| {{#if:{{{height|}}}|
| |
| {{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}}" {{!}}
| |
| '''{{{height-title|Average height}}}''':
| |
| {{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}}" {{!}}
| |
| {{{height|}}}
| |
| {{!}}-}}
| |
| {{#if:{{{weight|}}}|
| |
| {{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}}" {{!}}
| |
| '''{{{weight-title|Average weight}}}''':
| |
| {{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}}" {{!}}
| |
| {{{weight|}}}
| |
| {{!}}-}}
| |
| {{#if:{{{distinctions|}}}|
| |
| {{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}}" {{!}}
| |
| '''{{{distinctions-title|Distinctions}}}''':
| |
| {{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}}" {{!}}
| |
| {{{distinctions|}}}
| |
| {{!}}-}}
| |
| {{#if:{{{lifespan|}}}|
| |
| {{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}}" {{!}}
| |
| '''{{{lifespan-title|Average lifespan}}}''':
| |
| {{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}}" {{!}}
| |
| {{{lifespan|}}}
| |
| {{!}}-}}
| |
| {{#if:{{{notable-group|}}}|
| |
| {{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}}" {{!}}
| |
| '''{{{notable-group-title|Notable groups}}}''':
| |
| {{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}}" {{!}}
| |
| {{{notable-group|}}}
| |
| {{!}}-}}
| |
| {{#if:{{{notable-person|}}}|
| |
| {{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}}" {{!}}
| |
| '''{{{notable-person-title|Notable individuals}}}''':
| |
| {{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}}" {{!}}
| |
| {{{notable-person|}}}
| |
| {{!}}-}}
| |
| {{#if:{{{othernames|}}}|
| |
| {{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}}" {{!}}
| |
| '''{{{othernames-title|Other Names}}}''':
| |
| {{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}}" {{!}}
| |
| {{{othernames|}}}
| |
| {{!}}-}}
| |
| | colspan=2 style="text-align:center; background:{{{BG|transparent}}}; padding:0; font-size:10px; line-height:10px;" |
| |
| |}<noinclude>{{clear}}
| |
|
| |
|
| | {{Infobox|end}}<noinclude>{{clear}} |
| ==Usage instructions== | | ==Usage instructions== |
| Paste the following code into the top of an article, filling all known fields: | | Paste the following code into the top of an article, filling all known fields: |
| <pre><nowiki> | | |
| | <pre> |
| {{Race infobox | | {{Race infobox |
| |name= | | |name= |
| | |image= |
| |othernames= | | |othernames= |
| |image=
| |
| |variant= | | |variant= |
| |homeworld= | | |homeworld= |
| |focalworld(s)= | | |focalworld(s)= |
| |goals= | | |goals= |
| | |affiliation= |
| |war= | | |war= |
| |ally= | | |ally= |
Line 104: |
Line 41: |
| |notable-group= | | |notable-group= |
| |notable-person= | | |notable-person= |
| }}</nowiki></pre> | | }} |
| | </pre> |
|
| |
|
| ==Custom parameters== | | ==Custom parameters== |
| The following allows you to alter the title of the sub-sections: | | The following parameters allow you to customize the infobox colors and section titles: |
| | |
| <pre> | | <pre> |
| | |nameBG= |
| |imageBG= | | |imageBG= |
| |nameBG=
| |
| |sectionBG= | | |sectionBG= |
| |fieldBG= | | |fieldBG= |
Line 117: |
Line 56: |
| |color2= | | |color2= |
| |section1-title= | | |section1-title= |
| |section2-title=
| |
| </pre> | | </pre> |
|
| |
|
| [[Category:Infobox templates]]</noinclude> | | [[Category:Infobox templates]]</noinclude> |