Template:Character infobox: Difference between revisions

From Halopedia, the Halo wiki

(This version is A LOT simpler, though uses the same fields..if you want to change background...just do that...DON'T REVERT)
m (Text replacement - "dummy edit" to "Category:Infobox templates")
Tag: Manual revert
 
(169 intermediate revisions by 17 users not shown)
Line 1: Line 1:
{| class="infobox Character" cellpadding=2 cellspacing=2 align=right width=240px style="font-family: verdana, sans-serif; padding: 4px; margin: 0 0 1em 1em; font-size: 10px; background-color: #AFE495; border:1px solid #66CC33;"
{{Infobox|start|bg=#{{#switch:{{{variant}}}|Ban=933|Cov=96C|Human=3779AE|Forerunner=B3B3B3|555}}}}
| align="center" colspan=2 bgcolor="#000000" style="font-size:110%;" |
{{Infobox|title|name={{{name|}}}}}
<span style="color:#FFFFFF;">'''''Character profile'''''</span>
{{Infobox|media|content={{{image|}}}|caption={{{caption|}}}}}
|-
|colspan=2 style="text-align:center;" | {{{image|}}}
|-
!colspan=2 style="font-size: larger" | {{{name|''name missing''}}}
|-
!{{#if:{{{homeworld|}}}|<nowiki/> '''homeworld'''|}}}|<nowiki/> || {{{homeworld|''homeworld unknown''}}}|<nowiki/>
|-
!{{#if:{{{birth|}}}|<nowiki/> '''Date of Birth'''|}}}|<nowiki/> || {{{birth|''birthdate unknown''}}}|<nowiki/>
|-
!{{#if:{{{died|}}}|<nowiki/> '''Date of Death'''|}}}|<nowiki/> || {{{died|''deathdate unknown''}}}|<nowiki/>
|-
!{{#if:{{{species|}}}|<nowiki/> '''Species'''|}}}|<nowiki/> || {{{species|''species unknown''}}}|<nowiki/>
|-
|'''Gender''' || {{{gender|''gender unknown''}}}
|-
!{{#if:{{{height|}}}|<nowiki/> '''Height'''|}}}|<nowiki/> || {{{died|''height unknown''}}}|<nowiki/>
|-
!{{#if:{{{weapons|}}}|<nowiki/> '''Weapons'''|}}}|<nowiki/> || {{{weapons|''weapons unknown''}}}|<nowiki/>
|-
!{{#if:{{{equipment|}}}|<nowiki/> '''Equipment'''|}}}|<nowiki/> || {{{equipment|''equipment unknown''}}}|<nowiki/>
|-
!{{#if:{{{vehicles|}}}|<nowiki/> '''Vehicles'''|}}}|<nowiki/> || {{{vehicles|''vehicles unknown''}}}|<nowiki/>
|-
!{{#if:{{{hair|}}}|<nowiki/> '''Hair'''|}}}|<nowiki/> || {{{hair|''hair colour unknown''}}}|<nowiki/>
|-
!{{#if:{{{eyes|}}}|<nowiki/> '''Eyes'''|}}}|<nowiki/> || {{{eyes|''eye colour unknown''}}}|<nowiki/>
|-
!{{#if:{{{cyber|}}}|<nowiki/> '''Cyber'''|}}}|<nowiki/> || {{{cyber|''cyber unknown''}}}|<nowiki/>
|-
!{{#if:{{{era|}}}|<nowiki/> '''Era'''|}}}|<nowiki/> || {{{eras|''eras unknown''}}}|<nowiki/>
|-
!{{#if:{{{types|}}}|<nowiki/> '''Types'''|}}}|<nowiki/> || {{{types|''types unknown''}}}|<nowiki/>
|-
!{{#if:{{{noteable|}}}|<nowiki/> '''Noteable'''|}}}|<nowiki/> || {{{noteable|''noteable facts unavailable''}}}|<nowiki/>
|-
!{{#if:{{{affiliatiom|}}}|<nowiki/> '''Affiliation'''|}}}|<nowiki/> || {{{affiliation|''affiliation unknown''}}}|<nowiki/>
|}<noinclude>


== Usage ==
{{Infobox|section|title={{{section1-title|Biographical information}}}|entries=
Any field -other than name- can be dropped when editing a character article, here is the full list of possible fields.
{{Infobox|entry|title={{{fullname-title|Full name}}}|content={{{fullname|}}}}}
{{Infobox|entry|title={{{homeworld-title|Homeworld}}}|content={{{homeworld|}}}}}
{{Infobox|entry|title={{{birth-title|Born}}}|content={{{birth|}}}}}
{{Infobox|entry|title={{{death-title|Died}}}|content={{{death|}}} {{{aged|{{Infobox/aged|{{{birth|}}}|{{{death|}}}}}}}}}}
{{Infobox|entry|title={{{causeofdeath-title|Cause of death}}}|content={{{causeofdeath|}}}}}
{{Infobox|entry|title={{{parents-title|Parents}}}|content={{{parents|}}}}}
{{Infobox|entry|title={{{siblings-title|Siblings}}}|content={{{siblings|}}}}}
{{Infobox|entry|title={{{spouses-title|Spouse(s)}}}|content={{{spouses|}}}}}
{{Infobox|entry|title={{{children-title|Children}}}|content={{{children|}}}}}
}}


<pre>
{{Infobox|section|title={{{section2-title|Personal details}}}|entries=
{{Character Infobox
{{Infobox|entry|title={{{species-title|Species}}}|content={{{species|}}}}}
|name=
{{Infobox|entry|title={{{gender-title|Gender}}}|content={{{gender|}}}}}
|image=
{{Infobox|entry|title={{{pronouns-title|Pronouns}}}|content={{{pronouns|}}}}}
|homeworld=
{{Infobox|entry|title={{{height-title|Height}}}|content={{{height|}}}}}
|birth=
{{Infobox|entry|title={{{mass-title|Weight}}}|content={{{mass|}}}}}
|death=
{{Infobox|entry|title={{{hair-title|Hair color}}}|content={{{hair|}}}}}
|species=
{{Infobox|entry|title={{{eyes-title|Eye color}}}|content={{{eyes|}}}}}
|gender=
}}
|height=
|weapons=
|equipment=
|vehicles=
|hair=
|eyes=
|cyber=
|era=
|types=
|notable=
|affiliation=
}}</pre>


[[Category:Templates|{{PAGENAME}}]]
{{Infobox|section|title={{{section3-title|Political and military information}}}|entries=
</noinclude>
{{Infobox|entry|title={{{affiliation-title|Affiliation}}}|content={{{affiliation|}}}}}
{{Infobox|entry|title={{{rank-title|Rank}}}|content={{{rank|}}}}}
{{Infobox|entry|title={{{sn-title|[[Service number]]}}}|content={{{sn|}}}}}
{{Infobox|entry|title={{{notable-title|Notable info}}}|content={{{notable|}}}}}
{{Infobox|entry|title={{{misc-title|Miscellaneous}}}|content={{{misc|}}}}}
}}
 
{{Infobox|end}}<includeonly>{{Infobox/pagetitle|name={{{pagename|{{{name|}}}}}}|label={{{pagelabel|Character}}}}}{{#if:{{{nocat|{{NAMESPACE}}}}}||{{#rmatch:{{{gender|}}}|Female|[[Category:Female characters]]|{{#rmatch:{{{gender|}}}|Male|[[Category:Male characters]]|{{#rmatch:{{{gender|}}}|Non-?binary|[[Category:Non-binary characters]]|{{#rmatch:{{{gender|}}}|N\/A{{!}}None{{!}}Genderless|[[Category:Genderless characters]]|{{#rmatch:{{{gender|}}}|^\?*${{!}}Unknown{{!}}Unspecified|[[Category:Characters of unspecified gender]]|caseless=1}}|caseless=1}}|caseless=1}}|caseless=1}}|caseless=1}}}}</includeonly><noinclude>{{Doc/Template}} __NOTOC__ [[Category:Infobox templates]]</noinclude>

Latest revision as of 10:10, June 14, 2024

Character infobox
 
vde
Template Documentation

Description

This template is used to insert an infobox for use on articles about characters.

Usage

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

{{Character infobox
|variant=<specify Cov, Ban, Human or Forerunner. No value makes infobox grey>
|name=
|image=
|homeworld=
|birth=
|death=
|causeofdeath=
|parents=
|siblings=
|spouses=
|children=
|species=
|gender=
|pronouns=
|height=
|mass=
|hair=
|eyes=
|affiliation=
|rank=<see below>*
|sn=<exclusive for human>**
|notable=
}}
* Note: For Forerunner characters when identifying rates and ranks, use the following format: RANK-TITLE ([[Rate|R]]: RATE-GROUP)
** Note: For those with UNSCMID, use the following format: SN-NUMBER ([[UNSCMID]]: UNSCMID-NUMBER)