Template:Base infobox: Difference between revisions
From Halopedia, the Halo wiki
m (Text replacement - "\| class="infoboxfooter" colspan="2" \| ↵\|}" to "{{Infobox|end}}") |
m (Text replacement - "{{#if:({{{[^\|}\n]+\|}}})\|↵{{!}} class="infoboxlabel" style="[^\n"]+" {{!}}↵([^\n]+):↵{{!}} class="infoboxcell" style="[^\n"]+" {{!}}↵{{{[^\|}\n]+\|?}}}↵}}↵\|-" to " {{Infobox|entry|title=$2|content=$1}}") |
||
Line 10: | Line 10: | ||
}} | }} | ||
|- | |- | ||
{{ | {{Infobox|entry|title={{{location-title|Location}}}|content={{{location|}}}}} | ||
{{Infobox|entry|title={{{purpose-title|Purpose}}}|content={{{purpose|}}}}} | |||
{{{location-title|Location}}} | {{Infobox|entry|title={{{length-title|Length}}}|content={{{length|}}}}} | ||
{{Infobox|entry|title={{{width-title|Width}}}|content={{{width|}}}}} | |||
{{Infobox|entry|title={{{height-title|Height}}}|content={{{height|}}}}} | |||
{{Infobox|entry|title={{{surface-title|Area}}}|content={{{surface|}}}}} | |||
{{Infobox|entry|title={{{armament-title|Armament}}}|content={{{armament|}}}}} | |||
{{ | {{Infobox|entry|title={{{complement-title|Complement}}}|content={{{complement|}}}}} | ||
{{{purpose-title|Purpose}}} | |||
{{ | |||
{{{length-title|Length}}} | |||
{{ | |||
{{{width-title|Width}}} | |||
{{ | |||
{{{height-title|Height}}} | |||
{{ | |||
{{{surface-title|Area}}} | |||
{{ | |||
{{{armament-title|Armament}}} | |||
{{ | |||
{{{complement-title|Complement}}} | |||
{{#if:{{{hideb|}}}|| | {{#if:{{{hideb|}}}|| | ||
! class="infoboxsubheading" colspan="2" style="color:{{{color2|#000}}}; background:{{{sectionBG|#E6D3A3}}}" {{!}} {{{section1-title|Historical information}}} | ! class="infoboxsubheading" colspan="2" style="color:{{{color2|#000}}}; background:{{{sectionBG|#E6D3A3}}}" {{!}} {{{section1-title|Historical information}}} | ||
}} | }} | ||
|- | |- | ||
{{ | {{Infobox|entry|title={{{built-title|Built}}}|content={{{built|}}}}} | ||
{{Infobox|entry|title={{{usage-title|In use}}}|content={{{usage|}}}}} | |||
{{{built-title|Built}}} | {{Infobox|entry|title={{{destroyed-title|Destroyed}}}|content={{{destroyed|}}}}} | ||
{{Infobox|entry|title={{{controlledby-title|Controlled by}}}|content={{{controlledby|}}}}} | |||
{{ | {{Infobox|entry|title={{{commander-title|Known commander(s)}}}|content={{{commander|}}}}} | ||
{{Infobox|entry|title={{{notable-title|Notable info}}}|content={{{notable|}}}}} | |||
| | |||
{{{usage-title|In use}}} | |||
}} | |||
{{{destroyed-title|Destroyed}}} | |||
}} | |||
{{{controlledby-title|Controlled by}}} | |||
{{ | |||
| | |||
{{{commander-title|Known commander(s)}}} | |||
}} | |||
{{{notable-title|Notable info}}} | |||
}} | |||
{{Infobox|end}}<noinclude>{{clear}} | {{Infobox|end}}<noinclude>{{clear}} | ||
==Usage== | ==Usage== |
Revision as of 17:01, August 28, 2023
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=