Template:AI infobox: Difference between revisions
From Halopedia, the Halo wiki
m (Reverted edits by 75.155.173.70 (Talk) to last version by Odie5533) |
(Template style is outstandingly ugly and out of the ordinary compared to others.) |
||
Line 1: | Line 1: | ||
{| border=0 cellspacing=0 style="float:right; clear:right; width:250px; background:#f0f0f0; border-collapse:collapse; border:1px solid #999999; font-size: | {| 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<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<includeonly>|</includeonly>}}}|{{{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<includeonly>|</includeonly>}}}{{{began|}}}{{{ended|}}}| | {{#if:{{{number<includeonly>|</includeonly>}}}{{{began|}}}{{{ended|}}}| | ||
! colspan=2 style="text-align:left; background:# | ! colspan=2 style="text-align:left; background:#5260E0; border-bottom:1px solid #999;" {{!}} '''Biographical information'''}} | ||
|-style=" | |-style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #999;" | ||
{{#if:{{{number<includeonly>|</includeonly>}}}|{{!}}{{!}}Service number{{!}}{{!}} | {{#if:{{{number<includeonly>|</includeonly>}}}|{{!}}{{!}}Service number{{!}}{{!}} | ||
{{{number}}} }} | {{{number}}} }} | ||
|-style=" | |-style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #999;" | ||
{{#if:{{{began<includeonly>|</includeonly>}}}|{{!}}{{!}}Began service{{!}}{{!}} | {{#if:{{{began<includeonly>|</includeonly>}}}|{{!}}{{!}}Began service{{!}}{{!}} | ||
{{{began}}} }} | {{{began}}} }} | ||
|-style=" | |-style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #999;" | ||
{{#if:{{{ended<includeonly>|</includeonly>}}}|{{!}}{{!}}Ended service{{!}}{{!}} | {{#if:{{{ended<includeonly>|</includeonly>}}}|{{!}}{{!}}Ended service{{!}}{{!}} | ||
{{{ended}}} }} | {{{ended}}} }} | ||
|- | |- | ||
{{#if:{{{gender<includeonly>|</includeonly>}}}{{{description|}}}{{{color|}}}| | {{#if:{{{gender<includeonly>|</includeonly>}}}{{{description|}}}{{{color|}}}| | ||
! colspan=2 style="text-align:left; background:# | ! colspan=2 style="text-align:left; background:#5260E0; border-bottom:1px solid #999;" {{!}} '''Physical description'''}} | ||
|-style=" | |-style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #999;" | ||
{{#if:{{{gender<includeonly>|</includeonly>}}}|{{!}}{{!}}Gender{{!}}{{!}} | {{#if:{{{gender<includeonly>|</includeonly>}}}|{{!}}{{!}}Gender{{!}}{{!}} | ||
{{{gender}}} }} | {{{gender}}} }} | ||
|-style=" | |-style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #999;" | ||
{{#if:{{{description<includeonly>|</includeonly>}}}|{{!}}{{!}}Description{{!}}{{!}} | {{#if:{{{description<includeonly>|</includeonly>}}}|{{!}}{{!}}Description{{!}}{{!}} | ||
{{{description}}} }} | {{{description}}} }} | ||
|-style=" | |-style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #999;" | ||
{{#if:{{{color<includeonly>|</includeonly>}}}|{{!}}{{!}}Normal color{{!}}{{!}} | {{#if:{{{color<includeonly>|</includeonly>}}}|{{!}}{{!}}Normal color{{!}}{{!}} | ||
{{{color}}} }} | {{{color}}} }} | ||
|- | |- | ||
{{#if:{{{affiliation<includeonly>|</includeonly>}}}{{{function|}}}{{{battles|}}}| | {{#if:{{{affiliation<includeonly>|</includeonly>}}}{{{function|}}}{{{battles|}}}| | ||
! colspan=2 style="text-align:left; background:# | ! colspan=2 style="text-align:left; background:#5260E0; border-bottom:1px solid #999;" {{!}} '''Political information and functions'''}} | ||
|-style=" | |-style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #999;" | ||
{{#if:{{{affiliation<includeonly>|</includeonly>}}}|{{!}}{{!}}Affiliation{{!}}{{!}} | {{#if:{{{affiliation<includeonly>|</includeonly>}}}|{{!}}{{!}}Affiliation{{!}}{{!}} | ||
{{{affiliation}}} }} | {{{affiliation}}} }} | ||
|-style=" | |-style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #999;" | ||
{{#if:{{{function<includeonly>|</includeonly>}}}|{{!}}{{!}}Primary function{{!}}{{!}} | {{#if:{{{function<includeonly>|</includeonly>}}}|{{!}}{{!}}Primary function{{!}}{{!}} | ||
{{{function}}} }} | {{{function}}} }} | ||
|-style=" | |-style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #999;" | ||
{{#if:{{{battles<includeonly>|</includeonly>}}}|{{!}}{{!}}Notable battles{{!}}{{!}} | {{#if:{{{battles<includeonly>|</includeonly>}}}|{{!}}{{!}}Notable battles{{!}}{{!}} | ||
{{{battles}}} }} | {{{battles}}} }} |
Revision as of 09:35, October 20, 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] |
For a list of pages that use this template, click here.
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.