Template:Spartan infobox: Difference between revisions

From Halopedia, the Halo wiki

m (Text replacement - "<div>{{{caption}}}</div>" to "{{clear}}{{{caption}}}")
m (Text replacement - "}}}| {{!}} style="" to "}}}| {{!}} class="infoboxlabel" style="")
Line 11: Line 11:
{{!}}-
{{!}}-
{{#if:{{{fullname|}}}|
{{#if:{{{fullname|}}}|
{{!}} style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}; width:100px" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}; width:100px" {{!}}
'''{{{fullname-title|Full name}}}''':
'''{{{fullname-title|Full name}}}''':
{{!}} style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{!}} style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
Line 17: Line 17:
{{!}}-}}
{{!}}-}}
{{#if:{{{homeworld|}}}|
{{#if:{{{homeworld|}}}|
{{!}} style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
'''{{{homeworld-title|Birthplace}}}''':
'''{{{homeworld-title|Birthplace}}}''':
{{!}} style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{!}} style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
Line 23: Line 23:
{{!}}-}}
{{!}}-}}
{{#if:{{{birth|}}}|
{{#if:{{{birth|}}}|
{{!}} style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
'''{{{birth-title|Date of birth}}}''':
'''{{{birth-title|Date of birth}}}''':
{{!}} style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{!}} style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
Line 29: Line 29:
{{!}}-}}
{{!}}-}}
{{#if:{{{death|}}}|
{{#if:{{{death|}}}|
{{!}} style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
'''{{{death-title|Date of death}}}''':
'''{{{death-title|Date of death}}}''':
{{!}} style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{!}} style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
Line 35: Line 35:
{{!}}-}}
{{!}}-}}
{{#if:{{{gender|}}}|
{{#if:{{{gender|}}}|
{{!}} style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
'''{{{gender-title|Gender}}}''':
'''{{{gender-title|Gender}}}''':
{{!}} style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{!}} style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
Line 41: Line 41:
{{!}}-}}
{{!}}-}}
{{#if:{{{height|}}}|
{{#if:{{{height|}}}|
{{!}} style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
'''{{{height-title|Height}}}''':
'''{{{height-title|Height}}}''':
{{!}} style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{!}} style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
Line 47: Line 47:
{{!}}-}}
{{!}}-}}
{{#if:{{{mass|}}}|
{{#if:{{{mass|}}}|
{{!}} style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
'''{{{mass-title|Weight}}}''':
'''{{{mass-title|Weight}}}''':
{{!}} style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{!}} style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
Line 53: Line 53:
{{!}}-}}
{{!}}-}}
{{#if:{{{hair|}}}|
{{#if:{{{hair|}}}|
{{!}} style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
'''{{{hair-title|Hair color}}}''':
'''{{{hair-title|Hair color}}}''':
{{!}} style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{!}} style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
Line 59: Line 59:
{{!}}-}}
{{!}}-}}
{{#if:{{{eyes|}}}|
{{#if:{{{eyes|}}}|
{{!}} style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
'''{{{eyes-title|Eye color}}}''':
'''{{{eyes-title|Eye color}}}''':
{{!}} style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{!}} style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
Line 68: Line 68:
{{!}}-
{{!}}-
{{#if:{{{spartantag|}}}|
{{#if:{{{spartantag|}}}|
{{!}} style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
'''{{{spartantag-title|Spartan tag}}}''':
'''{{{spartantag-title|Spartan tag}}}''':
{{!}} style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{!}} style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
Line 74: Line 74:
{{!}}-}}
{{!}}-}}
{{#if:{{{branch|}}}|
{{#if:{{{branch|}}}|
{{!}} style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
'''{{{branch-title|Branch}}}:'''
'''{{{branch-title|Branch}}}:'''
{{!}} style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{!}} style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
Line 80: Line 80:
{{!}}-}}
{{!}}-}}
{{#if:{{{group|}}}|
{{#if:{{{group|}}}|
{{!}} style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
'''{{{group-title|Group}}}:'''
'''{{{group-title|Group}}}:'''
{{!}} style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{!}} style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
Line 86: Line 86:
{{!}}-}}
{{!}}-}}
{{#if:{{{rank|}}}|
{{#if:{{{rank|}}}|
{{!}} style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
'''{{{rank-title|Rank}}}:'''
'''{{{rank-title|Rank}}}:'''
{{!}} style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{!}} style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999}}}" {{!}}

Revision as of 10:37, September 15, 2022

Spartan infobox
Biographical information
Political and military information
 

Usage

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:

|BG=
|imageBG=
|nameBG=
|sectionBG=
|fieldBG=
|titleBG=
|color1=
|color2=
|section1-title=
|section2-title=

Display parameters

The following allows you to hide the section header

  • hidea (hides Bio section header)
  • hideb (hides Politic/Military section header)
|hidea=
|hideb=