Usage

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

{{AI Infobox
| image=
| name=
| number=
| began=
| ended=
| gender=
| description=
| color=
| affiliation=
| function=
| battles=
}}

All fields are optional.

Source

{| border=0 cellspacing=0 cellpadding=4 style="float:right; clear:right; width:250px; background:#f0f0f0; border-collapse:collapse; border:1px solid #999999; font-size:smaller; line-height:1.5;"
|- 
|colspan=2 style="text-align:center; margin: 0px; padding:0px;" |{{#if:{{{image|}}}|{{{image}}}}}
|-
|colspan=2 style="text-align:center; font-size:larger; color:#FFFFFF; background:#0F1C8A; border-top:1px solid #999; border-bottom:1px solid #999;" |'''{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}'''
|-
{{#if:{{{number|}}}{{{began|}}}{{{ended|}}}|
! colspan=2 style="text-align:left; background:#5260E0; border-bottom:1px solid #999;" {{!}} '''Biographical information'''}}
|-style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #999;"
{{#if:{{{number|}}}|{{!}}{{!}}Service number{{!}}{{!}}
{{{number}}} }}
|-style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #999;"
{{#if:{{{began|}}}|{{!}}{{!}}Began service{{!}}{{!}}
{{{began}}} }}
|-style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #999;"
{{#if:{{{ended|}}}|{{!}}{{!}}Ended service{{!}}{{!}}
{{{ended}}} }}
|-
{{#if:{{{gender|}}}{{{description|}}}{{{color|}}}|
! colspan=2 style="text-align:left; background:#5260E0; border-bottom:1px solid #999;" {{!}} '''Physical description'''}}
|-style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #999;"
{{#if:{{{gender|}}}|{{!}}{{!}}Gender{{!}}{{!}}
{{{gender}}} }}
|-style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #999;"
{{#if:{{{description|}}}|{{!}}{{!}}Description{{!}}{{!}}
{{{description}}} }}
|-style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #999;"
{{#if:{{{color|}}}|{{!}}{{!}}Normal color{{!}}{{!}}
{{{color}}} }}
|-
{{#if:{{{affiliation|}}}{{{function|}}}{{{battles|}}}|
! colspan=2 style="text-align:left; background:#5260E0; border-bottom:1px solid #999;" {{!}} '''Political information and functions'''}}
|-style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #999;"
{{#if:{{{affiliation|}}}|{{!}}{{!}}Affiliation{{!}}{{!}}
{{{affiliation}}} }}
|-style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #999;"
{{#if:{{{function|}}}|{{!}}{{!}}Primary function{{!}}{{!}}
{{{function}}} }}
|-style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #999;"
{{#if:{{{battles|}}}|{{!}}{{!}}Notable battles{{!}}{{!}}
{{{battles}}} }}
|-
| colspan=2 style="text-align:center; background:#FFFFFF; border-bottom:1px solid #999; padding:0px;" | [[Template:AI Infobox|[Source]]]
|}