Template:Spartan infobox: Difference between revisions

From Halopedia, the Halo wiki

m (Text replacement - "border-color:{{{lineBG\|([^\n}]+)}}}" to "border-color:{{{lineBG|$1}}}"")
m (Text replacement - "font-size: *90%; padding: *0 0 0 2px; line-height: *14px; " to "")
Line 11: Line 11:
{{!}}-
{{!}}-
{{#if:{{{fullname|}}}|
{{#if:{{{fullname|}}}|
{{!}} 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}}}; width:100px;" {{!}}
'''{{{fullname-title|Full name}}}''':
'''{{{fullname-title|Full name}}}''':
{{!}} style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}}" {{!}}
{{!}} style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}}" {{!}}

Revision as of 23:21, 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=