Template:Forerunner infobox: Difference between revisions

adding some more fields
m (Text replacement - "; font-size:130%"" to "" class="infoboxheading"")
(adding some more fields)
 
(27 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{| class="infobox" cellspacing="0" style="width:300px; background:{{{BG|#6E7F80}}}; color:{{{color1|#000}}}"
{{Infobox|start|bg=#6E7F80}}
{{!}}-
{{Infobox|title|name={{{name|}}}}}
! style="background:{{{nameBG|transparent}}}; color:{{{color2|#fff}}}" class="infoboxheading" colspan="2" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}
{{Infobox|media|content={{{image|}}}|caption={{{caption|}}}}}
{{!}}-
 
{{#if:{{{image|}}}|
{{Infobox|section|title={{{section1-title|Overview}}}|entries=
! style="background:{{{imageBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999}}}" colspan="2" {{!}} {{{image|}}} {{#if:{{{caption|}}}|{{clear}}{{{caption}}}}}
{{Infobox|entry|title={{{role-title|Role}}}|content={{{role|}}}}}
{{Infobox|entry|title={{{manufacturer-title|Manufacturer}}}|content={{{manufacturer|}}}}}
{{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={{{mass-title|Mass}}}|content={{{mass|}}}}}
{{Infobox|entry|title={{{propulsion-title|Propulsion}}}|content={{{propulsion|}}}}}
{{Infobox|entry|title={{{armament-title|Armament}}}|content={{{armament|}}}}}
{{Infobox|entry|title={{{armor-title|Armor}}}|content={{{armor|}}}}}
{{Infobox|entry|title={{{shields-title|Energy shielding}}}|content={{{shields|}}}}}
{{Infobox|entry|title={{{systems-title|Other systems}}}|content={{{systems|}}}}}
}}
}}
{{!}}-
{{#if:{{{hidea|}}}|{{!}}-|{{!}}-
! colspan="2" style="color:{{{color2|#fff}}}; background:{{{sectionBG|#6E7F80}}}" {{!}} {{{section1-title|Overview}}}}}
{{!}}-
{{#if:{{{role|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}; width:100px" {{!}}
'''{{{role-title|Role}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{role|}}}
{{!}}-}}
{{#if:{{{length|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}; width:100px" {{!}}
'''{{{length-title|Length}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{length|}}}
{{!}}-}}
{{#if:{{{width|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}; width:100px" {{!}}
'''{{{width-title|Width}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{width|}}}
{{!}}-}}
{{#if:{{{height|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}; width:100px" {{!}}
'''{{{height-title|Height}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{height|}}}
{{!}}-}}
{{#if:{{{mass|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}; width:100px" {{!}}
'''{{{mass-title|Mass}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{mass|}}}
{{!}}-}}
{{#if:{{{armament|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}; width:100px" {{!}}
'''{{{armament-title|Armament}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{armament|}}}
{{!}}-}}
{{#if:{{{armor|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}; width:100px" {{!}}
'''{{{armor-title|Armor}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{armor|}}}
{{!}}-}}
| colspan="2" style="text-align:center; line-height:8px" |  
|}<noinclude>{{clear}}


{{Infobox|end}}<noinclude>{{clear}}
==Usage==
==Usage==
This infobox is for Forerunner constructs. For individual characters, see [[Template:Character infobox|Character infobox]].  
This infobox is for Forerunner constructs. For individual characters, see [[Template:Character infobox|Character infobox]].  
Line 60: Line 23:
==How to==
==How to==
Copy the following:
Copy the following:
:<small>'''Note:''' If information regarding length, width and/or height is unknown, use size instead.</small>
:<small>Note: If information regarding length, width and/or height is unknown, use size instead.</small>
 
<pre>
<pre>
{{Forerunner infobox
{{Forerunner infobox
Line 66: Line 30:
|image=
|image=
|role=
|role=
|manufacturer=
|length=
|length=
|width=
|width=
|height=
|height=
|mass=
|mass=
|propulsion=
|armament=
|armament=
|armor=
|armor=
|shields=
|systems=
}}
}}
</pre>
</pre>


==Custom parameters==
The following are custom parameters that allows you to alter the text in the box.
:<small>'''Note''': misc1 and misc2 is for General information section, while the rest is for the Technical specifications section.</small>
<pre>
|misc1=
|misc1-title=
|misc2=
|misc2-title=
|misc3=
|misc3-title=
|misc4=
|misc4-title=
|size-title=
|armament-title=
|armor-title=
</pre>
[[Category:Infobox templates]]</noinclude>
[[Category:Infobox templates]]</noinclude>