Template:Spartan infobox: Difference between revisions

From Halopedia, the Halo wiki

m (Text replacement - "dummy edit" to "Category:Infobox templates")
Tag: Manual revert
 
(98 intermediate revisions by 9 users not shown)
Line 1: Line 1:
<includeonly>{| border=0 cellspacing=0 cellpadding=4 style="float:right; clear:right; width:250px; background:#f0f0f0; border-collapse:collapse; border:1px solid #999999; font-size:smaller; line-height:1.5;"
{{Infobox|start|bg=#406B2E}}
|-
{{Infobox|title|name={{{name|}}}}}
|colspan=2 style="text-align:center; margin: 0px; padding:0px;" |{{#if:{{{image|}}}|{{{image}}}}}
{{Infobox|media|content={{{image|}}}|caption={{{caption|}}}|bg=#F0F8FF}}
|-
 
|colspan=2 style="text-align:center; font-size:larger; color:#FFFFFF; background:#406B2E; border-top:1px solid #999; border-bottom:1px solid #999;" |'''{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}'''
{{Infobox|section|title={{{section1-title|Biographical information}}}|bg=#8DB87A|color=#000|entries=
|-
{{Infobox|entry|title={{{fullname-title|Full name}}}|content={{{fullname|}}}}}
| colspan=2 style="background:#8DB87A; border-bottom:1px solid #999;" | '''Biographical information'''
{{Infobox|entry|title={{{homeworld-title|Birthplace}}}|content={{{homeworld|}}}}}
|-
{{Infobox|entry|title={{{birth-title|Date of birth}}}|content={{{birth|}}}}}
{{#if:{{{spartantag|}}}|
{{Infobox|entry|title={{{death-title|Date of death}}}|content={{{death|}}}}}
! width="32%" style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #999;" {{!}} Spartan Tag
{{Infobox|entry|title={{{gender-title|Gender}}}|content={{{gender|}}}}}
! width="68%" style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #999;" {{!}} {{{spartantag}}}
{{Infobox|entry|title={{{height-title|Height}}}|content={{{height|}}}}}
{{Infobox|entry|title={{{mass-title|Weight}}}|content={{{mass|}}}}}
{{Infobox|entry|title={{{hair-title|Hair color}}}|content={{{hair|}}}}}
{{Infobox|entry|title={{{eyes-title|Eye color}}}|content={{{eyes|}}}}}
}}
}}
|-style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #999;"
{{#if:{{{homeworld|}}}|{{!}}{{!}}Homeworld{{!}}{{!}}{{{homeworld}}}}}
|-style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #999;"
{{#if:{{{birth|}}}|{{!}}{{!}}Birth date{{!}}{{!}}{{{birth}}}}}
|-style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #999;"
{{#if:{{{death|}}}|{{!}}{{!}}Death date{{!}}{{!}}{{{death}}}}}
|-
| colspan=2 style="background:#8DB87A; border-bottom:1px solid #999;" | '''Physical description'''
|-style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #999;"
{{#if:{{{species|}}}|{{!}}{{!}}Species{{!}}{{!}}{{{species}}}}}
|-style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #999;"
{{#if:{{{gender|}}}|{{!}}{{!}}Gender{{!}}{{!}}{{{gender}}}}}
|-style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #999;"
{{#if:{{{height|}}}|{{!}}{{!}}Height{{!}}{{!}}{{{height}}}}}
|-style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #999;"
{{#if:{{{hair|}}}|{{!}}{{!}}Hair color{{!}}{{!}}{{{hair}}}}}
|-style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #999;"
{{#if:{{{eyes|}}}|{{!}}{{!}}Eye color{{!}}{{!}}{{{eyes}}}}}
|-style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #999;"
{{#if:{{{cyber|}}}|{{!}}{{!}}Cybernetics{{!}}{{!}}{{{cyber}}}}}
|-
| colspan=2 style="background:#8DB87A; border-bottom:1px solid #999;" | '''Affiliation and military information'''
|-style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #999;"
{{#if:{{{affiliation|}}}|{{!}}{{!}}Affiliation{{!}}{{!}}{{{affiliation}}}}}
|-style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #999;"
{{#if:{{{rank|}}}|{{!}}{{!}}Rank{{!}}{{!}}{{{rank}}}}}
|-style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #999;"
{{#if:{{{specialty|}}}|{{!}}{{!}}Specialty{{!}}{{!}}{{{specialty}}}}}
|-style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #999;"
{{#if:{{{battles|}}}|{{!}}{{!}}Battles{{!}}{{!}}{{{battles}}}}}
|-style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #999;"
{{#if:{{{class|}}}|{{!}}{{!}}Class{{!}}{{!}}{{{class}}}}}
|-
| colspan=2 style="text-align:center; background:#FFFFFF; border-bottom:1px solid #999; padding:0px;" | [[Template:SPARTAN Infobox|[Source]]]
|}
</includeonly>
<noinclude>


{{Infobox|section|title={{{section2-title|Political and military information}}}|bg=#8DB87A|color=#000|entries=
{{Infobox|entry|title={{{spartantag-title|Spartan tag}}}|content={{{spartantag|}}}}}
{{Infobox|entry|title={{{branch-title|Branch}}}|content={{{branch|}}}}}
{{Infobox|entry|title={{{group-title|Group}}}|content={{{group|}}}}}
{{Infobox|entry|title={{{rank-title|Rank}}}|content={{{rank|}}}}}
}}


{{Infobox|end}}<noinclude>{{clear}}
==Usage instructions==
Copy and paste the following into the article and fill in the fields.


|name= Captian Nexue
<pre>
{{Spartan infobox
|image=A Mark lV Head, CQG Body Armour, EVA Shoulders, Body Coloured Green with White Cross Hair
|name=
 
|image=
|spartantag=A37
|fullname=
|homeworld=
|homeworld=Earth
|birth=
|death=
|birth=13 May 2534
|gender=
|height=
|death=No Time Close
|mass=
 
|hair=
|species=Human/Spartan
|eyes=
|spartantag=
|gender=Male
|branch=
 
|group=
|height=Average
|rank=
}}
</pre>


|hair=Black
==Custom parameters==
The following allows you to alter the title of the sub-sections:


|eyes=Brown
<pre>
|section1-title=
|section2-title=
</pre>


|rank=Captain
[[Category:Infobox templates]]</noinclude>
 
|specialty=Engineering
 
|battles=600
 
|class=Spartan
}}

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

Spartan infobox
 

Usage instructions

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

{{Spartan infobox
|name=
|image=
|fullname=
|homeworld=
|birth=
|death=
|gender=
|height=
|mass=
|hair=
|eyes=
|spartantag=
|branch=
|group=
|rank=
}}

Custom parameters

The following allows you to alter the title of the sub-sections:

|section1-title=
|section2-title=