Template:AI infobox: Difference between revisions

From Halopedia, the Halo wiki

m (Text replacement - " border="0"" to "")
m (Text replacement - "dummy edit" to "Category:Infobox templates")
Tag: Manual revert
 
(50 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{| class="infobox" cellspacing="0" cellpadding="0" style="width:300px; color:{{{color1|#000}}}; background:{{{BG|#555}}}"
{{Infobox|start}}
{{!}}-
{{Infobox|title|name={{{name|}}}}}
! style="background:{{{nameBG|transparent}}}; text-align:center; font-size:120%; color:#FFFFFF" colspan="2" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}
{{Infobox|media|content={{{image|}}}|caption={{{caption|}}}}}
{{!}}-
 
{{#if:{{{image|}}}|
{{Infobox|section|title={{{section1-title|Biographical information}}}|entries=
! style="background:{{{imageBG|#f0f0f0}}}; text-align:center; border-bottom:1px solid {{{lineBG|#999999}}}" colspan="2" {{!}} {{{image|}}} {{#if:{{{caption|}}}|<div style="clear:both">{{{caption}}}</div>}}
{{Infobox|entry|title={{{activationsite-title|Activation site}}}|content={{{activationsite|}}}}}
{{Infobox|entry|title={{{began-title|Began service}}}|content={{{began|}}}}}
{{Infobox|entry|title={{{ended-title|Ended service}}}|content={{{ended|}}} {{{aged|{{Infobox/aged|{{{began|}}}|{{{ended|}}}}}}}}}}
{{Infobox|entry|title={{{gender-title|Gender}}}|content={{{gender|}}}}}
{{Infobox|entry|title={{{description-title|Description}}}|content={{{description|}}}}}
{{Infobox|entry|title={{{color-title|Color(s)}}}|content={{{color|}}}}}
}}
}}
{{!}}-
 
{{#if:{{{hidea|}}}|{{!}}-|{{!}}-
{{Infobox|section|title={{{section2-title|Political and military information}}}|entries=
! colspan="2" style="font-size:90%; color:{{{color2|#fff}}}; text-align:center; background:{{{sectionBG|#555}}}" {{!}} {{{section1-title|Biographical information}}}}}
{{Infobox|entry|title={{{affiliation-title|Affiliation}}}|content={{{affiliation|}}}}}
{{!}}-
{{Infobox|entry|title={{{function-title|Functionality}}}|content={{{function|}}}}}
{{#if:{{{activationsite|}}}|
{{Infobox|entry|title={{{number-title|[[AI serial number|Service number]]}}}|content={{{number|}}}}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}}" {{!}}
{{Infobox|entry|title={{{notable-title|Notable info}}}|content={{{notable|}}}}}
'''{{{activationsite-title|Activation site}}}''':
{{Infobox|entry|title={{{misc-title|Miscellaneous}}}|content={{{misc|}}}}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}}" {{!}}
}}
{{{activationsite|}}}
 
{{!}}-}}
{{Infobox|end}}<includeonly>{{Infobox/pagetitle|name={{{pagename|{{{name|}}}}}}|label={{{pagelabel|Character}}}}}</includeonly><noinclude>{{clear}}
{{#if:{{{began|}}}|
==Usage instructions==
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}}" {{!}}
'''{{{began-title|Began service}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}}" {{!}}
{{{began|}}}
{{!}}-}}
{{#if:{{{ended|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}}" {{!}}
'''{{{ended-title|Ended service}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}}" {{!}}
{{{ended|}}}
{{!}}-}}
{{#if:{{{gender|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}}" {{!}}
'''{{{gender-title|Gender}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}}" {{!}}
{{{gender|}}}
{{!}}-}}
{{#if:{{{description|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}}" {{!}}
'''{{{description-title|Description}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}}" {{!}}
{{{description|}}}
{{!}}-}}
{{#if:{{{color|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}}" {{!}}
'''{{{color-title|Color(s)}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}}" {{!}}
{{{color|}}}
{{!}}-}}
{{#if:{{{hideb|}}}|{{!}}-|{{!}}-
! colspan="2" style="font-size:90%; color:{{{color2|#fff}}}; text-align:center; background:{{{sectionBG|#555}}}" {{!}} {{{section2-title|Political and military information}}}}}
{{!}}-
{{#if:{{{affiliation|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}}" {{!}}
'''{{{affiliation-title|Affiliation}}}:'''
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}}" {{!}}
{{{affiliation|}}}
{{!}}-}}
{{#if:{{{function|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}}" {{!}}
'''{{{function-title|Functionality}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}}" {{!}}
{{{function|}}}
{{!}}-}}
{{#if:{{{number|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}}" {{!}}
'''{{{number-title|[[AI serial number|Service number]]}}}:'''
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}}" {{!}}
{{{number|}}}
{{!}}-}}
{{#if:{{{notable|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}}" {{!}}
'''{{{notable-title|Notable info}}}:'''
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}}" {{!}}
{{{notable|}}}
{{!}}-}}
{{#if:{{{misc|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}}" {{!}}
'''{{{misc-title|Miscellaneous}}}:'''
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F2F3F4}}}; border-color:{{{lineBG|#999999}}}" {{!}}
{{{misc|}}}
{{!}}-}}
{{!}}-}}
| colspan=2 style="text-align:center; background:{{{BG|transparent}}}; padding:0; font-size:10px; line-height:10px" | &nbsp;
|}<includeonly>{{pagetitle|{{{pagename|{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}}}} - {{{pagelabel|Character {{#ifeq:{{SUBPAGENAME}}|Silver|(Silver Timeline)}}}}}}}</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
Line 99: Line 39:
|notable=
|notable=
}}
}}
</pre>
==Custom parameters==
The following allows you to alter the title of the sub-sections:
<pre>
|imageBG=
|nameBG=
|sectionBG=
|fieldBG=
|titleBG=
|color1=
|color2=
|section1-title=
|section2-title=
</pre>
==Display parameters==
The following allows you to hide the section header
*hidea (hides Bio section header)
*hideb (hides Politic/Military section header)
<pre>
|hidea=
|hideb=
</pre>
</pre>


[[Category:Infobox templates]]</noinclude>
[[Category:Infobox 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=
}}