Template:MilitaryUnit: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(22 intermediate revisions by the same user not shown) | |||
Line 4: | Line 4: | ||
{| border="0" cellpadding="4" cellspacing="0" style="float:right; margin:0 0 0 0; width:100%; background:; border-collapse:collapse; vertical-align: middle" | {| border="0" cellpadding="4" cellspacing="0" style="float:right; margin:0 0 0 0; width:100%; background:; border-collapse:collapse; vertical-align: middle" | ||
|- | |- | ||
! colspan="2" style="text-align:center; background:#C3D6EF;" | <font style="font-size:130%;">{{{unit_name}}}</font> | ! colspan="2" style="{{#if:{{{unit_name|}}}| |display: none;}} text-align:center; background:#C3D6EF;" | <font style="font-size:130%;">{{{unit_name}}}</font> | ||
|- | |- | ||
|- | |- | ||
! colspan="2" style="text-align:center; background:#F8F9FA;" | <font style="font-size:100%;">{{{native_name}}}</font> | ! colspan="2" style="{{#if:{{{native_name|}}}| |display: none;}} text-align:center; background:#F8F9FA;" | <font style="font-size:100%;">{{{native_name}}}</font> | ||
|- style="text-align:center;" | |- style="text-align:center;" | ||
|- | |- | ||
Line 30: | Line 30: | ||
| style="{{#if:{{{branch|}}}| |display: none;}}" valign="top" halign="center" | '''Branch''' | | style="{{#if:{{{branch|}}}| |display: none;}}" valign="top" halign="center" | '''Branch''' | ||
| style="{{#if:{{{branch|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{branch|}}} | | style="{{#if:{{{branch|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{branch|}}} | ||
|- | |||
| style="{{#if:{{{branches|}}}| |display: none;}}" valign="top" halign="center" | '''Branches''' | |||
| style="{{#if:{{{branches|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{branches|}}} | |||
|- | |||
| style="{{#if:{{{servicebranches|}}}| |display: none;}}" valign="top" halign="center" | '''Service branches''' | |||
| style="{{#if:{{{servicebranches|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{servicebranches|}}} | |||
|- | |- | ||
| style="{{#if:{{{type|}}}| |display: none;}}" valign="top" halign="center" | '''Type''' | | style="{{#if:{{{type|}}}| |display: none;}}" valign="top" halign="center" | '''Type''' | ||
Line 60: | Line 66: | ||
| style="{{#if:{{{march|}}}| |display: none;}}" valign="top" halign="center" | '''March''' | | style="{{#if:{{{march|}}}| |display: none;}}" valign="top" halign="center" | '''March''' | ||
| style="{{#if:{{{march|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{march|}}} | | style="{{#if:{{{march|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{march|}}} | ||
|- | |||
| style="{{#if:{{{fleet|}}}| |display: none;}}" valign="top" halign="center" | '''Fleet''' | |||
| style="{{#if:{{{fleet|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{fleet|}}} | |||
|- | |- | ||
| style="{{#if:{{{mascot|}}}| |display: none;}}" valign="top" halign="center" | '''Mascot''' | | style="{{#if:{{{mascot|}}}| |display: none;}}" valign="top" halign="center" | '''Mascot''' | ||
Line 70: | Line 79: | ||
| style="{{#if:{{{equipment|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{equipment|}}} | | style="{{#if:{{{equipment|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{equipment|}}} | ||
|- | |- | ||
| style="{{#if:{{{battles|}}}| |display: none;}}" valign="top" halign="center" | '''Battles''' | | style="{{#if:{{{battles|}}}| |display: none;}}" valign="top" halign="center" | '''Battles/wars''' | ||
| style="{{#if:{{{battles|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{battles|}}} | | style="{{#if:{{{battles|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{battles|}}} | ||
|- | |- | ||
Line 84: | Line 93: | ||
| style="{{#if:{{{group|}}}| |display: none;}}" valign="top" halign="center" | '''Roblox group''' | | style="{{#if:{{{group|}}}| |display: none;}}" valign="top" halign="center" | '''Roblox group''' | ||
| style="{{#if:{{{group|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{group|}}} | | style="{{#if:{{{group|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{group|}}} | ||
|- | |||
| style="{{#if:{{{ranks|}}}| |display: none;}}" valign="top" halign="center" | '''Ranks''' | |||
| style="{{#if:{{{ranks|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{ranks|}}} | |||
|- | |- | ||
! colspan="3" style="{{#if:{{{commander1|}}}| |display: none;}} background-color: #C3D6EF; font-weight: normal; font-size: 13px" | '''Commanders''' | ! colspan="3" style="{{#if:{{{commander1|}}}| |display: none;}} background-color: #C3D6EF; font-weight: normal; font-size: 13px" | '''Commanders''' | ||
Line 143: | Line 155: | ||
| style="{{#if:{{{identification_symbol_6|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{identification_symbol_6|}}} | | style="{{#if:{{{identification_symbol_6|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{identification_symbol_6|}}} | ||
|- | |- | ||
! colspan="3" style="{{#if:{{{ | ! colspan="3" style="{{#if:{{{showaircraft|}}}| |display: none;}} background-color: #C3D6EF; font-weight: normal; font-size: 13px" | '''Aircraft''' | ||
|- | |- | ||
| style="{{#if:{{{aircraft_attack|}}}| |display: none;}}" valign="top" halign="center" | '''Attack''' | | style="{{#if:{{{aircraft_attack|}}}| |display: none;}}" valign="top" halign="center" | '''Attack''' | ||
| style="{{#if:{{{aircraft_attack|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{aircraft_attack|}}} | | style="{{#if:{{{aircraft_attack|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{aircraft_attack|}}} | ||
|- | |- | ||
| style="{{#if:{{{ | | style="{{#if:{{{aircraft_bomber|}}}| |display: none;}}" valign="top" halign="center" | '''Bomber''' | ||
| style="{{#if:{{{ | | style="{{#if:{{{aircraft_bomber|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{aircraft_bomber|}}} | ||
|- | |||
| style="{{#if:{{{aircraft_electronic|}}}| |display: none;}}" valign="top" halign="center" | '''Electronic''' | |||
| style="{{#if:{{{aircraft_electronic|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{aircraft_electronic|}}} | |||
|- | |||
| style="{{#if:{{{aircraft_fighter|}}}| |display: none;}}" valign="top" halign="center" | '''Fighter''' | |||
| style="{{#if:{{{aircraft_fighter|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{aircraft_fighter|}}} | |||
|- | |||
| style="{{#if:{{{aircraft_helicopter|}}}| |display: none;}}" valign="top" halign="center" | '''Helicopter''' | |||
| style="{{#if:{{{aircraft_helicopter|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{aircraft_helicopter|}}} | |||
|- | |||
| style="{{#if:{{{aircraft_helicopter_attack|}}}| |display: none;}}" valign="top" halign="center" | '''Attack helicopter''' | |||
| style="{{#if:{{{aircraft_helicopter_attack|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{aircraft_helicopter_attack|}}} | |||
|- | |||
| style="{{#if:{{{aircraft_helicopter_cargo|}}}| |display: none;}}" valign="top" halign="center" | '''Cargo helicopter''' | |||
| style="{{#if:{{{aircraft_helicopter_cargo|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{aircraft_helicopter_cargo|}}} | |||
|- | |||
| style="{{#if:{{{aircraft_helicopter_multirole|}}}| |display: none;}}" valign="top" halign="center" | '''Multirole helicopter''' | |||
| style="{{#if:{{{aircraft_helicopter_multirole|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{aircraft_helicopter_multirole|}}} | |||
|- | |||
| style="{{#if:{{{aircraft_helicopter_observation|}}}| |display: none;}}" valign="top" halign="center" | '''Observation helicopter''' | |||
| style="{{#if:{{{aircraft_helicopter_observation|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{aircraft_helicopter_observation|}}} | |||
|- | |||
| style="{{#if:{{{aircraft_helicopter_trainer|}}}| |display: none;}}" valign="top" halign="center" | '''Trainer helicopter''' | |||
| style="{{#if:{{{aircraft_helicopter_trainer|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{aircraft_helicopter_trainer|}}} | |||
|- | |||
| style="{{#if:{{{aircraft_helicopter_utility|}}}| |display: none;}}" valign="top" halign="center" | '''Utility helicopter''' | |||
| style="{{#if:{{{aircraft_helicopter_utility|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{aircraft_helicopter_utility|}}} | |||
|- | |- | ||
| style="{{#if:{{{ | | style="{{#if:{{{aircraft_interceptor|}}}| |display: none;}}" valign="top" halign="center" | '''Interceptor''' | ||
| style="{{#if:{{{ | | style="{{#if:{{{aircraft_interceptor|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{aircraft_interceptor|}}} | ||
|- | |- | ||
| style="{{#if:{{{ | | style="{{#if:{{{aircraft_patrol|}}}| |display: none;}}" valign="top" halign="center" | '''Patrol''' | ||
| style="{{#if:{{{ | | style="{{#if:{{{aircraft_patrol|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{aircraft_patrol|}}} | ||
|- | |- | ||
| style="{{#if:{{{ | | style="{{#if:{{{aircraft_recon|}}}| |display: none;}}" valign="top" halign="center" | '''Recon''' | ||
| style="{{#if:{{{ | | style="{{#if:{{{aircraft_recon|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{aircraft_recon|}}} | ||
|- | |- | ||
| style="{{#if:{{{ | | style="{{#if:{{{aircraft_trainer|}}}| |display: none;}}" valign="top" halign="center" | '''Trainer''' | ||
| style="{{#if:{{{ | | style="{{#if:{{{aircraft_trainer|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{aircraft_trainer|}}} | ||
|- | |- | ||
| style="{{#if:{{{ | | style="{{#if:{{{aircraft_transport|}}}| |display: none;}}" valign="top" halign="center" | '''Transport''' | ||
| style="{{#if:{{{ | | style="{{#if:{{{aircraft_transport|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{aircraft_transport|}}} | ||
|- | |- | ||
| style="{{#if:{{{ | | style="{{#if:{{{aircraft_tanker|}}}| |display: none;}}" valign="top" halign="center" | '''Tanker''' | ||
| style="{{#if:{{{ | | style="{{#if:{{{aircraft_tanker|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{aircraft_tanker|}}} | ||
|- | |- | ||
| style="{{#if:{{{ | | style="{{#if:{{{aircraft_utility|}}}| |display: none;}}" valign="top" halign="center" | '''Utility''' | ||
| style="{{#if:{{{ | | style="{{#if:{{{aircraft_utility|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{aircraft_utility|}}} | ||
|}</div> | |}</div> | ||
|} | |} | ||
Line 183: | Line 222: | ||
|allegiance = if not using country, use This | |allegiance = if not using country, use This | ||
|branch = Branch of country n what not, i.e Army | |branch = Branch of country n what not, i.e Army | ||
|branches = If its a military it may have its own branches like army, airforce | |||
|servicebranches = Branches of forces, i.e army, navy or airforce | |||
|type = Infantry, Cavalry, armoured | |type = Infantry, Cavalry, armoured | ||
|role = Light infantry, Cavalry | |role = Light infantry, Cavalry | ||
Line 193: | Line 234: | ||
|colors = colors | |colors = colors | ||
|march = march music | |march = march music | ||
|fleet = for navies | |||
|mascot = mascot | |mascot = mascot | ||
|anniversaries = anniversaries | |anniversaries = anniversaries | ||
Line 201: | Line 243: | ||
|flying_hours = flying flying_hours | |flying_hours = flying flying_hours | ||
|group = roblox group (if any) | |group = roblox group (if any) | ||
|ranks = link to ranks page | |||
|current_commander = link to user | |current_commander = link to user | ||
Line 238: | Line 281: | ||
|identification_symbol_6_label = Insignia name | |identification_symbol_6_label = Insignia name | ||
|showaircraft= add this to show the aircraft bar | |||
|aircraft_attack = list of attack aircraft | |aircraft_attack = list of attack aircraft | ||
|aircraft_bomber = list of bomber aircraft | |aircraft_bomber = list of bomber aircraft | ||
Line 267: | Line 311: | ||
|allegiance = if not using country, use This | |allegiance = if not using country, use This | ||
|branch = Branch of country n what not, i.e Army | |branch = Branch of country n what not, i.e Army | ||
|branches = If its a military it may have its own branches like army, airforce | |||
|type = Infantry, Cavalry, armoured | |type = Infantry, Cavalry, armoured | ||
|role = Light infantry, Cavalry | |role = Light infantry, Cavalry | ||
Line 277: | Line 322: | ||
|colors = colors | |colors = colors | ||
|march = march music | |march = march music | ||
|fleet = for navies | |||
|mascot = mascot | |mascot = mascot | ||
|anniversaries = anniversaries | |anniversaries = anniversaries | ||
Line 285: | Line 331: | ||
|flying_hours = flying flying_hours | |flying_hours = flying flying_hours | ||
|group = roblox group (if any) | |group = roblox group (if any) | ||
|ranks = link to ranks page | |||
|current_commander = link to user | |current_commander = link to user | ||
Line 322: | Line 369: | ||
|identification_symbol_6_label = Insignia name | |identification_symbol_6_label = Insignia name | ||
|showaircraft = add this to show the aircraft bar | |||
|aircraft_attack = list of attack aircraft | |aircraft_attack = list of attack aircraft | ||
|aircraft_bomber = list of bomber aircraft | |aircraft_bomber = list of bomber aircraft | ||
Line 343: | Line 391: | ||
</pre> | </pre> | ||
[[Category: Templates]] | [[Category: Templates]] | ||
[[Category: Infoboxes]] | |||
</noinclude> | </noinclude> |
Latest revision as of 11:47, 15 April 2024
|
Example Usage:
{{MilitaryUnit |unit_name = Name of unit |native_name = Name of unit in native language |image = Image of unit (flag, coat of arms, insignia) |active = Date of acrive, 01/01/2020 - 02/02/2020 or 01/01/2020 - present day |disbanded = Date of disbandment |country = Country of unit or countries |allegiance = if not using country, use This |branch = Branch of country n what not, i.e Army |branches = If its a military it may have its own branches like army, airforce |type = Infantry, Cavalry, armoured |role = Light infantry, Cavalry |size = Regiment battalio, or use numbers like 300+ |partof = what unit is it a part of? |garrison = where is it headquarters or where is it garrisoned |nickname = nickname? |patron = patron |motto = motto |colors = colors |march = march music |fleet = for navies |mascot = mascot |anniversaries = anniversaries |equipment = link to equipment page (if any) |battles = list of engagements |decorations = list of decorations |battle_honours = list of battle_honours |flying_hours = flying flying_hours |group = roblox group (if any) |ranks = link to ranks page |current_commander = link to user |commander1 = link to user |commander1_label = Commander Title |commander2 = link to user |commander2_label = Commander Title |commander3 = link to user |commander3_label = Commander Title |commander4 = link to user |commander4_label = Commander Title |commander5 = link to user |commander5_label = Commander Title |commander6 = link to user |commander6_label = Commander Title |commander7 = link to user |commander7_label = Commander Title |commander8 = link to user |commander8_label = Commander Title |commander9 = link to user |commander9_label = Commander Title |commander10 = link to user |commander10_label = Commander Title |notable_commanders = list of notable commanders |identification_symbol_1 = Insignia Image |identification_symbol_1_label = Insignia name |identification_symbol_2 = Insignia Image |identification_symbol_2_label = Insignia name |identification_symbol_3 = Insignia Image |identification_symbol_3_label = Insignia name |identification_symbol_4 = Insignia Image |identification_symbol_4_label = Insignia name |identification_symbol_5 = Insignia Image |identification_symbol_5_label = Insignia name |identification_symbol_6 = Insignia Image |identification_symbol_6_label = Insignia name |showaircraft = add this to show the aircraft bar |aircraft_attack = list of attack aircraft |aircraft_bomber = list of bomber aircraft |aircraft_electronic = list of electronic aircraft |aircraft_fighter = list of fighter aircraft |aircraft_helicopter = list of helicopter aircraft |aircraft_helicopter_attack = list of attack helicopter aircraft |aircraft_helicopter_cargo = list of cargo helicopter aircraft |aircraft_helicopter_multirole = list of multirole helicopter aircraft |aircraft_helicopter_observation = list of observation helicopter aircraft |aircraft_helicopter_trainer = list of trainer helicopter aircraft |aircraft_helicopter_utility = list of utility helicopter aircraft |aircraft_interceptor = list of interceptor aircraft |aircraft_patrol = list of patrol aircraft |aircraft_recon = list of recon aircraft |aircraft_trainer = list of trainer aircraft |aircraft_transport = list of transport aircraft |aircraft_tanker = list of tanker aircraft |aircraft_utility = list of utility aircraft }}