Template:Character infobox: Difference between revisions

From Destinypedia, the Destiny wiki

mNo edit summary
m (Text replacement - "The following allows you to alter the title of the sub-sections:" to "The following parameters allow you to customize the infobox colors and section titles:")
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Infobox|start|width=260px|color={{{color|#000}}}|bg={{{BG|{{#switch:{{{variant}}}|Human=royalblue|Exo=darkgrey|Awoken=purple|Fallen=teal|Cabal=orange|Hive=olive|Vex=brown|Taken=black|lightslategray}}}}}}}
{{Infobox|start|width=260px|color={{{color1|#000}}}|bg={{{BG|{{#switch:{{{variant}}}|Human=royalblue|Exo=darkgrey|Awoken=purple|Fallen=teal|Cabal=orange|Hive=olive|Vex=brown|Taken=black|lightslategray}}}}}}}
{{Infobox|title|name={{{name|}}}|color=#fff|bg={{{nameBG|transparent}}}}}
{{Infobox|title|name={{{name|}}}|color={{{color2|#fff}}}|bg={{{nameBG|transparent}}}}}
{{Infobox|media|content={{{image|}}}|caption={{{caption|}}}|bg={{{imageBG|#f0f0f0}}}|linebg={{{lineBG|#999}}}}}
{{Infobox|media|content={{{image|}}}|caption={{{caption|}}}|bg={{{imageBG|#F3F3F3}}}|linebg={{{lineBG|#999}}}}}


{{Infobox|section|title={{{section1-title|Biographical information}}}|color={{{color2|#fff}}}|bg={{{sectionBG|{{#switch:{{{variant}}}|Human=royalblue|Exo=darkgrey|Awoken=purple|Fallen=teal|Cabal=orange|Hive=olive|Vex=brown|Taken=black|slategray}}}}}|entries=
{{Infobox|section|title={{{section1-title|Biographical information}}}|color={{{color2|#fff}}}|bg={{{sectionBG|{{#switch:{{{variant}}}|Human=royalblue|Exo=darkgrey|Awoken=purple|Fallen=teal|Cabal=orange|Hive=olive|Vex=brown|Taken=black|slategray}}}}}|entries=
{{Infobox|entry|title={{{othernames-title|Other name(s)}}}|content={{{othernames|}}}|bg={{{fieldBG|#f0f0f0}}}|linebg={{{lineBG|#999}}}}}
{{Infobox|entry|title={{{othernames-title|Other name(s)}}}|content={{{othernames|}}}|bg={{{fieldBG|#F3F3F3}}}|linebg={{{lineBG|#999}}}}}
{{Infobox|entry|title={{{fullname-title|Full name}}}|content={{{fullname|}}}|bg={{{fieldBG|#f0f0f0}}}|linebg={{{lineBG|#999}}}}}
{{Infobox|entry|title={{{fullname-title|Full name}}}|content={{{fullname|}}}|bg={{{fieldBG|#F3F3F3}}}|linebg={{{lineBG|#999}}}}}
{{Infobox|entry|title={{{homeworld-title|Homeworld}}}|content={{{homeworld|}}}|bg={{{fieldBG|#f0f0f0}}}|linebg={{{lineBG|#999}}}}}
{{Infobox|entry|title={{{homeworld-title|Homeworld}}}|content={{{homeworld|}}}|bg={{{fieldBG|#F3F3F3}}}|linebg={{{lineBG|#999}}}}}
{{Infobox|entry|title={{{birth-title|Born}}}|content={{{birth|}}}|bg={{{fieldBG|#f0f0f0}}}|linebg={{{lineBG|#999}}}}}
{{Infobox|entry|title={{{birth-title|Born}}}|content={{{birth|}}}|bg={{{fieldBG|#F3F3F3}}}|linebg={{{lineBG|#999}}}}}
{{Infobox|entry|title={{{death-title|Died}}}|content={{{death|}}}|bg={{{fieldBG|#f0f0f0}}}|linebg={{{lineBG|#999}}}}}
{{Infobox|entry|title={{{death-title|Died}}}|content={{{death|}}}|bg={{{fieldBG|#F3F3F3}}}|linebg={{{lineBG|#999}}}}}
{{Infobox|entry|title={{{species-title|Species}}}|content={{{species|}}}|bg={{{fieldBG|#f0f0f0}}}|linebg={{{lineBG|#999}}}}}
{{Infobox|entry|title={{{species-title|Species}}}|content={{{species|}}}|bg={{{fieldBG|#F3F3F3}}}|linebg={{{lineBG|#999}}}}}
{{Infobox|entry|title={{{gender-title|Gender}}}|content={{{gender|}}}|bg={{{fieldBG|#f0f0f0}}}|linebg={{{lineBG|#999}}}}}
{{Infobox|entry|title={{{gender-title|Gender}}}|content={{{gender|}}}|bg={{{fieldBG|#F3F3F3}}}|linebg={{{lineBG|#999}}}}}
{{Infobox|entry|title={{{height-title|Height}}}|content={{{height|}}}|bg={{{fieldBG|#f0f0f0}}}|linebg={{{lineBG|#999}}}}}
{{Infobox|entry|title={{{height-title|Height}}}|content={{{height|}}}|bg={{{fieldBG|#F3F3F3}}}|linebg={{{lineBG|#999}}}}}
{{Infobox|entry|title={{{mass-title|Weight}}}|content={{{mass|}}}|bg={{{fieldBG|#f0f0f0}}}|linebg={{{lineBG|#999}}}}}
{{Infobox|entry|title={{{mass-title|Weight}}}|content={{{mass|}}}|bg={{{fieldBG|#F3F3F3}}}|linebg={{{lineBG|#999}}}}}
{{Infobox|entry|title={{{hair-title|Hair color}}}|content={{{hair|}}}|bg={{{fieldBG|#f0f0f0}}}|linebg={{{lineBG|#999}}}}}
{{Infobox|entry|title={{{hair-title|Hair color}}}|content={{{hair|}}}|bg={{{fieldBG|#F3F3F3}}}|linebg={{{lineBG|#999}}}}}
{{Infobox|entry|title={{{eyes-title|Eye color}}}|content={{{eyes|}}}|bg={{{fieldBG|#f0f0f0}}}|linebg={{{lineBG|#999}}}}}
{{Infobox|entry|title={{{eyes-title|Eye color}}}|content={{{eyes|}}}|bg={{{fieldBG|#F3F3F3}}}|linebg={{{lineBG|#999}}}}}
}}
}}


{{Infobox|section|title={{{section2-title|Political and military information}}}|color={{{color2|#fff}}}|bg={{{sectionBG|{{#switch:{{{variant}}}|Human=royalblue|Exo=darkgrey|Awoken=purple|Fallen=teal|Cabal=orange|Hive=olive|Vex=crimson|Taken=black|slategray}}}}}|entries=
{{Infobox|section|title={{{section2-title|Political and military information}}}|color={{{color2|#fff}}}|bg={{{sectionBG|{{#switch:{{{variant}}}|Human=royalblue|Exo=darkgrey|Awoken=purple|Fallen=teal|Cabal=orange|Hive=olive|Vex=crimson|Taken=black|slategray}}}}}|entries=
{{Infobox|entry|title={{{affiliation-title|Affiliation}}}|content={{{affiliation|}}}|bg={{{fieldBG|#f0f0f0}}}|linebg={{{lineBG|#999}}}}}
{{Infobox|entry|title={{{affiliation-title|Affiliation}}}|content={{{affiliation|}}}|bg={{{fieldBG|#F3F3F3}}}|linebg={{{lineBG|#999}}}}}
{{Infobox|entry|title={{{rank-title|Rank}}}|content={{{rank|}}}|bg={{{fieldBG|#f0f0f0}}}|linebg={{{lineBG|#999}}}}}
{{Infobox|entry|title={{{rank-title|Rank}}}|content={{{rank|}}}|bg={{{fieldBG|#F3F3F3}}}|linebg={{{lineBG|#999}}}}}
{{Infobox|entry|title={{{class-title|Class}}}|content={{{class|}}}|bg={{{fieldBG|#f0f0f0}}}|linebg={{{lineBG|#999}}}}}
{{Infobox|entry|title={{{class-title|Class}}}|content={{{class|}}}|bg={{{fieldBG|#F3F3F3}}}|linebg={{{lineBG|#999}}}}}
{{Infobox|entry|title={{{sn-title|Service number}}}|content={{{sn|}}}|bg={{{fieldBG|#f0f0f0}}}|linebg={{{lineBG|#999}}}}}
{{Infobox|entry|title={{{sn-title|Service number}}}|content={{{sn|}}}|bg={{{fieldBG|#F3F3F3}}}|linebg={{{lineBG|#999}}}}}
{{Infobox|entry|title={{{notable-title|Notable info}}}|content={{{notable|}}}|bg={{{fieldBG|#f0f0f0}}}|linebg={{{lineBG|#999}}}}}
{{Infobox|entry|title={{{notable-title|Notable info}}}|content={{{notable|}}}|bg={{{fieldBG|#F3F3F3}}}|linebg={{{lineBG|#999}}}}}
{{Infobox|entry|title={{{misc-title|Miscellaneous}}}|content={{{misc|}}}|bg={{{fieldBG|#f0f0f0}}}|linebg={{{lineBG|#999}}}}}
{{Infobox|entry|title={{{misc-title|Miscellaneous}}}|content={{{misc|}}}|bg={{{fieldBG|#F3F3F3}}}|linebg={{{lineBG|#999}}}}}
}}
}}


Line 33: Line 33:
{{Character infobox
{{Character infobox
|variant= <Specify Human, Exo, Awoken, Fallen, Cabal, Hive, Vex, or Taken. No value renders infobox grey.>
|variant= <Specify Human, Exo, Awoken, Fallen, Cabal, Hive, Vex, or Taken. No value renders infobox grey.>
|name=
|image=
|othernames=
|othernames=
|image=
|homeworld=
|homeworld=
|birth=
|birth=
Line 53: Line 54:


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

Revision as of 15:50, June 18, 2024

Character infobox
 

Usage instructions

Copy and paste the following into the article and fill in the fields.

{{Character infobox
|variant= <Specify Human, Exo, Awoken, Fallen, Cabal, Hive, Vex, or Taken. No value renders infobox grey.>
|name=
|image=
|othernames=
|homeworld=
|birth=
|death=
|species=
|gender=
|height=
|mass=
|hair=
|eyes=
|affiliation=
|rank=
|class=
|sn=
|notable=
}}

Custom parameters

The following parameters allow you to customize the infobox colors and section titles:

|nameBG=
|imageBG=
|sectionBG=
|fieldBG=
|section1-title=
|section2-title=