Template:Base infobox: Difference between revisions
From Halopedia, the Halo wiki
m (Text replacement - "background:{{{fieldBG\|([^\n}]+)}}}; border-bottom:1px solid {{{lineBG\|([^\n}]+)}}};" to "background:{{{fieldBG|$1}}}; border-color:{{{lineBG|$2}}};") |
m (Text replacement - "}}};"" to "}}}"") |
||
Line 1: | Line 1: | ||
{| class="infobox" cellspacing="0" cellpadding="0" border="0" style="width:260px; background:{{{BG|#D9B26F}}}; color:{{{color1|inherit}}} | {| class="infobox" cellspacing="0" cellpadding="0" border="0" style="width:260px; background:{{{BG|#D9B26F}}}; color:{{{color1|inherit}}}" | ||
{{!}}- | {{!}}- | ||
! style="background:{{{nameBG|transparent}}}; color:{{{color2|#000}}}; text-align:center; font-size:120%;" colspan="2" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}} | ! style="background:{{{nameBG|transparent}}}; color:{{{color2|#000}}}; text-align:center; font-size:120%;" colspan="2" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}} | ||
{{!}}- | {{!}}- | ||
{{#if:{{{image|}}}| | {{#if:{{{image|}}}| | ||
! style="background:{{{imageBG|#F0F0F0}}}; text-align:center; border-bottom:1px solid {{{lineBG|#999999}}} | ! style="background:{{{imageBG|#F0F0F0}}}; text-align:center; border-bottom:1px solid {{{lineBG|#999999}}}" colspan="2" {{!}} {{{image|}}} {{#if:{{{caption|}}}|<div style="clear:both">{{{caption}}}</div>}} | ||
}} | }} | ||
{{!}}- | {{!}}- | ||
Line 13: | Line 13: | ||
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999999}}}; width:100px;" {{!}} | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999999}}}; width:100px;" {{!}} | ||
'''{{{location-title|Location}}}''': | '''{{{location-title|Location}}}''': | ||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999999}}} | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999999}}}" {{!}} | ||
{{{location|}}} | {{{location|}}} | ||
{{!}}-}} | {{!}}-}} | ||
Line 19: | Line 19: | ||
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999999}}}; width:100px;" {{!}} | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999999}}}; width:100px;" {{!}} | ||
'''{{{purpose-title|Purpose}}}''': | '''{{{purpose-title|Purpose}}}''': | ||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999999}}} | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999999}}}" {{!}} | ||
{{{purpose|}}} | {{{purpose|}}} | ||
{{!}}-}} | {{!}}-}} | ||
Line 25: | Line 25: | ||
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999999}}}; width:100px;" {{!}} | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999999}}}; width:100px;" {{!}} | ||
'''{{{length-title|Length}}}''': | '''{{{length-title|Length}}}''': | ||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999999}}} | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999999}}}" {{!}} | ||
{{{length|}}} | {{{length|}}} | ||
{{!}}-}} | {{!}}-}} | ||
Line 31: | Line 31: | ||
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999999}}}; width:100px;" {{!}} | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999999}}}; width:100px;" {{!}} | ||
'''{{{width-title|Width}}}''': | '''{{{width-title|Width}}}''': | ||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999999}}} | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999999}}}" {{!}} | ||
{{{width|}}} | {{{width|}}} | ||
{{!}}-}} | {{!}}-}} | ||
Line 37: | Line 37: | ||
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999999}}}; width:100px;" {{!}} | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999999}}}; width:100px;" {{!}} | ||
'''{{{height-title|Height}}}''': | '''{{{height-title|Height}}}''': | ||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999999}}} | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999999}}}" {{!}} | ||
{{{height|}}} | {{{height|}}} | ||
{{!}}-}} | {{!}}-}} | ||
Line 43: | Line 43: | ||
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999999}}}; width:100px;" {{!}} | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999999}}}; width:100px;" {{!}} | ||
'''{{{surface-title|Area}}}''': | '''{{{surface-title|Area}}}''': | ||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999999}}} | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999999}}}" {{!}} | ||
{{{surface|}}} | {{{surface|}}} | ||
{{!}}-}} | {{!}}-}} | ||
Line 49: | Line 49: | ||
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999999}}}; width:100px;" {{!}} | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999999}}}; width:100px;" {{!}} | ||
'''{{{armament-title|Armament}}}''': | '''{{{armament-title|Armament}}}''': | ||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999999}}} | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999999}}}" {{!}} | ||
{{{armament|}}} | {{{armament|}}} | ||
{{!}}-}} | {{!}}-}} | ||
Line 55: | Line 55: | ||
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999999}}}; width:100px;" {{!}} | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999999}}}; width:100px;" {{!}} | ||
'''{{{complement-title|Complement}}}''': | '''{{{complement-title|Complement}}}''': | ||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999999}}} | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999999}}}" {{!}} | ||
{{{complement|}}} | {{{complement|}}} | ||
{{!}}-}} | {{!}}-}} | ||
Line 64: | Line 64: | ||
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999999}}}; width:100px;" {{!}} | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999999}}}; width:100px;" {{!}} | ||
'''{{{built-title|Built}}}''': | '''{{{built-title|Built}}}''': | ||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999999}}} | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999999}}}" {{!}} | ||
{{{built|}}} | {{{built|}}} | ||
{{!}}-}} | {{!}}-}} | ||
Line 70: | Line 70: | ||
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999999}}}; width:100px;" {{!}} | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999999}}}; width:100px;" {{!}} | ||
'''{{{usage-title|In use}}}''': | '''{{{usage-title|In use}}}''': | ||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999999}}} | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999999}}}" {{!}} | ||
{{{usage|}}} | {{{usage|}}} | ||
{{!}}-}} | {{!}}-}} | ||
Line 76: | Line 76: | ||
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999999}}}; width:100px;" {{!}} | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999999}}}; width:100px;" {{!}} | ||
'''{{{destroyed-title|Destroyed}}}''': | '''{{{destroyed-title|Destroyed}}}''': | ||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999999}}} | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999999}}}" {{!}} | ||
{{{destroyed|}}} | {{{destroyed|}}} | ||
{{!}}-}} | {{!}}-}} | ||
Line 82: | Line 82: | ||
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999999}}}; width:100px;" {{!}} | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999999}}}; width:100px;" {{!}} | ||
'''{{{controlledby-title|Controlled by}}}''': | '''{{{controlledby-title|Controlled by}}}''': | ||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999999}}} | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999999}}}" {{!}} | ||
{{{controlledby|}}} | {{{controlledby|}}} | ||
{{!}}-}} | {{!}}-}} | ||
Line 88: | Line 88: | ||
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999999}}}; width:100px;" {{!}} | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999999}}}; width:100px;" {{!}} | ||
'''{{{commander-title|Known commander(s)}}}''': | '''{{{commander-title|Known commander(s)}}}''': | ||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999999}}} | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999999}}}" {{!}} | ||
{{{commander|}}} | {{{commander|}}} | ||
{{!}}-}} | {{!}}-}} | ||
Line 94: | Line 94: | ||
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999999}}}; width:100px;" {{!}} | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999999}}}; width:100px;" {{!}} | ||
'''{{{notable-title|Notable info}}}''': | '''{{{notable-title|Notable info}}}''': | ||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999999}}} | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999999}}}" {{!}} | ||
{{{notable|}}} | {{{notable|}}} | ||
{{!}}-}} | {{!}}-}} |
Revision as of 23:19, September 14, 2022
Base infobox | |
---|---|
Facility information | |
Historical information | |
Usage
Copy and paste the following into the article and fill in the fields.
{{Base infobox |image= |location= |purpose= |length= |width= |height= |surface= |armament= |complement= |built= |usage= |destroyed= |controlledby= |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 Facility overview section header)
- hideb (hides Historical overview section header)
|hidea= |hideb=