Template:Base infobox: Difference between revisions
From Halopedia, the Halo wiki
mNo edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{| | {| cellspacing="0" cellpadding="0" border="0" style="float:right; clear:right; width:260px; margin:0 0 5px 10px; padding:2px; background:{{{BG|#D9B26F}}}; border-radius: 0 0 .7em .7em; 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}}}} | ||
Line 8: | Line 8: | ||
{{!}}- | {{!}}- | ||
{{#if:{{{hidea|}}}|{{!}}-|{{!}}- | {{#if:{{{hidea|}}}|{{!}}-|{{!}}- | ||
! | ! colspan="2" style="font-size:90%; color:{{{color2|#000}}}; text-align:center; background:{{{sectionBG|#E6D3A3}}}" {{!}} {{{section2-title|Facility information}}}}} | ||
{{!}}- | {{!}}- | ||
{{#if:{{{location|}}}| | {{#if:{{{location|}}}| | ||
{{!}} style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px; width:100px;" {{!}} | {{!}} class="infoboxlabel" style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px; width:100px;" {{!}} | ||
'''{{{location-title|Location}}}''': | '''{{{location-title|Location}}}''': | ||
{{!}} style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}} | {{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}} | ||
{{{location|}}} | {{{location|}}} | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{purpose|}}}| | {{#if:{{{purpose|}}}| | ||
{{!}} style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px; width:100px;" {{!}} | {{!}} class="infoboxlabel" style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px; width:100px;" {{!}} | ||
'''{{{purpose-title|Purpose}}}''': | '''{{{purpose-title|Purpose}}}''': | ||
{{!}} style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}} | {{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}} | ||
{{{purpose|}}} | {{{purpose|}}} | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{length|}}}| | {{#if:{{{length|}}}| | ||
{{!}} style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px; width:100px;" {{!}} | {{!}} class="infoboxlabel" style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px; width:100px;" {{!}} | ||
'''{{{length-title|Length}}}''': | '''{{{length-title|Length}}}''': | ||
{{!}} style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}} | {{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}} | ||
{{{lenght|}}} | {{{lenght|}}} | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{width|}}}| | {{#if:{{{width|}}}| | ||
{{!}} style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px; width:100px;" {{!}} | {{!}} class="infoboxlabel" style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px; width:100px;" {{!}} | ||
'''{{{width-title|Width}}}''': | '''{{{width-title|Width}}}''': | ||
{{!}} style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}} | {{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}} | ||
{{{width|}}} | {{{width|}}} | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{height|}}}| | {{#if:{{{height|}}}| | ||
{{!}} style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px; width:100px;" {{!}} | {{!}} class="infoboxlabel" style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px; width:100px;" {{!}} | ||
'''{{{height-title|Height}}}''': | '''{{{height-title|Height}}}''': | ||
{{!}} style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}} | {{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}} | ||
{{{height|}}} | {{{height|}}} | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{surface|}}}| | {{#if:{{{surface|}}}| | ||
{{!}} style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px; width:100px;" {{!}} | {{!}} class="infoboxlabel" style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px; width:100px;" {{!}} | ||
'''{{{surface-title|Area}}}''': | '''{{{surface-title|Area}}}''': | ||
{{!}} style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}} | {{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}} | ||
{{{surface|}}} | {{{surface|}}} | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{armament|}}}| | {{#if:{{{armament|}}}| | ||
{{!}} style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px; width:100px;" {{!}} | {{!}} class="infoboxlabel" style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px; width:100px;" {{!}} | ||
'''{{{armament-title|Armament}}}''': | '''{{{armament-title|Armament}}}''': | ||
{{!}} style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}} | {{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}} | ||
{{{armament|}}} | {{{armament|}}} | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{complement|}}}| | {{#if:{{{complement|}}}| | ||
{{!}} style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px; width:100px;" {{!}} | {{!}} class="infoboxlabel" style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px; width:100px;" {{!}} | ||
'''{{{complement-title|Complement}}}''': | '''{{{complement-title|Complement}}}''': | ||
{{!}} style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}} | {{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}} | ||
{{{complement|}}} | {{{complement|}}} | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{hideb|}}}|{{!}}-|{{!}}- | {{#if:{{{hideb|}}}|{{!}}-|{{!}}- | ||
! | ! colspan="2" style="font-size:90%; color:{{{color2|#000}}}; text-align:center; background:{{{sectionBG|#E6D3A3}}}" {{!}} {{{section1-title|Historical information}}}}} | ||
{{!}}- | {{!}}- | ||
{{#if:{{{built|}}}| | {{#if:{{{built|}}}| | ||
{{!}} style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px; width:100px;" {{!}} | {{!}} class="infoboxlabel" style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px; width:100px;" {{!}} | ||
'''{{{built-title|Built}}}''': | '''{{{built-title|Built}}}''': | ||
{{!}} style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}} | {{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}} | ||
{{{built|}}} | {{{built|}}} | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{destroyed|}}}| | {{#if:{{{destroyed|}}}| | ||
{{!}} style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px; width:100px;" {{!}} | {{!}} class="infoboxlabel" style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px; width:100px;" {{!}} | ||
'''{{{destroyed-title|Destroyed}}}''': | '''{{{destroyed-title|Destroyed}}}''': | ||
{{!}} style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}} | {{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}} | ||
{{{destroyed|}}} | {{{destroyed|}}} | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{usage|}}}| | {{#if:{{{usage|}}}| | ||
{{!}} style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px; width:100px;" {{!}} | {{!}} class="infoboxlabel" style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px; width:100px;" {{!}} | ||
'''{{{usage-title|In use}}}''': | '''{{{usage-title|In use}}}''': | ||
{{!}} style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}} | {{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}} | ||
{{{usage|}}} | {{{usage|}}} | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{controlledby|}}}| | {{#if:{{{controlledby|}}}| | ||
{{!}} style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px; width:100px;" {{!}} | {{!}} class="infoboxlabel" style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px; width:100px;" {{!}} | ||
'''{{{controlledby-title|Controlled by}}}''': | '''{{{controlledby-title|Controlled by}}}''': | ||
{{!}} style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}} | {{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}} | ||
{{{controlledby|}}} | {{{controlledby|}}} | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{commander|}}}| | {{#if:{{{commander|}}}| | ||
{{!}} style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px; width:100px;" {{!}} | {{!}} class="infoboxlabel" style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px; width:100px;" {{!}} | ||
'''{{{commander-title|Known commander(s)}}}''': | '''{{{commander-title|Known commander(s)}}}''': | ||
{{!}} style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}} | {{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}} | ||
{{{commander|}}} | {{{commander|}}} | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{notable|}}}| | {{#if:{{{notable|}}}| | ||
{{!}} style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px; width:100px;" {{!}} | {{!}} class="infoboxlabel" style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px; width:100px;" {{!}} | ||
'''{{{notable-title|Notable info}}}''': | '''{{{notable-title|Notable info}}}''': | ||
{{!}} style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}} | {{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}} | ||
{{{notable|}}} | {{{notable|}}} | ||
{{!}}-}} | {{!}}-}} |
Revision as of 11:17, December 12, 2018
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= |destroyed= |usage= |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=