Template:Military infobox: Difference between revisions

From Halopedia, the Halo wiki

No edit summary
m (Reverted edits by Daniel A093 (Talk) to last version by The All-knowing Sith'ari)
Line 1: Line 1:
<includeonly><table border="0" cellspacing="0" cellpadding="0" style="float:right; clear:right; margin: 0 0 .5em 1em; width:250px; background:#333333; border-collapse:collapse; border:1px solid #999999; font-size:smaller; line-height:1.5;">
<includeonly><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 #999999; font-size:smaller; line-height:1.5;">
<tr><td colspan="2"><div id="infoboxinternal">
<tr><td colspan="2"><div id="infoboxinternal">
<table border="0" cellspacing="0" cellpadding="4" style="float:right; margin:0 0 0 0; width:100%; background:#333333; border-collapse:collapse;">
<table border="0" cellspacing="0" cellpadding="4" style="float:right; margin:0 0 0 0; width:100%; background:#ffffff; border-collapse:collapse;">
<tr style="text-align:center;"><td colspan="2" style="padding:0; background:{{{imageBG|#b0c4de}}};">{{{image|}}}</td></tr>
<tr style="text-align:center;"><td colspan="2" style="padding:0; background:{{{imageBG|#b0c4de}}};">{{{image|}}}</td></tr>
<tr style="text-align:center; color:#000000; background:#0033ff; font-size:larger;"><th colspan="2">{{{unit_name}}}</th></tr>
<tr style="text-align:center; color:#000000; background:#b0c4de; font-size:larger;"><th colspan="2">{{{unit_name}}}</th></tr>
{{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f9f9f9}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Active</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
{{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f9f9f9}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Active</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
{{{dates|}}}
{{{dates|}}}
Line 48: Line 48:
</td></tr>|1{{{commanders|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f9f9f9}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Notable Commanders</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
</td></tr>|1{{{commanders|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f9f9f9}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Notable Commanders</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
{{{notable_commanders|}}}
{{{notable_commanders|}}}
</td></tr>|1{{{notable_commanders|}}}=}} </table></div></td></tr></table>
</td></tr>|1{{{notable_commanders|}}}=}} </table></div></td></tr></table><!-- TEMPLATE ENDS HERE. In order to regenerate the template, replace the code above with the source code provided. --></includeonly>
<noinclude>
{{clear}}
{{Infobox Military Unit
|unit_name=unit_name
|image=image
|dates=dates
|country=country
|allegiance=allegiance
|branch=branch
|type=type
|role=role
|size=size
|command_structure=command_structure
|garrison=garrison
|garrison_label=garrison_label
|nickname=nickname
|patron=patron
|motto=motto
|colors=colors
|colors_label=colors_label
|march=march
|mascot=mascot
|anniversaries=anniversaries
|equipment=equipment
|battles=battles
|decorations=decorations
|battle_honors=battle_honors
|commanders=commanders
|notable_commanders=notable_commanders
<!-- Insignia -->
|identification_symbol=identification_symbol
|identification_symbol_label=identification_symbol_label
|identification_symbol_2=identification_symbol_2
|identification_symbol_2_label=identification_symbol_2_label
|identification_symbol_3=identification_symbol_3
|identification_symbol_3_label=identification_symbol_3_label
<!-- Aircraft -->
|aircraft_attack=aircraft_attack
|aircraft_bomber=aircraft_bomber
|aircraft_electronic=aircraft_electronic
|aircraft_fighter=aircraft_fighter
|aircraft_interceptor=aircraft_interceptor
|aircraft_patrol=aircraft_patrol
|aircraft_recon=aircraft_recon
|aircraft_trainer=aircraft_trainer
|aircraft_transport=aircraft_transport
}}
 
===Usage instructions===
Paste the following code into the top of an article, filling all known fields:
<pre><nowiki>
{{Infobox Military Unit
|unit_name=
|image=
|dates=
|country=
|allegiance=
|branch=
|type=
|role=
|size=
|command_structure=
|garrison=
|nickname=
|patron=
|motto=
|colors=
|march=
|mascot=
|anniversaries=
|equipment=
|battles=
|decorations=
|battle_honors=
|commanders=
|notable_commanders=
}}</nowiki></pre>
 
===Display parameters===
*hideb
*hidep
*hidec
[[Category:Infoboxes|Military Unit]]
</noinclude>

Revision as of 08:32, June 8, 2010


Template:Infobox Military Unit

Usage instructions

Paste the following code into the top of an article, filling all known fields:

{{Infobox Military Unit
|unit_name=
|image=
|dates=
|country=
|allegiance=
|branch=
|type=
|role=
|size=
|command_structure=
|garrison=
|nickname=
|patron=
|motto=
|colors=
|march=
|mascot=
|anniversaries=
|equipment=
|battles=
|decorations=
|battle_honors=
|commanders=
|notable_commanders=
}}

Display parameters

  • hideb
  • hidep
  • hidec