Template:Spartan infobox: Difference between revisions

From Halopedia, the Halo wiki

m (Text replacement - "font-size:90%; " to "")
m (Text replacement - "120%" to "130%")
Line 1: Line 1:
{| class="infobox" cellspacing="0" style="width:300px; background:{{{BG|#406B2E}}};  color:{{{color1|inherit}}}"
{| class="infobox" cellspacing="0" style="width:300px; background:{{{BG|#406B2E}}};  color:{{{color1|inherit}}}"
{{!}}-
{{!}}-
! style="background:{{{nameBG|transparent}}}; color:{{{color2|#fff}}}; font-size:120%" colspan="2" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}
! style="background:{{{nameBG|transparent}}}; color:{{{color2|#fff}}}; font-size:130%" colspan="2" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}
{{!}}-
{{!}}-
{{#if:{{{image|}}}|
{{#if:{{{image|}}}|

Revision as of 11:12, 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=