Template:Base infobox: Difference between revisions

From Halopedia, the Halo wiki

m (+cat)
m (Text replacement - "dummy edit" to "Category:Infobox templates")
Tag: Manual revert
 
(90 intermediate revisions by 10 users not shown)
Line 1: Line 1:
<table border="0" cellspacing="0" cellpadding="0" style="float:right; clear:right; margin: 0 0 .5em 1em; width:250px; background:#ffffff; border-collapse:collapse; border:1px solid #666633; font-size:smaller; line-height:1.5;">
{{Infobox|start|bg=#D9B26F|color=#000}}
<tr><td colspan="2"><div id="infoboxinternal">
{{Infobox|title|name={{{name|}}}}}
<table border="0" cellspacing="0" cellpadding="4" style="float:right; margin:0 0 0 0; width:100%; background:#666600; border-collapse:collapse;">
{{Infobox|media|content={{{image|}}}|caption={{{caption|}}}}}
<tr style="text-align:center; color:#ffffff; background:#808000; font-size:larger;"><th colspan="2">{{{base}}}</th></tr>
<tr style="text-align:center;"><td colspan="2" style="padding:0; background:{{{imageBG|##808000}}};">{{{image|}}}</td></tr>
{{t|1=|1{{{hideb|}}}=<tr><th colspan="2" style="text-align:left; font-weight:normal; background:#666600;">'''History'''</th></tr>}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #666633; border-bottom: 1px solid #666633;">Location</td><td class="infoboxcell" style="border-top: 1px solid #666633; border-bottom: 1px solid #666633;">
{{{location|}}}
</td></tr>|1{{{location|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #666633; border-bottom: 1px solid #666633;">Built</td><td class="infoboxcell" style="border-top: 1px solid #666633; border-bottom: 1px solid #666633;">
{{{built|}}}
</td></tr>|1{{{built|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #666633; border-bottom: 1px solid #666633;">Destroyed</td><td class="infoboxcell" style="border-top: 1px solid #666633; border-bottom: 1px solid #666633;">
{{{destroyed|}}}
</td></tr>|1{{{destroyed|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #666633; border-bottom: 1px solid #666633;">Purpose</td><td class="infoboxcell" style="border-top: 1px solid #666633; border-bottom: 1px solid #666633;">
{{{purpose|}}}
</td></tr>|1{{{purpose|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #666633; border-bottom: 1px solid #666633;">Usage</td><td class="infoboxcell" style="border-top: 1px solid #666633; border-bottom: 1px solid #666633;">
{{{usage|}}}
</td></tr>|1{{{usage|}}}=}} {{t|1=|1{{{hidep|}}}=<tr><th colspan="2" style="text-align:left; font-weight:normal; background:#666600;">'''Facility Information'''</th></tr>}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #666633; border-bottom: 1px solid #666633;">Section(s)</td><td class="infoboxcell" style="border-top: 1px solid #666633; border-bottom: 1px solid #666633;">
{{{section(s)|}}}
</td></tr>|1{{{section(s)|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #666633; border-bottom: 1px solid #666633;">Defence</td><td class="infoboxcell" style="border-top: 1px solid #666633; border-bottom: 1px solid #666633;">
{{{defence|}}}
</td></tr>|1{{{defence|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #666633; border-bottom: 1px solid #666633;">Armament</td><td class="infoboxcell" style="border-top: 1px solid #666633; border-bottom: 1px solid #666633;">
{{{armament|}}}
</td></tr>|1{{{armament|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #666633; border-bottom: 1px solid #666633;">Equipment</td><td class="infoboxcell" style="border-top: 1px solid #666633; border-bottom: 1px solid #666633;">
{{{equipment|}}}
</td></tr>|1{{{equipment|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #666633; border-bottom: 1px solid #666633;">Vehicles</td><td class="infoboxcell" style="border-top: 1px solid #666633; border-bottom: 1px solid #666633;">
{{{vehicles|}}}
</td></tr>|1{{{vehicles|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #666633; border-bottom: 1px solid #666633;">Known Soldier(s)</td><td class="infoboxcell" style="border-top: 1px solid #666633; border-bottom: 1px solid #666633;">
{{{soldier(s)|}}}
</td></tr>|1{{{soldiers()|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #666633; border-bottom: 1px solid #666633;">Known Soldier(s)</td><td class="infoboxcell" style="border-top: 1px solid #666633; border-bottom: 1px solid #666633;">
{{{soldier(s)|}}}
</td></tr>|1{{{soldier(s)|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #666633; border-bottom: 1px solid #666633;">Known Commander(s)</td><td class="infoboxcell" style="border-top: 1px solid #666633; border-bottom: 1px solid #666633;">
{{{commander(s)|}}}
</td></tr>|1{{{commander(s)|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #666633; border-bottom: 1px solid #666633;">Era(s)</td><td class="infoboxcell" style="border-top: 1px solid #666633; border-bottom: 1px solid #666633;">
{{{era(s)|}}}
</td></tr>|1{{{era(s)|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #666633; border-bottom: 1px solid #666633;">Notable</td><td class="infoboxcell" style="border-top: 1px solid #666633; border-bottom: 1px solid #666633;">
{{{notable|}}}
</td></tr>|1{{{notable|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #666633; border-bottom: 1px solid #666633;">Affiliation</td><td class="infoboxcell" style="border-top: 1px solid #666633; border-bottom: 1px solid #666633;">
{{{affiliation|}}}
</td></tr>|1{{{affiliation|}}}=}}</table></div></td></tr><tr><td id="infoboxend" class="plainlinks" style="text-align:right; width:49%;"></td><td style="text-align:left; width:51%;">[[Template:Base Infobox|[Source]]]</td></tr></table>
<noinclude>


[[Category:Templates|{{PAGENAME}}]]</noinclude>
{{Infobox|section|title={{{section1-title|Facility information}}}|bg=#E6D3A3|entries=
{{Infobox|entry|title={{{location-title|Location}}}|content={{{location|}}}}}
{{Infobox|entry|title={{{purpose-title|Purpose}}}|content={{{purpose|}}}}}
{{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|}}}}}
}}
 
{{Infobox|section|title={{{section2-title|Historical information}}}|bg=#E6D3A3|entries=
{{Infobox|entry|title={{{built-title|Built}}}|content={{{built|}}}}}
{{Infobox|entry|title={{{usage-title|In use}}}|content={{{usage|}}}}}
{{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|}}}}}
}}
 
{{Infobox|end}}<noinclude>{{clear}}
==Usage instructions==
Copy and paste the following into the article and fill in the fields.
 
<pre>
{{Base infobox
|image=
|location=
|purpose=
|length=
|width=
|height=
|surface=
|armament=
|complement=
|built=
|usage=
|destroyed=
|controlledby=
|notable=
}}
</pre>
 
==Custom parameters==
The following allows you to alter the title of the sub-sections:
 
<pre>
|section1-title=
|section2-title=
</pre>
 
[[Category:Infobox templates]]</noinclude>

Latest revision as of 10:11, June 14, 2024

Base infobox
 

Usage instructions

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:

|section1-title=
|section2-title=