Template:Spartan infobox: Difference between revisions

From Halopedia, the Halo wiki

m (Text replacement - "class="infoboxsubheading" " to "")
m (Text replacement - "px;"" to "px"")
Line 11: Line 11:
{{!}}-
{{!}}-
{{#if:{{{fullname|}}}|
{{#if:{{{fullname|}}}|
{{!}} style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}}; width:100px;" {{!}}
{{!}} style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{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}}}" {{!}}
Line 91: Line 91:
{{{rank|}}}
{{{rank|}}}
{{!}}-}}
{{!}}-}}
| colspan=2 style="text-align:center; background:{{{BG|transparent}}}; padding:0; font-size:10px; line-height:10px;" | 
| colspan=2 style="text-align:center; background:{{{BG|transparent}}}; padding:0; font-size:10px; line-height:10px" | 
|}<noinclude>{{clear}}
|}<noinclude>{{clear}}
==Usage==
==Usage==

Revision as of 00:13, 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=