Template:AI infobox: Difference between revisions
From Halopedia, the Halo wiki
m (Text replacement - "<div style="clear:both">{{{caption}}}</div>" to "<div>{{{caption}}}</div>") |
m (Text replacement - "text-align: *center; " to "") |
||
Line 1: | Line 1: | ||
{| class="infobox" cellspacing="0" style="width:300px; color:{{{color1|#000}}}; background:{{{BG|#555}}}" | {| class="infobox" cellspacing="0" style="width:300px; color:{{{color1|#000}}}; background:{{{BG|#555}}}" | ||
{{!}}- | {{!}}- | ||
! style="background:{{{nameBG|transparent}}} | ! style="background:{{{nameBG|transparent}}}; font-size:120%; color:#FFFFFF" colspan="2" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}} | ||
{{!}}- | {{!}}- | ||
{{#if:{{{image|}}}| | {{#if:{{{image|}}}| | ||
! style="background:{{{imageBG|#f0f0f0}}} | ! style="background:{{{imageBG|#f0f0f0}}}; border-bottom:1px solid {{{lineBG|#999999}}}" colspan="2" {{!}} {{{image|}}} {{#if:{{{caption|}}}|<div>{{{caption}}}</div>}} | ||
}} | }} | ||
{{!}}- | {{!}}- | ||
{{#if:{{{hidea|}}}|{{!}}-|{{!}}- | {{#if:{{{hidea|}}}|{{!}}-|{{!}}- | ||
! colspan="2" style="font-size:90%; color:{{{color2|#fff}}} | ! colspan="2" style="font-size:90%; color:{{{color2|#fff}}}; background:{{{sectionBG|#555}}}" {{!}} {{{section1-title|Biographical information}}}}} | ||
{{!}}- | {{!}}- | ||
{{#if:{{{activationsite|}}}| | {{#if:{{{activationsite|}}}| | ||
Line 47: | Line 47: | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{hideb|}}}|{{!}}-|{{!}}- | {{#if:{{{hideb|}}}|{{!}}-|{{!}}- | ||
! colspan="2" style="font-size:90%; color:{{{color2|#fff}}} | ! colspan="2" style="font-size:90%; color:{{{color2|#fff}}}; background:{{{sectionBG|#555}}}" {{!}} {{{section2-title|Political and military information}}}}} | ||
{{!}}- | {{!}}- | ||
{{#if:{{{affiliation|}}}| | {{#if:{{{affiliation|}}}| | ||
Line 80: | Line 80: | ||
{{!}}-}} | {{!}}-}} | ||
{{!}}-}} | {{!}}-}} | ||
| colspan="2" style=" | | colspan="2" style="background:{{{BG|transparent}}}; padding:0; font-size:10px; line-height:10px" | | ||
|}<includeonly>{{pagetitle|{{{pagename|{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}}}} - {{{pagelabel|Character {{#ifeq:{{SUBPAGENAME}}|Silver|(Silver Timeline)}}}}}}}</includeonly><noinclude> | |}<includeonly>{{pagetitle|{{{pagename|{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}}}} - {{{pagelabel|Character {{#ifeq:{{SUBPAGENAME}}|Silver|(Silver Timeline)}}}}}}}</includeonly><noinclude> | ||
==Usage== | ==Usage== |
Revision as of 10:50, September 15, 2022
AI infobox | |
---|---|
Biographical information | |
Political and military information | |
Usage
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= }}
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=