Template:Character infobox: Difference between revisions

From Halopedia, the Halo wiki

No edit summary
m (Text replacement - "dummy edit" to "Category:Infobox templates")
Tag: Manual revert
 
(170 intermediate revisions by 17 users not shown)
Line 1: Line 1:
<table border="0" cellspacing="0" cellpadding="0" style="float:right; clear:right; margin: 0 0 .5em 1em; width:250px; background:#ffffff; border-collapse:collapse; border:1px solid #999999; font-size:smaller; line-height:1.5;">
{{Infobox|start|bg=#{{#switch:{{{variant}}}|Ban=933|Cov=96C|Human=3779AE|Forerunner=B3B3B3|555}}}}
<tr><td colspan="2"><div id="infoboxinternal">
{{Infobox|title|name={{{name|}}}}}
<table border="0" cellspacing="0" cellpadding="4" style="float:right; margin:0 0 0 0; width:100%; background:#ffffff; border-collapse:collapse;">
{{Infobox|media|content={{{image|}}}|caption={{{caption|}}}}}
<tr style="text-align:center;"><td colspan="2" style="padding:0; background:{{{imageBG|#444444}}};">{{{image|}}}</td></tr>
<tr style="text-align:center; color:#ffffff; background:#444444; font-size:larger;"><th colspan="2">{{{name}}}</th></tr> {{t|1=|1{{{hideb|}}}=<tr><th colspan="2" style="text-align:left; font-weight:normal; background:#777777;">'''Biographical information'''</th></tr>}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Homeworld</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
{{{homeworld|}}}
</td></tr>|1{{{homeworld|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Date&nbsp;of&nbsp;birth</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
{{{birth|}}}
</td></tr>|1{{{birth|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Date&nbsp;of&nbsp;death</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
{{{death|}}}
</td></tr>|1{{{death|}}}=}} {{t|1=|1{{{hidep|}}}=<tr><th colspan="2" style="text-align:left; font-weight:normal; background:#777777;">'''Physical description'''</th></tr>}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Species</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
{{{species|}}}
</td></tr>|1{{{species|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Gender</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
{{{gender|}}}
</td></tr>|1{{{gender|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Height</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
{{{height|}}}
</td></tr>|1{{{height|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Weapons</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
{{{weapons|}}}
</td></tr>|1{{{weapons|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Equipment</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
{{{equipment|}}}
</td></tr>|1{{{equipment|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Vehicles</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
{{{vehicles|}}}
</td></tr>|1{{{vehicles|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Hair&nbsp;color</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
{{{hair|}}}
</td></tr>|1{{{hair|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Eye&nbsp;color</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
{{{eyes|}}}
</td></tr>|1{{{eyes|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Cybernetics</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
{{{cyber|}}}
</td></tr>|1{{{cyber|}}}=}} {{t|1=|1{{{hidec|}}}=<tr><th colspan="2" style="text-align:left; font-weight:normal; background:#777777;">'''Chronological and political information'''</th></tr>}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Era(s)</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
{{{era|}}}
</td></tr>|1{{{era|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Subclasses</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
{{{types|}}}
</td></tr>|1{{{types|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Notable Persons</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
{{{notable|}}}
</td></tr>|1{{{notable|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Affiliation</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
{{{affiliation|}}}
</td></tr>|1{{{affiliation|}}}=}} </table></div></td></tr><tr><td id="infoboxend" class="plainlinks" style="text-align:right; width:49%;"></td><td style="text-align:left; width:51%;">&nbsp;&nbsp;[[Template:Covenant Character Infobox|[Source]]]</td></tr></table><!-- TEMPLATE ENDS HERE. In order to regenerate the template, replace the code above with the source code provided. --><noinclude>
{{clear}}
===Usage instructions===
Paste the following code into the top of an article, filling all known fields:
<pre><nowiki>
{{Character Infobox
|name=
|image=
|homeworld=
|birth=
|death=
|species=
|gender=
|height=
|weapons=
|equipment=
|vehicles=
|hair=
|eyes=
|cyber=
|era=
|types=
|notable=
|affiliation=
}}</nowiki></pre>


===Display parameters===
{{Infobox|section|title={{{section1-title|Biographical information}}}|entries=
*hideb
{{Infobox|entry|title={{{fullname-title|Full name}}}|content={{{fullname|}}}}}
*hidep
{{Infobox|entry|title={{{homeworld-title|Homeworld}}}|content={{{homeworld|}}}}}
*hidec
{{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|}}}}}
}}


===Source===
{{Infobox|section|title={{{section2-title|Personal details}}}|entries=
<nowiki>
{{Infobox|entry|title={{{species-title|Species}}}|content={{{species|}}}}}
{{subst:slh|#444444|250px}} {{subst:sls|Biographical information|#777777|hideb}} {{subst:sld|Homeworld|homeworld}} {{subst:sld|Date&nbsp;of&nbsp;birth|birth}} {{subst:sld|Date&nbsp;of&nbsp;death|death}} {{subst:sls|Physical description|#777777|hidep}} {{subst:sld|Species|species}} {{subst:sld|Gender|gender}} {{subst:sld|Height|height}} {{subst:sld|Hair&nbsp;color|hair}} {{subst:sld|Eye&nbsp;color|eyes}} {{subst:sld|Cybernetics|cyber}} {{subst:sls|Chronological and political information|#777777|hidec}} {{subst:sld|Era(s)|era}} {{subst:sld|Affiliation|affiliation}} {{subst:slf}}
{{Infobox|entry|title={{{gender-title|Gender}}}|content={{{gender|}}}}}
</nowiki>
{{Infobox|entry|title={{{pronouns-title|Pronouns}}}|content={{{pronouns|}}}}}
</noinclude>
{{Infobox|entry|title={{{height-title|Height}}}|content={{{height|}}}}}
<noinclude>
{{Infobox|entry|title={{{mass-title|Weight}}}|content={{{mass|}}}}}
[[Category:Templates|{{PAGENAME}}]]
{{Infobox|entry|title={{{hair-title|Hair color}}}|content={{{hair|}}}}}
</noinclude>
{{Infobox|entry|title={{{eyes-title|Eye color}}}|content={{{eyes|}}}}}
}}
 
{{Infobox|section|title={{{section3-title|Political and military information}}}|entries=
{{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)