Template:Race infobox: Difference between revisions
(Let’s try this.) Tags: Reverted Mobile edit |
m (Text replacement - "f0f0f0" to "F3F3F3") |
||
(20 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{| | {{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}}}}} | |||
{{Infobox|media|content={{{image|}}}|caption={{{caption|}}}|bg={{{imageBG|#D0D1D7}}}|linebg={{{lineBG|#999}}}}} | |||
{{ | |||
{{ | {{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= | ||
{{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={{{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 groups}}}|content={{{notable-group|}}}|bg={{{fieldBG|#F3F3F3}}}|linebg={{{lineBG|#999}}}}} | |||
{{Infobox|entry|title={{{notable-person-title|Notable individuals}}}|content={{{notable-person|}}}|bg={{{fieldBG|#F3F3F3}}}|linebg={{{lineBG|#999}}}}} | |||
}} | {{Infobox|entry|title={{{othernames-title|Other name(s)}}}|content={{{othernames|}}}|bg={{{fieldBG|#F3F3F3}}}|linebg={{{lineBG|#999}}}}} | ||
{{ | |||
{{{focalworld(s)-title|Focal world(s)}}} | |||
{{{focalworld(s) | |||
{{{goals-title|Goals}}} | |||
{{{goals | |||
{{{war-title|At war with}}} | |||
{{{war | |||
{{{ally-title|Allied with}}} | |||
{{{ally | |||
{{{height-title|Average height}}} | |||
{{{height | |||
{{{weight-title|Average weight}}} | |||
{{{weight | |||
{{{distinctions-title|Distinctions}}} | |||
{{{distinctions | |||
{{{lifespan-title|Average lifespan}}} | |||
{{{lifespan | |||
{{{notable-group-title|Notable groups}}} | |||
{{{notable-group | |||
{{{notable-person-title|Notable individuals}}} | |||
{{{notable-person | |||
{{{othernames-title|Other | |||
{{ | |||
}} | }} | ||
{{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 | <pre> | ||
{{Race infobox | {{Race infobox | ||
|name= | |name= | ||
Line 117: | Line 39: | ||
|notable-group= | |notable-group= | ||
|notable-person= | |notable-person= | ||
}} | }} | ||
</pre> | |||
==Custom parameters== | ==Custom parameters== | ||
Line 131: | Line 54: | ||
|color2= | |color2= | ||
|section1-title= | |section1-title= | ||
</pre> | </pre> | ||
[[Category:Infobox templates]]</noinclude> | [[Category:Infobox templates]]</noinclude> |
Latest revision as of 10:39, June 2, 2024
Race infobox | |
---|---|
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=