Template:AI infobox: Difference between revisions

From Halopedia, the Halo wiki

m (Rmvd "gender", "battles"; added "misc", "notable"; updated design)
mNo edit summary
Line 8: Line 8:
{{!}}-
{{!}}-
{{#if:{{{hidea|}}}|{{!}}-|{{!}}-
{{#if:{{{hidea|}}}|{{!}}-|{{!}}-
! class="infoboxsubheading" colspan="2" style="font-size:90%; color:{{{color2|#000}}}; text-align:center; background:{{{sectionBG|#5260E0}}}" {{!}} {{{section1-title|Biographical information}}}}}
! class="infoboxsubheading" colspan="2" style="font-size:90%; color:{{{color2|#fff}}}; text-align:center; background:{{{sectionBG|#5260E0}}}" {{!}} {{{section1-title|Biographical information}}}}}
{{!}}-
{{!}}-
{{#if:{{{began|}}}|
{{#if:{{{began|}}}|
Line 35: Line 35:
{{!}}-}}
{{!}}-}}
{{#if:{{{hideb|}}}|{{!}}-|{{!}}-
{{#if:{{{hideb|}}}|{{!}}-|{{!}}-
! class="infoboxsubheading" colspan="2" style="font-size:90%; color:{{{color2|#000}}}; text-align:center; background:{{{sectionBG|#5260E0}}}" {{!}} {{{section2-title|Political and military information}}}}}
! class="infoboxsubheading" colspan="2" style="font-size:90%; color:{{{color2|#fff}}}; text-align:center; background:{{{sectionBG|#5260E0}}}" {{!}} {{{section2-title|Political and military information}}}}}
{{!}}-
{{!}}-
{{#if:{{{affiliation|}}}|
{{#if:{{{affiliation|}}}|
Line 68: Line 68:
{{!}}-}}
{{!}}-}}
{{!}}-}}
{{!}}-}}
| colspan=2 style="text-align:center; background:{{{BG|transparent}}}; padding:0px; font-size:10px;" | [[Template:Character Infobox|<span style="color:#FFFFFF;">[Source]</span>]]
| colspan=2 style="text-align:center; background:{{{BG|transparent}}}; padding:0px; font-size:10px;" | [[Template:AI infobox|<span style="color:#FFFFFF;">[Source]</span>]]
|}<noinclude>
|}<noinclude>
==Usage==
==Usage==

Revision as of 07:21, November 26, 2011

AI infobox
Biographical information
Political and military information
[Source]

Usage

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

{{AI infobox
|image=
|began=
|ended=
|description=
|color=
|affiliation=
|number= <exclusive for human>*
|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=