Template:Spartan infobox: Difference between revisions

From Halopedia, the Halo wiki

m (Text replacement - ""vertical-align: *top; " to """)
m (Text replacement - "border-bottom:1px solid {{{lineBG\|([^\n}]+)}}}; border-top:1px solid {{{lineBG\|[^\n}]+}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;"" to "border-color:{{{lineBG|$1}}}")
Line 13: Line 13:
{{!}} style="background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px; width:100px;" {{!}}
{{!}} style="background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px; width:100px;" {{!}}
'''{{{fullname-title|Full name}}}''':
'''{{{fullname-title|Full name}}}''':
{{!}} style="background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{!}} style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}} {{!}}
{{{fullname|}}}
{{{fullname|}}}
{{!}}-}}
{{!}}-}}
{{#if:{{{homeworld|}}}|
{{#if:{{{homeworld|}}}|
{{!}} style="background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{!}} style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}} {{!}}
'''{{{homeworld-title|Birthplace}}}''':
'''{{{homeworld-title|Birthplace}}}''':
{{!}} style="background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{!}} style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}} {{!}}
{{{homeworld|}}}
{{{homeworld|}}}
{{!}}-}}
{{!}}-}}
{{#if:{{{birth|}}}|
{{#if:{{{birth|}}}|
{{!}} style="background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{!}} style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}} {{!}}
'''{{{birth-title|Date of birth}}}''':
'''{{{birth-title|Date of birth}}}''':
{{!}} style="background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{!}} style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}} {{!}}
{{{birth|}}}
{{{birth|}}}
{{!}}-}}
{{!}}-}}
{{#if:{{{death|}}}|
{{#if:{{{death|}}}|
{{!}} style="background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{!}} style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}} {{!}}
'''{{{death-title|Date of death}}}''':
'''{{{death-title|Date of death}}}''':
{{!}} style="background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{!}} style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}} {{!}}
{{{death|}}}
{{{death|}}}
{{!}}-}}
{{!}}-}}
{{#if:{{{gender|}}}|
{{#if:{{{gender|}}}|
{{!}} style="background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{!}} style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}} {{!}}
'''{{{gender-title|Gender}}}''':
'''{{{gender-title|Gender}}}''':
{{!}} style="background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{!}} style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}} {{!}}
{{{gender|}}}
{{{gender|}}}
{{!}}-}}
{{!}}-}}
{{#if:{{{height|}}}|
{{#if:{{{height|}}}|
{{!}} style="background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{!}} style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}} {{!}}
'''{{{height-title|Height}}}''':
'''{{{height-title|Height}}}''':
{{!}} style="background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{!}} style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}} {{!}}
{{{height|}}}
{{{height|}}}
{{!}}-}}
{{!}}-}}
{{#if:{{{mass|}}}|
{{#if:{{{mass|}}}|
{{!}} style="background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{!}} style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}} {{!}}
'''{{{mass-title|Weight}}}''':
'''{{{mass-title|Weight}}}''':
{{!}} style="background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{!}} style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}} {{!}}
{{{mass|}}}
{{{mass|}}}
{{!}}-}}
{{!}}-}}
{{#if:{{{hair|}}}|
{{#if:{{{hair|}}}|
{{!}} style="background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{!}} style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}} {{!}}
'''{{{hair-title|Hair color}}}''':
'''{{{hair-title|Hair color}}}''':
{{!}} style="background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{!}} style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}} {{!}}
{{{hair|}}}
{{{hair|}}}
{{!}}-}}
{{!}}-}}
{{#if:{{{eyes|}}}|
{{#if:{{{eyes|}}}|
{{!}} style="background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{!}} style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}} {{!}}
'''{{{eyes-title|Eye color}}}''':
'''{{{eyes-title|Eye color}}}''':
{{!}} style="background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{!}} style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}} {{!}}
{{{eyes|}}}
{{{eyes|}}}
{{!}}-}}
{{!}}-}}
Line 68: Line 68:
{{!}}-
{{!}}-
{{#if:{{{spartantag|}}}|
{{#if:{{{spartantag|}}}|
{{!}} style="background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{!}} style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}} {{!}}
'''{{{spartantag-title|Spartan tag}}}''':
'''{{{spartantag-title|Spartan tag}}}''':
{{!}} style="background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{!}} style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}} {{!}}
{{{spartantag|}}}
{{{spartantag|}}}
{{!}}-}}
{{!}}-}}
{{#if:{{{branch|}}}|
{{#if:{{{branch|}}}|
{{!}} style="background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{!}} style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}} {{!}}
'''{{{branch-title|Branch}}}:'''
'''{{{branch-title|Branch}}}:'''
{{!}} style="background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{!}} style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}} {{!}}
{{{branch|}}}
{{{branch|}}}
{{!}}-}}
{{!}}-}}
{{#if:{{{group|}}}|
{{#if:{{{group|}}}|
{{!}} style="background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{!}} style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}} {{!}}
'''{{{group-title|Group}}}:'''
'''{{{group-title|Group}}}:'''
{{!}} style="background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{!}} style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}} {{!}}
{{{group|}}}
{{{group|}}}
{{!}}-}}
{{!}}-}}
{{#if:{{{rank|}}}|
{{#if:{{{rank|}}}|
{{!}} style="background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{!}} style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}} {{!}}
'''{{{rank-title|Rank}}}:'''
'''{{{rank-title|Rank}}}:'''
{{!}} style="background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{!}} style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}} {{!}}
{{{rank|}}}
{{{rank|}}}
{{!}}-}}
{{!}}-}}

Revision as of 22:13, September 14, 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=