Template:Character infobox: Difference between revisions

From Halopedia, the Halo wiki

(test)
m (Text replacement - "dummy edit" to "Category:Infobox templates")
Tag: Manual revert
 
(167 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/>
|-
!{{#if:{{{birth|}}}|<nowiki/> '''Date of Birth'''|}}}|<nowiki/>
|-
!{{#if:{{{died|}}}|<nowiki/> '''Date of Death'''|}}}|<nowiki/>
|-
!{{#if:{{{species|}}}|<nowiki/> '''Species'''|}}}|<nowiki/>
|-
!{{#if:{{{gender|}}}|<nowiki/> '''Gender'''|}}}|<nowiki/>
|-
!{{#if:{{{height|}}}|<nowiki/> '''Height'''|}}}|<nowiki/>
|-
!{{#if:{{{weapons|}}}|<nowiki/> '''Weapons'''|}}}|<nowiki/>
|-
!{{#if:{{{equipment|}}}|<nowiki/> '''Equipment'''|}}}|<nowiki/>
|-
!{{#if:{{{vehicles|}}}|<nowiki/> '''Vehicles'''|}}}|<nowiki/>
|-
!{{#if:{{{hair|}}}|<nowiki/> '''Hair'''|}}}|<nowiki/>
|-
!{{#if:{{{eyes|}}}|<nowiki/> '''Eyes'''|}}}|<nowiki/>
|-
!{{#if:{{{cyber|}}}|<nowiki/> '''Cyber'''|}}}|<nowiki/>
|-
!{{#if:{{{era|}}}|<nowiki/> '''Era'''|}}}|<nowiki/>
|-
!{{#if:{{{types|}}}|<nowiki/> '''Types'''|}}}|<nowiki/>
|-
!{{#if:{{{noteable|}}}|<nowiki/> '''Noteable'''|}}}|<nowiki/>
|-
!{{#if:{{{affiliatiom|}}}|<nowiki/> '''Affiliation'''|}}}|<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)