Template:AI infobox: Difference between revisions
From Halopedia, the Halo wiki
(rmv source (not needed)) |
(made template visible) |
||
Line 1: | Line 1: | ||
{| 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; margin: 0px; padding:0px;" |{{#if:{{{image<includeonly>|</includeonly>}}}|{{{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}}}}''' | |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<includeonly>|</includeonly>}}}|{{{name}}}|{{PAGENAME}}}}''' | ||
|- | |- | ||
{{#if:{{{number|}}}{{{began|}}}{{{ended|}}}| | {{#if:{{{number<includeonly>|</includeonly>}}}{{{began|}}}{{{ended|}}}| | ||
! colspan=2 style="text-align:left; background:#5260E0; border-bottom:1px solid #999;" {{!}} '''Biographical information'''}} | ! 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;" | |-style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #999;" | ||
{{#if:{{{number|}}}|{{!}}{{!}}Service number{{!}}{{!}} | {{#if:{{{number<includeonly>|</includeonly>}}}|{{!}}{{!}}Service number{{!}}{{!}} | ||
{{{number}}} }} | {{{number}}} }} | ||
|-style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #999;" | |-style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #999;" | ||
{{#if:{{{began|}}}|{{!}}{{!}}Began service{{!}}{{!}} | {{#if:{{{began<includeonly>|</includeonly>}}}|{{!}}{{!}}Began service{{!}}{{!}} | ||
{{{began}}} }} | {{{began}}} }} | ||
|-style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #999;" | |-style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #999;" | ||
{{#if:{{{ended|}}}|{{!}}{{!}}Ended service{{!}}{{!}} | {{#if:{{{ended<includeonly>|</includeonly>}}}|{{!}}{{!}}Ended service{{!}}{{!}} | ||
{{{ended}}} }} | {{{ended}}} }} | ||
|- | |- | ||
{{#if:{{{gender|}}}{{{description|}}}{{{color|}}}| | {{#if:{{{gender<includeonly>|</includeonly>}}}{{{description|}}}{{{color|}}}| | ||
! colspan=2 style="text-align:left; background:#5260E0; border-bottom:1px solid #999;" {{!}} '''Physical description'''}} | ! 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;" | |-style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #999;" | ||
{{#if:{{{gender|}}}|{{!}}{{!}}Gender{{!}}{{!}} | {{#if:{{{gender<includeonly>|</includeonly>}}}|{{!}}{{!}}Gender{{!}}{{!}} | ||
{{{gender}}} }} | {{{gender}}} }} | ||
|-style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #999;" | |-style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #999;" | ||
{{#if:{{{description|}}}|{{!}}{{!}}Description{{!}}{{!}} | {{#if:{{{description<includeonly>|</includeonly>}}}|{{!}}{{!}}Description{{!}}{{!}} | ||
{{{description}}} }} | {{{description}}} }} | ||
|-style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #999;" | |-style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #999;" | ||
{{#if:{{{color|}}}|{{!}}{{!}}Normal color{{!}}{{!}} | {{#if:{{{color<includeonly>|</includeonly>}}}|{{!}}{{!}}Normal color{{!}}{{!}} | ||
{{{color}}} }} | {{{color}}} }} | ||
|- | |- | ||
{{#if:{{{affiliation|}}}{{{function|}}}{{{battles|}}}| | {{#if:{{{affiliation<includeonly>|</includeonly>}}}{{{function|}}}{{{battles|}}}| | ||
! colspan=2 style="text-align:left; background:#5260E0; border-bottom:1px solid #999;" {{!}} '''Political information and functions'''}} | ! 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;" | |-style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #999;" | ||
{{#if:{{{affiliation|}}}|{{!}}{{!}}Affiliation{{!}}{{!}} | {{#if:{{{affiliation<includeonly>|</includeonly>}}}|{{!}}{{!}}Affiliation{{!}}{{!}} | ||
{{{affiliation}}} }} | {{{affiliation}}} }} | ||
|-style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #999;" | |-style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #999;" | ||
{{#if:{{{function|}}}|{{!}}{{!}}Primary function{{!}}{{!}} | {{#if:{{{function<includeonly>|</includeonly>}}}|{{!}}{{!}}Primary function{{!}}{{!}} | ||
{{{function}}} }} | {{{function}}} }} | ||
|-style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #999;" | |-style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #999;" | ||
{{#if:{{{battles|}}}|{{!}}{{!}}Notable battles{{!}}{{!}} | {{#if:{{{battles<includeonly>|</includeonly>}}}|{{!}}{{!}}Notable battles{{!}}{{!}} | ||
{{{battles}}} }} | {{{battles}}} }} | ||
|- | |- | ||
| colspan=2 style="text-align:center; background:#FFFFFF; border-bottom:1px solid #999; padding:0px;" | [[Template:AI Infobox|[Source]]] | | colspan=2 style="text-align:center; background:#FFFFFF; border-bottom:1px solid #999; padding:0px;" | [[Template:AI Infobox|[Source]]] | ||
|} | |}<noinclude> | ||
==Usage== | ==Usage== | ||
Copy and paste the following into the article and fill in the fields. | Copy and paste the following into the article and fill in the fields. |
Revision as of 18:55, March 19, 2009
{{{image}}} | |
{{{name}}} | |
Biographical information | |
---|---|
Service number |
{{{number}}} |
Began service |
{{{began}}} |
Ended service |
{{{ended}}} |
Physical description | |
Gender |
{{{gender}}} |
Description |
{{{description}}} |
Normal color |
{{{color}}} |
Political information and functions | |
Affiliation |
{{{affiliation}}} |
Primary function |
{{{function}}} |
Notable battles |
{{{battles}}} |
[Source] |
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.