Template:Megastructure infobox: Difference between revisions
From Halopedia, the Halo wiki
m (Text replacement - "<noinclude>↵{{clear}}↵===Usage instructions===" to "<noinclude>{{clear}} ==Usage instructions==") |
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={{{description-title|Description}}}|content={{{description|}}}}} | ||
{{Infobox|entry|title={{{location-title|Location}}}|content={{{location|}}}}} | |||
{{{description-title|Description}}} | {{Infobox|entry|title={{{anchor-title|Gravitational anchor}}}|content={{{anchor|}}}}} | ||
{{ | |||
| | |||
{{{location-title|Location}}} | |||
}} | |||
{{{anchor-title|Gravitational anchor}}} | |||
}} | |||
{{#if:{{{hideb|}}}|| | {{#if:{{{hideb|}}}|| | ||
! class="infoboxsubheading" colspan="2" style="color:{{{color2|#000}}}; background:{{{sectionBG|#8FB2B2}}}" {{!}} {{{section2-title|Operation overview}}} | ! class="infoboxsubheading" colspan="2" style="color:{{{color2|#000}}}; background:{{{sectionBG|#8FB2B2}}}" {{!}} {{{section2-title|Operation overview}}} | ||
}} | }} | ||
|- | |- | ||
{{ | {{Infobox|entry|title={{{type-title|Type}}}|content={{{type|}}}}} | ||
{{Infobox|entry|title={{{function-title|Function}}}|content={{{function|}}}}} | |||
{{{type-title|Type}}} | {{Infobox|entry|title={{{caretaker-title|Attached AI(s)}}}|content={{{caretaker|}}}}} | ||
{{Infobox|entry|title={{{constructed-title|Date of construction}}}|content={{{constructed|}}}}} | |||
{{ | {{Infobox|entry|title={{{destroyed-title|Date of destruction}}}|content={{{destroyed|}}}}} | ||
| | |||
{{{function-title|Function}}} | |||
}} | |||
{{ | |||
{{{caretaker-title|Attached AI(s)}}} | |||
{{ | |||
{{{constructed-title|Date of construction}}} | |||
{{ | |||
| | |||
{{{destroyed-title|Date of destruction}}} | |||
}} | |||
{{#if:{{{hidec|}}}|| | {{#if:{{{hidec|}}}|| | ||
! class="infoboxsubheading" colspan="2" style="color:{{{color2|#000}}}; background:{{{sectionBG|#8FB2B2}}}" {{!}} {{{section3-title|Structural information}}} | ! class="infoboxsubheading" colspan="2" style="color:{{{color2|#000}}}; background:{{{sectionBG|#8FB2B2}}}" {{!}} {{{section3-title|Structural information}}} | ||
}} | }} | ||
|- | |- | ||
{{ | {{Infobox|entry|title={{{diameter-title|Diameter}}}|content={{{diameter|}}}}} | ||
{{Infobox|entry|title={{{surface width-title|Surface width}}}|content={{{surface width|}}}}} | |||
{{{diameter-title|Diameter}}} | {{Infobox|entry|title={{{surface depth-title|Surface depth}}}|content={{{surface depth|}}}}} | ||
{{Infobox|entry|title={{{gravity-title|Gravity}}}|content={{{gravity|}}}}} | |||
{{Infobox|entry|title={{{surface temperature-title|Surface temperature}}}|content={{{surface temperature|}}}}} | |||
}} | {{Infobox|entry|title={{{atmosphere-title|Atmospheric composition}}}|content={{{atmosphere|}}}}} | ||
{{ | |||
{{{surface width-title|Surface width}}} | |||
{{{surface width}}} | |||
}} | |||
{{ | |||
{{{surface depth-title|Surface depth}}} | |||
{{{surface depth}}} | |||
}} | |||
{{ | |||
{{{gravity-title|Gravity}}} | |||
{{ | |||
| | |||
{{{surface temperature-title|Surface temperature}}} | |||
{{{surface temperature}}} | |||
}} | |||
{{{atmosphere-title|Atmospheric composition}}} | |||
{{Infobox|end}}<noinclude>{{clear}} | {{Infobox|end}}<noinclude>{{clear}} | ||
==Usage instructions== | ==Usage instructions== |
Revision as of 13:30, August 29, 2023
Megastructure infobox | |
---|---|
General overview | |
Operation overview | |
Structural information | |
Usage instructions
Paste the following code into the top of an article, filling all known fields:
{{Megastructure infobox |image= |description= |location= |anchor= |type= |function= |caretaker= |constructed= |destroyed= |diameter= |surface width= |surface depth= |gravity= |surface temperature= |atmosphere= }}
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 General Overview section header)
- hideb (hides Operation Overview section header)
- hideb (hides Structural Info section header)
|hidea= |hideb= |hidec=