Template:AI infobox: Difference between revisions

From Halopedia, the Halo wiki

No edit summary
mNo edit summary
Line 1: Line 1:
{| class="infobox" cellspacing="0" cellpadding="0" border="0" style="float:right; clear:right; width:260px; margin:6px; padding:2px; border-radius: 0 0 .7em .7em; -moz-border-radius: 0 0 .7em .7em; -webkit-border-radius: 0 0 .7em .7em; -ms-border-radius: 0 0 .7em .7em; -o-border-radius: 0 0 .7em .7em; color:{{{color1|inherit}}}; background:{{{BG|#0F1C8A}}};"
{| class="infobox" cellspacing="0" style="float:right; clear:right; width:300px; margin:10px; margin-right:0px; padding:2px; background:{{{BG|#0F1C8A}}}; border-radius: 0 0 .7em .7em; color:{{{color1|inherit}}};"
{{!}}-
{{!}}-
! style="background:{{{nameBG|transparent}}}; text-align:center; font-size:120%; color:#FFFFFF;" colspan="2" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}
! style="background:{{{nameBG|transparent}}}; text-align:center; font-size:120%; color:#FFFFFF;" colspan="2" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}
Line 8: Line 8:
{{!}}-
{{!}}-
{{#if:{{{hidea|}}}|{{!}}-|{{!}}-
{{#if:{{{hidea|}}}|{{!}}-|{{!}}-
! class="infoboxsubheading" colspan="2" style="font-size:90%; color:{{{color2|#fff}}}; text-align:center; background:{{{sectionBG|#5260E0}}}" {{!}} {{{section1-title|Biographical information}}}}}
! class="infoboxsubheading" colspan="2" style="font-size:110%; color:{{{color2|#fff}}}; text-align:center; background:{{{sectionBG|#5260E0}}}" {{!}} {{{section1-title|Biographical information}}}}}
{{!}}-
{{!}}-
{{#if:{{{began|}}}|
{{#if:{{{began|}}}|
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; text-align:left; font-size:100%; padding: 0 0 0 2px; line-height:16px;" {{!}}
'''{{{began-title|Began service}}}''':
'''{{{began-title|Began service}}}''':
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; text-align:left; font-size:100%; padding: 0 0 0 2px; line-height:16px;" {{!}}
{{{began|}}}
{{{began|}}}
{{!}}-}}
{{!}}-}}
{{#if:{{{ended|}}}|
{{#if:{{{ended|}}}|
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; text-align:left; font-size:100%; padding: 0 0 0 2px; line-height:16px;" {{!}}
'''{{{ended-title|Ended service}}}''':
'''{{{ended-title|Ended service}}}''':
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; text-align:left; font-size:100%; padding: 0 0 0 2px; line-height:16px;" {{!}}
{{{ended|}}}
{{{ended|}}}
{{!}}-}}
{{!}}-}}
{{#if:{{{gender|}}}|
{{#if:{{{gender|}}}|
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; text-align:left; font-size:100%; padding: 0 0 0 2px; line-height:16px;" {{!}}
'''{{{gender-title|Gender}}}''':
'''{{{gender-title|Gender}}}''':
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; text-align:left; font-size:100%; padding: 0 0 0 2px; line-height:16px;" {{!}}
{{{gender|}}}
{{{gender|}}}
{{!}}-}}
{{!}}-}}
{{#if:{{{description|}}}|
{{#if:{{{description|}}}|
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; text-align:left; font-size:100%; padding: 0 0 0 2px; line-height:16px;" {{!}}
'''{{{description-title|Description}}}''':
'''{{{description-title|Description}}}''':
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; text-align:left; font-size:100%; padding: 0 0 0 2px; line-height:16px;" {{!}}
{{{description|}}}
{{{description|}}}
{{!}}-}}
{{!}}-}}
{{#if:{{{color|}}}|
{{#if:{{{color|}}}|
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; text-align:left; font-size:100%; padding: 0 0 0 2px; line-height:16px;" {{!}}
'''{{{color-title|Color expression(s)}}}''':
'''{{{color-title|Color expression(s)}}}''':
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; text-align:left; font-size:100%; padding: 0 0 0 2px; line-height:16px;" {{!}}
{{{color|}}}
{{{color|}}}
{{!}}-}}
{{!}}-}}
{{#if:{{{hideb|}}}|{{!}}-|{{!}}-
{{#if:{{{hideb|}}}|{{!}}-|{{!}}-
! class="infoboxsubheading" colspan="2" style="font-size:90%; color:{{{color2|#fff}}}; text-align:center; background:{{{sectionBG|#5260E0}}}" {{!}} {{{section2-title|Political and military information}}}}}
! class="infoboxsubheading" colspan="2" style="font-size:110%; color:{{{color2|#fff}}}; text-align:center; background:{{{sectionBG|#5260E0}}}" {{!}} {{{section2-title|Political and military information}}}}}
{{!}}-
{{!}}-
{{#if:{{{affiliation|}}}|
{{#if:{{{affiliation|}}}|
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; text-align:left; font-size:100%; padding: 0 0 0 2px; line-height:16px;" {{!}}
'''{{{affiliation-title|Affiliation}}}:'''
'''{{{affiliation-title|Affiliation}}}:'''
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; text-align:left; font-size:100%; padding: 0 0 0 2px; line-height:16px;" {{!}}
{{{affiliation|}}}
{{{affiliation|}}}
{{!}}-}}
{{!}}-}}
{{#if:{{{function|}}}|
{{#if:{{{function|}}}|
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; text-align:left; font-size:100%; padding: 0 0 0 2px; line-height:16px;" {{!}}
'''{{{function-title|Functionality}}}''':
'''{{{function-title|Functionality}}}''':
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; text-align:left; font-size:100%; padding: 0 0 0 2px; line-height:16px;" {{!}}
{{{function|}}}
{{{function|}}}
{{!}}-}}
{{!}}-}}
{{#if:{{{number|}}}|
{{#if:{{{number|}}}|
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; text-align:left; font-size:100%; padding: 0 0 0 2px; line-height:16px;" {{!}}
'''{{{number-title|[[Service number|Service number]]}}}:'''
'''{{{number-title|[[Service number|Service number]]}}}:'''
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; text-align:left; font-size:100%; padding: 0 0 0 2px; line-height:16px;" {{!}}
{{{number|}}}
{{{number|}}}
{{!}}-}}
{{!}}-}}
{{#if:{{{notable|}}}|
{{#if:{{{notable|}}}|
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; text-align:left; font-size:100%; padding: 0 0 0 2px; line-height:16px;" {{!}}
'''{{{notable-title|Notable info}}}:'''
'''{{{notable-title|Notable info}}}:'''
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; text-align:left; font-size:100%; padding: 0 0 0 2px; line-height:16px;" {{!}}
{{{notable|}}}
{{{notable|}}}
{{!}}-}}
{{!}}-}}
{{#if:{{{misc|}}}|
{{#if:{{{misc|}}}|
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; text-align:left; font-size:100%; padding: 0 0 0 2px; line-height:16px;" {{!}}
'''{{{misc-title|Miscellaneous}}}:'''
'''{{{misc-title|Miscellaneous}}}:'''
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; text-align:left; font-size:100%; padding: 0 0 0 2px; line-height:16px;" {{!}}
{{{misc|}}}
{{{misc|}}}
{{!}}-}}
{{!}}-}}
{{!}}-}}
{{!}}-}}
| colspan=2 style="text-align:center; background:{{{BG|transparent}}}; padding:0px; font-size:10px; line-height:10px;" | 
| colspan=2 style="text-align:center; background:{{{BG|transparent}}}; padding:0px; font-size:1px; line-height:10px;" | 
|}<noinclude>
|}<noinclude>
==Usage==
==Usage==

Revision as of 12:23, July 20, 2014

AI infobox
Biographical information
Political and military information
 

Usage

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

{{AI infobox
|image=
|began=
|ended=
|gender=
|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=