Template:Base infobox: Difference between revisions
From Halopedia, the Halo wiki
m (Text replacement - "}}};"" to "}}}"") |
m (Text replacement - "px;"" to "px"") |
||
Line 11: | Line 11: | ||
{{!}}- | {{!}}- | ||
{{#if:{{{location|}}}| | {{#if:{{{location|}}}| | ||
{{!}} 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}}}" {{!}} | ||
Line 17: | Line 17: | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{purpose|}}}| | {{#if:{{{purpose|}}}| | ||
{{!}} 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}}}" {{!}} | ||
Line 23: | Line 23: | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{length|}}}| | {{#if:{{{length|}}}| | ||
{{!}} 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}}}" {{!}} | ||
Line 29: | Line 29: | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{width|}}}| | {{#if:{{{width|}}}| | ||
{{!}} 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}}}" {{!}} | ||
Line 35: | Line 35: | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{height|}}}| | {{#if:{{{height|}}}| | ||
{{!}} 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}}}" {{!}} | ||
Line 41: | Line 41: | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{surface|}}}| | {{#if:{{{surface|}}}| | ||
{{!}} 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}}}" {{!}} | ||
Line 47: | Line 47: | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{armament|}}}| | {{#if:{{{armament|}}}| | ||
{{!}} 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}}}" {{!}} | ||
Line 53: | Line 53: | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{complement|}}}| | {{#if:{{{complement|}}}| | ||
{{!}} 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}}}" {{!}} | ||
Line 62: | Line 62: | ||
{{!}}- | {{!}}- | ||
{{#if:{{{built|}}}| | {{#if:{{{built|}}}| | ||
{{!}} 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}}}" {{!}} | ||
Line 68: | Line 68: | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{usage|}}}| | {{#if:{{{usage|}}}| | ||
{{!}} 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}}}" {{!}} | ||
Line 74: | Line 74: | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{destroyed|}}}| | {{#if:{{{destroyed|}}}| | ||
{{!}} 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}}}" {{!}} | ||
Line 80: | Line 80: | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{controlledby|}}}| | {{#if:{{{controlledby|}}}| | ||
{{!}} 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}}}" {{!}} | ||
Line 86: | Line 86: | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{commander|}}}| | {{#if:{{{commander|}}}| | ||
{{!}} 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}}}" {{!}} | ||
Line 92: | Line 92: | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{notable|}}}| | {{#if:{{{notable|}}}| | ||
{{!}} 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|}}} | ||
{{!}}-}} | {{!}}-}} | ||
| colspan=2 style="text-align:center; background:{{{BG|transparent}}}; padding:0; font-size:10px; line-height:10px | | colspan=2 style="text-align:center; background:{{{BG|transparent}}}; padding:0; font-size:10px; line-height:10px" | | ||
|}<noinclude>{{clear}} | |}<noinclude>{{clear}} | ||
==Usage== | ==Usage== |
Revision as of 23:20, 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=