Template:AI infobox: Difference between revisions

From Halopedia, the Halo wiki

m (Text replacement - "border-color:{{{lineBG\|([^\n}]+)}}}" to "border-color:{{{lineBG|$1}}}"")
m (Text replacement - "px;"" to "px"")
Line 80: Line 80:
{{!}}-}}
{{!}}-}}
{{!}}-}}
{{!}}-}}
| 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" | 
|}<includeonly>{{pagetitle|{{{pagename|{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}}}} - {{{pagelabel|Character {{#ifeq:{{SUBPAGENAME}}|Silver|(Silver Timeline)}}}}}}}</includeonly><noinclude>
|}<includeonly>{{pagetitle|{{{pagename|{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}}}} - {{{pagelabel|Character {{#ifeq:{{SUBPAGENAME}}|Silver|(Silver Timeline)}}}}}}}</includeonly><noinclude>
==Usage==
==Usage==

Revision as of 23:11, September 14, 2022

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=