Template:AI infobox: Difference between revisions

From Halopedia, the Halo wiki

m (Oh... color1 =/= color.)
m (Text replacement - "margin:.5em;" to "margin:5px 0 10px 10px;")
Line 1: Line 1:
{| class="infobox" cellspacing="0" cellpadding="0" border="0" style="float:right; clear:right; width:300px; margin:.5em; padding:2px; border-radius: 0 0 .5em .5em; color:{{{color1|#000}}}; background:{{{BG|#555}}};"
{| class="infobox" cellspacing="0" cellpadding="0" border="0" style="float:right; clear:right; width:300px; margin:5px 0 10px 10px; padding:2px; border-radius: 0 0 .5em .5em; color:{{{color1|#000}}}; background:{{{BG|#555}}};"
{{!}}-
{{!}}-
! style="background:{{{nameBG|transparent}}}; text-align:center; font-size:120%; color:#FFFFFF;" colspan="2" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}
! style="background:{{{nameBG|transparent}}}; text-align:center; font-size:120%; color:#FFFFFF;" colspan="2" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}

Revision as of 19:11, March 15, 2019

AI infobox
Biographical information
Political and military information
 

Usage

Copy and paste the following into the article and fill in the fields.

{{AI infobox
|name=
|image=
|activationsite=
|began=
|ended=
|gender=
|description=
|color=
|affiliation=
|number= <exclusive for UNSC AI>*
|function=
|notable=
}}

Custom parameters

The following allows you to alter the title of the sub-sections:

|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=