Template:Spartan infobox: Difference between revisions

From Halopedia, the Halo wiki

No edit summary
 
m (Text replacement - "dummy edit" to "Category:Infobox templates")
Tag: Manual revert
 
(146 intermediate revisions by 29 users not shown)
Line 1: Line 1:
<includeonly>
{{Infobox|start|bg=#406B2E}}
{| class="infobox" style="width: 315px; border-spacing: 2px; font-size: 95%; text-align: left;"
{{Infobox|title|name={{{name|}}}}}
|-  
{{Infobox|media|content={{{image|}}}|caption={{{caption|}}}|bg=#F0F8FF}}
! colspan="2" style="background: olivedrab; text-align: center; font-size:100%;" | {{{name|{{PAGENAME}}}}}
 
|-
{{Infobox|section|title={{{section1-title|Biographical information}}}|bg=#8DB87A|color=#000|entries=
| colspan="2" style="background: olivedrab; text-align: center;" | {{{lived}}}
{{Infobox|entry|title={{{fullname-title|Full name}}}|content={{{fullname|}}}}}
|-
{{Infobox|entry|title={{{homeworld-title|Birthplace}}}|content={{{homeworld|}}}}}
{{#if:{{{image|}}}|
{{Infobox|entry|title={{{birth-title|Date of birth}}}|content={{{birth|}}}}}
{{!}} colspan="2" style="text-align: center; font-size: 90%; border-bottom: 1px solid #aaa;" {{!}} {{{image|}}}<br/>{{{caption|}}}
{{Infobox|entry|title={{{death-title|Date of death}}}|content={{{death|}}}}}
{{Infobox|entry|title={{{gender-title|Gender}}}|content={{{gender|}}}}}
{{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|}}}}}
}}
}}
|-
 
{{#if:{{{spartantag|}}}|
{{Infobox|section|title={{{section2-title|Political and military information}}}|bg=#8DB87A|color=#000|entries=
! style="padding-right: 1em;" {{!}} SPARTAN&nbsp;Tag
{{Infobox|entry|title={{{spartantag-title|Spartan tag}}}|content={{{spartantag|}}}}}
{{!}} {{{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|}}}}}
}}
}}
|-
 
{{#if:{{{planetoforigin|}}}|
{{Infobox|end}}<noinclude>{{clear}}
! style="padding-right: 1em;" {{!}} Planet&nbsp;of&nbsp;origin
==Usage instructions==
{{!}} {{{planetoforigin|}}}
Copy and paste the following into the article and fill in the fields.
 
<pre>
{{Spartan infobox
|name=
|image=
|fullname=
|homeworld=
|birth=
|death=
|gender=
|height=
|mass=
|hair=
|eyes=
|spartantag=
|branch=
|group=
|rank=
}}
}}
|-
</pre>
{{#if:{{{placeofdeath|}}}|
 
! style="padding-right: 1em;" {{!}} Place&nbsp;of&nbsp;death
==Custom parameters==
{{!}} {{{placeofdeath|}}}
The following allows you to alter the title of the sub-sections:
}}
 
|-
<pre>
{{#if:{{{allegiance|}}}|
|section1-title=
! style="padding-right: 1em;" {{!}} Allegiance
|section2-title=
{{!}} {{{allegiance|}}}
</pre>
}}
 
|-
[[Category:Infobox templates]]</noinclude>
{{#if:{{{specialty|}}}|
! style="padding-right: 1em;" {{!}} Specialty
{{!}} {{{specialty|}}}
}}
|-
{{#if:{{{rank|}}}|
! style="padding-right: 1em;" {{!}} Rank
{{!}} {{{rank|}}}
}}
|-
{{#if:{{{status|}}}|
! style="padding-right: 1em;" {{!}} Status
{{!}} {{{status|}}}
}}
|-
{{#if:{{{battles|}}}|
! style="padding-right: 1em;" {{!}} Battles/wars
{{!}} {{{battles|}}}
}}
|-
{{#if:{{{awards|}}}|
! style="padding-right: 1em;" {{!}} Awards
{{!}} {{{awards|}}}
}}
|-
{{#if:{{{spartaniiclass|}}}|
! style="padding-right: 1em;" {{!}} Spartan-II&nbsp;class
{{!}} {{{spartaniiclass|}}}
}}
|}</includeonly><noinclude>

Latest revision as of 11: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=