Template:AI infobox: Difference between revisions

From Halopedia, the Halo wiki

No edit summary
m (Text replacement - "dummy edit" to "Category:Infobox templates")
Tag: Manual revert
 
(115 intermediate revisions by 15 users not shown)
Line 1: Line 1:
<includeonly>{| 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;"
{{Infobox|start}}
|-
{{Infobox|title|name={{{name|}}}}}
|colspan=2 style="text-align:center; margin: 0px; padding:0px;" |{{#if:{{{image|}}}|{{{image}}}}}
{{Infobox|media|content={{{image|}}}|caption={{{caption|}}}}}
|-
 
|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}}}}'''
{{Infobox|section|title={{{section1-title|Biographical information}}}|entries=
|-
{{Infobox|entry|title={{{activationsite-title|Activation site}}}|content={{{activationsite|}}}}}
{{#if:{{{number|}}}{{{began|}}}{{{ended|}}}|
{{Infobox|entry|title={{{began-title|Began service}}}|content={{{began|}}}}}
! colspan=2 style="text-align:left; background:#5260E0; border-bottom:1px solid #999;" {{!}} '''Biographical information'''}}
{{Infobox|entry|title={{{ended-title|Ended service}}}|content={{{ended|}}} {{{aged|{{Infobox/aged|{{{began|}}}|{{{ended|}}}}}}}}}}
|-style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #999;"
{{Infobox|entry|title={{{gender-title|Gender}}}|content={{{gender|}}}}}
{{#if:{{{number|}}}|{{!}}{{!}}Service number{{!}}{{!}}
{{Infobox|entry|title={{{description-title|Description}}}|content={{{description|}}}}}
{{{number}}} }}
{{Infobox|entry|title={{{color-title|Color(s)}}}|content={{{color|}}}}}
|-style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #999;"
}}
{{#if:{{{began|}}}|{{!}}{{!}}Began service{{!}}{{!}}
 
{{{began}}} }}
{{Infobox|section|title={{{section2-title|Political and military information}}}|entries=
|-style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #999;"
{{Infobox|entry|title={{{affiliation-title|Affiliation}}}|content={{{affiliation|}}}}}
{{#if:{{{ended|}}}|{{!}}{{!}}Ended service{{!}}{{!}}
{{Infobox|entry|title={{{function-title|Functionality}}}|content={{{function|}}}}}
{{{ended}}} }}
{{Infobox|entry|title={{{number-title|[[AI serial number|Service number]]}}}|content={{{number|}}}}}
|-
{{Infobox|entry|title={{{notable-title|Notable info}}}|content={{{notable|}}}}}
{{#if:{{{gender|}}}{{{description|}}}{{{color|}}}|
{{Infobox|entry|title={{{misc-title|Miscellaneous}}}|content={{{misc|}}}}}
! 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{{!}}{{!}}
{{Infobox|end}}<includeonly>{{Infobox/pagetitle|name={{{pagename|{{{name|}}}}}}|label={{{pagelabel|Character}}}}}</includeonly><noinclude>{{clear}}
{{{gender}}} }}
==Usage instructions==
|-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]]]
|}
</includeonly>
<noinclude>
==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.
<pre>
<pre>
{{AI Infobox
{{AI infobox
| image=
|name=
| name=
|image=
| number=
|activationsite=
| began=
|began=
| ended=
|ended=
| gender=
|gender=
| description=
|description=
| color=
|color=
| affiliation=
|affiliation=
| function=
|number= <exclusive for UNSC AI>*
| battles=
|function=
|notable=
}}
}}
</pre>
</pre>


All fields are optional.
[[Category:Infobox templates]]</noinclude>
 
==Source==
<pre>
{| 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]]]
|}
</pre>
</noinclude>
<noinclude>
[[Category:Templates]]
</noinclude>

Latest revision as of 10:11, June 14, 2024

AI infobox
 

Usage instructions

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

{{AI infobox
|name=
|image=
|activationsite=
|began=
|ended=
|gender=
|description=
|color=
|affiliation=
|number= <exclusive for UNSC AI>*
|function=
|notable=
}}