Template:InfoboxMilitaryInstallation: Difference between revisions
Jump to navigation
Jump to search
(Created blank page) |
No edit summary |
||
(6 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{| cellspacing="1" cellpadding="1" style="float:right; clear:right; margin: 0 0 .5em 1em;width:350px;min-width:350px; background-color: #F8F9FA; border-collapse:collapse; border:1px solid #A2A9B1; font-size:smaller; line-height:1.5" | |||
|- | |||
|<div> | |||
{| 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%;">{{{name}}}</font> | |||
|- | |||
! colspan="2" style="{{#if:{{{image2|}}}||display:none;}} text-align:center; background:#F8F9FA;" | <font style="font-size:100%;">{{{native_name}}}</font> | |||
|- style="text-align:center;" | |||
! colspan="2" style="{{#if:{{{image2|}}}||display:none;}} text-align:center; background:#DCDCDC;" | <font style="font-size:80%;">{{{partof}}}</font> | |||
|- style="text-align:center;" | |||
|- | |||
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;" | |||
{{#if:{{{logo<includeonly>|</includeonly>}}} | | |||
{{!}} colspan="2" style="text-align:center;background-color:#;{{#if:{{{logo|}}}||display:none;}}" {{!}}{{{logo}}} | |||
{{!}}- | |||
}} | |||
{{#if:{{{image2<includeonly>|</includeonly>}}} | | |||
{{!}} colspan="2" style="text-align:center;background-color:#;{{#if:{{{image2|}}}||display:none;}}" {{!}}{{{image2}}} | |||
{{!}}- | |||
}} | |||
|- style="border-top: 1px solid #999;" | |||
| style="{{#if:{{{type|}}}| |display: none;}}" valign="top" halign="center" | '''Type''' | |||
| style="{{#if:{{{type|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{type|}}} | |||
|- | |||
| style="{{#if:{{{area|}}}| |display: none;}}" valign="top" halign="center" | '''Area''' | |||
| style="{{#if:{{{area|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{area|}}} | |||
|- | |||
! colspan="3" style="background-color: #C3D6EF; font-weight: normal; font-size: 13px" | '''Site information''' | |||
|- | |||
| style="{{#if:{{{owner|}}}| |display: none;}}" valign="top" halign="center" | '''Owner''' | |||
| style="{{#if:{{{owner|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{owner|}}} | |||
|- | |||
| style="{{#if:{{{operator|}}}| |display: none;}}" valign="top" halign="center" | '''Operator''' | |||
| style="{{#if:{{{operator|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{operator|}}} | |||
|- | |||
| style="{{#if:{{{controlledby|}}}| |display: none;}}" valign="top" halign="center" | '''Controlled by''' | |||
| style="{{#if:{{{controlledby|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{controlledby|}}} | |||
|- | |||
| style="{{#if:{{{open_to_public|}}}| |display: none;}}" valign="top" halign="center" | '''Open to the public''' | |||
| style="{{#if:{{{open_to_public|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{open_to_public|}}} | |||
|- | |||
! colspan="3" style="background-color: #C3D6EF; font-weight: normal; font-size: 13px" | '''Site history''' | |||
|- | |||
| style="{{#if:{{{built|}}}| |display: none;}}" valign="top" halign="center" | '''Built''' | |||
| style="{{#if:{{{built|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{built|}}} | |||
|- | |||
| style="{{#if:{{{built_by|}}}| |display: none;}}" valign="top" halign="center" | '''Built by''' | |||
| style="{{#if:{{{built_by|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{built_by|}}} | |||
|- | |||
| style="{{#if:{{{in_use|}}}| |display: none;}}" valign="top" halign="center" | '''In use''' | |||
| style="{{#if:{{{in_use|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{in_use|}}} | |||
|- | |||
| style="{{#if:{{{fate|}}}| |display: none;}}" valign="top" halign="center" | '''Fate''' | |||
| style="{{#if:{{{fate|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{fate|}}} | |||
|- | |||
| style="{{#if:{{{events|}}}| |display: none;}}" valign="top" halign="center" | '''Events''' | |||
| style="{{#if:{{{events|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{events|}}} | |||
|- | |||
! colspan="3" style="background-color: #C3D6EF; font-weight: normal; font-size: 13px" | '''Garrison information''' | |||
|- | |||
| style="{{#if:{{{current_commander|}}}| |display: none;}}" valign="top" halign="center" | '''Current commander''' | |||
| style="{{#if:{{{current_commander|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{current_commander|}}} | |||
|- | |||
| style="{{#if:{{{garrison|}}}| |display: none;}}" valign="top" halign="center" | '''Garrison''' | |||
| style="{{#if:{{{garrison|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{garrison|}}} | |||
|- | |||
| style="{{#if:{{{occupants|}}}| |display: none;}}" valign="top" halign="center" | '''Occupants''' | |||
| style="{{#if:{{{occupants|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{occupants|}}} | |||
|- | |||
|}</div> | |||
|} | |||
<noinclude> | |||
{{InfoboxMilitaryInstallation | |||
|name = Name of base | |||
|native_name = Name of base in native language | |||
|logo = Logo/ensign/coat of arms of base | |||
|partof = What area is it a part of | |||
|controlledby = Country its operated by | |||
|image2 = optional map of base | |||
|type = Air Force Base | Naval Dockyard | Army Outpost ect. | |||
|site_area = area in acres | |||
|owner = owner of base | |||
|operator = what unit operates it | |||
|open_to_public = Yes / No | |||
|built = year built | |||
|built_by = built by | |||
|in_use = 01/01/2020 = 02/01/2020 or 01/01/2020 - present day | |||
|fate = Fate of base, i.e intact or demolished | |||
|events = Wars, events, scenariors | |||
|current_commander = commander | |||
|garrison = units garrisoned | |||
|occupants = occupants of the base | |||
}} | |||
Example Usage:<pre> | |||
{{InfoboxMilitaryInstallation | |||
|name = Name of base | |||
|native_name = Name of base in native language | |||
|logo = Logo/ensign/coat of arms of base | |||
|partof = What area is it a part of | |||
|country = Country its operated by | |||
|image2 = optional map of base | |||
|type = Air Force Base | Naval Dockyard | Army Outpost ect. | |||
|site_area = area in acres | |||
|owner = owner of base | |||
|operator = what unit operates it | |||
|open_to_public = Yes / No | |||
|built = year built | |||
|built_by = built by | |||
|in_use = 01/01/2020 = 02/01/2020 or 01/01/2020 - present day | |||
|fate = Fate of base, i.e intact or demolished | |||
|events = Wars, events, scenariors | |||
|current_commander = commander | |||
|garrison = units garrisoned | |||
|occupants = occupants of the base | |||
}} | |||
</pre> | |||
[[Category: Templates]] | |||
[[Category: Infoboxes]] | |||
</noinclude> |
Latest revision as of 02:52, 4 April 2024
|
|
Example Usage:
{{InfoboxMilitaryInstallation |name = Name of base |native_name = Name of base in native language |logo = Logo/ensign/coat of arms of base |partof = What area is it a part of |country = Country its operated by |image2 = optional map of base |type = Air Force Base | Naval Dockyard | Army Outpost ect. |site_area = area in acres |owner = owner of base |operator = what unit operates it |open_to_public = Yes / No |built = year built |built_by = built by |in_use = 01/01/2020 = 02/01/2020 or 01/01/2020 - present day |fate = Fate of base, i.e intact or demolished |events = Wars, events, scenariors |current_commander = commander |garrison = units garrisoned |occupants = occupants of the base }}