Template:InfoboxMilitaryInstallation: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{| cellspacing="1" cellpadding="1" style="float:right; clear:right; margin: 0 0 .5em 1em;width: | {| cellspacing="1" cellpadding="1" style="float:right; clear:right; margin: 0 0 .5em 1em; width:320px; background: border-collapse:collapse; border:3.5px solid {{{color|}}}; font-size:smaller; line-height:1.5" | ||
|- | |- | ||
|<div> | |<div> | ||
{| 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:# | ! colspan="2" style="text-align:center; color:#FFFFFF; background:#212121; font-size:200%;" | {{{name|<font color="white">{{{title1}}}</font>}}} | ||
|- style="text-align:center;" | |- style="text-align:center;" | ||
|- | |- | ||
{{#if:{{{ | | style="background-color:#EEEEEE;text-align:center;vertical-align:middle;color: grey; {{#if:{{{part_of|}}}| |display: none;}}" colspan="2" | Part of: {{{part_of|}}} | ||
{{!}} style="text-align:center; background-color:#;{{#if:{{{ | |- | ||
{{!}} style="text-align:center;background-color:#;{{#if:{{{ | {{#if:{{{image1<includeonly>|</includeonly>}}} | | ||
{{!}} colspan="2" style="text-align:center;background-color:#;{{#if:{{{image1|}}}||display:none;}}" {{!}}{{{image1}}} | |||
{{!}}- | |||
}} | |||
|- | |||
! colspan="2" style="{{#if:{{{image2|}}}||display:none;}}" "{{#if:{{{hidecoat|}}}|display: none;||}} text-align:center; color:"black"; background:"black"; font-size:140%;" | {{{name|<font color="black">{{#if:{{{hidecoat|}}}|||}}</font>}}} | |||
|- style="text-align:center;" | |||
|- | |||
{{#if:{{{image2<includeonly>|</includeonly>}}} | | |||
{{!}} colspan="2" style="text-align:center;background-color:#;{{#if:{{{image2|}}}||display:none;}}" {{!}}{{{image2}}} | |||
{{!}}- | |||
}} | }} | ||
|- | |- | ||
! colspan="2" style="{{#if:{{{image3|}}}| |display: none;}}" "display: none; text-align:center; color:#FFFFFF; background:#212121; font-size:140%;" | | |||
|- style="text-align:center;" | |||
|- | |||
{{#if:{{{image3<includeonly>|</includeonly>}}} | | |||
| style=" | {{!}} colspan="2" style="text-align:center;background-color:#;{{#if:{{{image3|}}}||display:none;}}" {{!}}{{{image3}}} | ||
|- | {{!}}- | ||
{{#if:{{{ | |||
{{!}} colspan="2" style="background-color:#;{{#if:{{{ | |||
}} | }} | ||
|- style="text-align:center;" | |||
|- | |- | ||
{{#if:{{{image3<includeonly>|</includeonly>}}} | | |||
{{!}} colspan="2" style="text-align:center;background-color:#;{{#if:{{{image4|}}}||display:none;}}" {{!}}{{{image4}}} | |||
{{!}}- | |||
}} | |||
|- style="text-align:center;" | |||
|- | |- | ||
{{#if:{{{image3<includeonly>|</includeonly>}}} | | |||
{{!}} colspan="2" style="text-align:center;background-color:#;{{#if:{{{image5|}}}||display:none;}}" {{!}}{{{image5}}} | |||
{{!}}- | |||
}} | |||
|- | |- | ||
| | | colspan="2" style="{{#if:{{{eras|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{eras|}}} | ||
|- | |- | ||
! colspan="2" style="{{#if:{{{hideb|}}}|display: none;| |}} text-align:center; font-weight:normal; color:#FFFFFF; background:#212121;" | '''National Information''' | |||
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;" | |||
| style="{{#if:{{{full_name|}}}| |display: none;}}" valign="top" | '''Full Name''' | |||
| style="{{#if:{{{full_name|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{full_name|}}} | |||
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;" | |||
| style="{{#if:{{{active|}}}| |display: none;}}" valign="top" | '''Active''' | |||
| style="{{#if:{{{active|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{active|}}} | |||
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;" | |||
| style="{{#if:{{{servicebranches|}}}| |display: none;}}" valign="top" | '''Service Branches''' | |||
| style="{{#if:{{{servicebranches|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{servicebranches|}}} | |||
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;" | |||
| style="{{#if:{{{country|}}}| |display: none;}}" valign="top" | '''Country''' | |||
| style="{{#if:{{{country|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{country|}}} | |||
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;" | |||
| style="{{#if:{{{type|}}}| |display: none;}}" valign="top" | '''Type''' | |||
| style="{{#if:{{{type|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{type|}}} | |||
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;" | |||
| style="{{#if:{{{anthem|}}}| |display: none;}}" valign="top" | '''Anthem''' | |||
| style="{{#if:{{{anthem|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{anthem|}}} | |||
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;" | |||
| style="{{#if:{{{march|}}}| |display: none;}}" valign="top" | '''March''' | |||
| style="{{#if:{{{march|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{march|}}} | |||
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;" | |||
| style="{{#if:{{{quickmarch|}}}| |display: none;}}" valign="top" | '''Quick March''' | |||
| style="{{#if:{{{quickmarch|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{quickmarch|}}} | |||
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;" | |||
| style="{{#if:{{{motto|}}}| |display: none;}}" valign="top" | '''Motto''' | |||
| style="{{#if:{{{motto|}}}| |display: none;}}" class="infoboxcell" valign="top" | <i>{{{motto|}}}<i> | |||
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;" | |||
| style="{{#if:{{{size|}}}| |display: none;}}" valign="top" | '''Size''' | |||
| style="{{#if:{{{size|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{size|}}} | |||
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;" | |- style="border-top: 1px solid #999; border-bottom: 1px solid #999;" | ||
| style="{{#if:{{{ | | style="{{#if:{{{partof|}}}| |display: none;}}" valign="top" | '''Part Of''' | ||
| style="{{#if:{{{ | | style="{{#if:{{{partof|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{partof|}}} | ||
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;" | |- style="border-top: 1px solid #999; border-bottom: 1px solid #999;" | ||
| style="{{#if:{{{ | | style="{{#if:{{{headquarters|}}}| |display: none;}}" valign="top" | '''Headquarters''' | ||
| style="{{#if:{{{ | | style="{{#if:{{{headquarters|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{headquarters|}}} | ||
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;" | |- style="border-top: 1px solid #999; border-bottom: 1px solid #999;" | ||
| style="{{#if:{{{ | | style="{{#if:{{{warsfought|}}}| |display: none;}}" valign="top" | '''Wars Fought''' | ||
| style="{{#if:{{{ | | style="{{#if:{{{warsfought|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{warsfought|}}} | ||
|- | |- | ||
! colspan="2" style="{{#if:{{{hideb|}}}|display: none;| |}} text-align:center; font-weight:normal; color:#FFFFFF; background:#212121;" | '''Commanders''' | |||
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;" | |||
| style="{{#if:{{{commander1name|}}}| |display: none;}}" valign="top" | {{{commander1name}}} | |||
| style="{{#if:{{{commander1|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{commander1|}}} | |||
| style=" | |- style="border-top: 1px solid #999; border-bottom: 1px solid #999;" | ||
| style="{{#if:{{{commander2name|}}}| |display: none;}}" valign="top" | {{{commander2name}}} | |||
| style="{{#if:{{{ | | style="{{#if:{{{commander2|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{commander2|}}} | ||
| style="{{#if:{{{ | |- style="border-top: 1px solid #999; border-bottom: 1px solid #999;" | ||
|- | | style="{{#if:{{{commander3name|}}}| |display: none;}}" valign="top" | {{{commander3name}}} | ||
| style="{{#if:{{{ | | style="{{#if:{{{commander3|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{commander3|}}} | ||
| style="{{#if:{{{ | |- style="border-top: 1px solid #999; border-bottom: 1px solid #999;" | ||
|- | | style="{{#if:{{{commander4name|}}}| |display: none;}}" valign="top" | {{{commander4name}}} | ||
| style="{{#if:{{{ | | style="{{#if:{{{commander4|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{commander4|}}} | ||
| style="{{#if:{{{ | |- style="border-top: 1px solid #999; border-bottom: 1px solid #999;" | ||
|- | | style="{{#if:{{{commander5name|}}}| |display: none;}}" valign="top" | {{{commander5name}}} | ||
| style="{{#if:{{{ | | style="{{#if:{{{commander5|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{commander5|}}} | ||
| style="{{#if:{{{ | |- style="border-top: 1px solid #999; border-bottom: 1px solid #999;" | ||
|- | | style="{{#if:{{{commander6name|}}}| |display: none;}}" valign="top" | {{{commander6name}}} | ||
| style="{{#if:{{{commander6|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{commander6|}}} | |||
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;" | |||
| style="{{#if:{{{commander7name|}}}| |display: none;}}" valign="top" | {{{commander7name}}} | |||
| style="{{#if:{{{ | | style="{{#if:{{{commander7|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{commander7|}}} | ||
| style="{{#if:{{{ | |- style="border-top: 1px solid #999; border-bottom: 1px solid #999;" | ||
|- style="border-top: 1px solid #999; | | style="{{#if:{{{commander8name|}}}| |display: none;}}" valign="top" | {{{commander8name}}} | ||
| style="{{#if:{{{commander8|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{commander8|}}} | |||
| style="{{#if:{{{ | |- style="border-top: 1px solid #999; border-bottom: 1px solid #999;" | ||
| style="{{#if:{{{commander9name|}}}| |display: none;}}" valign="top" | {{{commander9name}}} | |||
| style="{{#if:{{{commander9|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{commander9|}}} | |||
| style="{{#if:{{{ | |- style="border-top: 1px solid #999; border-bottom: 1px solid #999;" | ||
|- style="border-top: 1px solid #999; | | style="{{#if:{{{commander10name|}}}| |display: none;}}" valign="top" | {{{commander10name}}} | ||
| style="{{#if:{{{commander10|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{commander10|}}} | |||
| style="{{#if:{{{ | |||
| style="{{#if:{{{ | |||
|- style="border-top: 1px solid #999; | |||
| style="{{#if:{{{ | |||
| style="{{#if:{{{ | |||
|- style="border-top: 1px solid #999;" | |||
| style="{{#if:{{{ | |||
| style="{{#if:{{{ | |||
|- style="border-top: 1px solid #999;" | |||
| style="{{#if:{{{ | |||
| style="{{#if:{{{ | |||
|- | |- | ||
! colspan="2" style="{{#if:{{{hideb|}}}|display: none;| |}} text-align:center; font-weight:normal; color:#FFFFFF; background:#212121;" | '''Socials''' | |||
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;" | |||
| style="{{#if:{{{discord|}}}| |display: none;}}" valign="top" | '''Discord''' | | style="{{#if:{{{discord|}}}| |display: none;}}" valign="top" | '''Discord''' | ||
| style="{{#if:{{{discord|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{discord|}}} | | style="{{#if:{{{discord|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{discord|}}} | ||
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;" | |||
| style="{{#if:{{{twitter|}}}| |display: none;}}" valign="top" | '''Twitter''' | |||
| style="{{#if:{{{twitter|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{twitter|}}} | |||
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;" | |||
| style="{{#if:{{{youtube|}}}| |display: none;}}" valign="top" | '''Youtube''' | |||
| style="{{#if:{{{youtube|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{youtube|}}} | |||
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;" | |||
| style="{{#if:{{{tiktok|}}}| |display: none;}}" valign="top" | '''Tik Tok''' | |||
| style="{{#if:{{{tiktok|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{tiktok|}}} | |||
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;" | |||
| style="{{#if:{{{roblox|}}}| |display: none;}}" valign="top" | '''Roblox Group''' | |||
| style="{{#if:{{{roblox|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{roblox|}}} | |||
|- | |||
! colspan="2" style="{{#if:{{{hideb|}}}|display: none;| |}} text-align:center; font-weight:normal; color:#FFFFFF; background:#212121;" | '''Insignias''' | |||
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;" | |||
| style="{{#if:{{{ranksandinsignias|}}}| |display: none;}}" valign="top" | '''Ranks And Insignias''' | |||
| style="{{#if:{{{ranksandinsignias|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{[[ranksandinsignias]]|}}} | |||
|}</div> | |}</div> | ||
|} | |} | ||
<noinclude> | <noinclude> | ||
'''*o means optional!''' | |||
Example Usage:<pre> | Example Usage:<pre> | ||
{{ | {{UnitInfoBox | ||
| | |title1 = Page Title, usually the unit's name | ||
| | |image1 = *o, Image Name: [[File:NameOfImageHere.png|250px|Image1 Description]] | ||
|image2 = *o, Image Name: [[File:NameOfImageHere.png|170px|Image2 Description]] | |||
|image3 = *o, Image Name: [[File:NameOfImageHere.png|170px|Image3 Description]] | |||
| | |full_name = *o Full Name Of Unit Goes Here | ||
| | |active = 1st January 1999 - Current Day | 1st January 1999 - 1st January 2023 | ||
| | |servicebranches = | ||
| | Army - 1st January 1999 - Current Day | 1st January 1999 - 1st January 2023 | ||
| | Navy - 1st January 1999 - Current Day | 1st January 1999 - 1st January 2023 | ||
| | Navy - 1st January 1999 - Current Day | 1st January 1999 - 1st January 2023 | ||
| | Other - 1st January 1999 - Current Day | 1st January 1999 - 1st January 2023 | ||
| | |country = [[Nation:_Nation_Goes_Here|Text you want people to see here]] | ||
|type = *o [[Army]] [[Navy]] [[Airforce]] [[Police]] [[Other]] | |||
|anthem = *o [[File:Example.ogg]] | |||
|march = *o [[File:Example.ogg]] | |||
| | |quickmarch = *o [[File:Example.ogg]] | ||
| | |motto = *o "Example Motto Goes Here" | ||
|size=100 active personnel <small>(Apr 2023)</small> | |||
1,382 reserve personnel <small>(Apr 2023)</small> | |||
|partof = Link To What Its Part Of (if its part of something) | |||
| | |headquarters = *o Example (can be a link!) | ||
| | |warsfought = list of wars fought | ||
| | |||
| | |commander1name = Commander In Chief, Executive | ||
| | |commander1 = Link To Commander Here | ||
| | |||
| | |commander2name = Commander 2 Title | ||
| | |commander2 = Link To Commander 2 | ||
| | |||
|commander3name = Commander 3 Title | |||
| | |commander3 = Link To Commander 3 | ||
| | |||
|commander4name = Commander 4 Title | |||
| | |commander4 = Link To Commander 4 | ||
| | |||
|commander5name = Commander 5 Title | |||
| | |commander5 = Link To Commander 5 | ||
| | |||
|commander6name = Commander 6 Title | |||
| | |commander6 = Link To Commander 6 | ||
| | |||
|commander7name = Commander 7 Title | |||
| | |commander7 = Link To Commander 7 | ||
| | |||
|commander8name = Commander 8 Title | |||
| | |commander8 = Link To Commander 8 | ||
| | |||
|commander9name = Commander 9 Title | |||
| | |commander9 = Link To Commander 9 | ||
| | |||
|commander10name = Commander 10 Title | |||
| | |commander10 = Link To Commander 10 | ||
| | |||
|discord = Link To Discord | |||
| | |youtube = Link To Youtube | ||
| | |twitter = Link To Twitter | ||
|tiktok = Link To Tik Tok | |||
| | |roblox = Link To Roblox Group | ||
| | |||
| | |ranksandinsignias = Example | ||
| | |||
| | |||
| | |||
}} | }} | ||
</pre> | </pre> | ||
</noinclude> | |||
<noinclude> | |||
[[Category: Templates]] | [[Category: Templates]] | ||
</noinclude> | </noinclude> |
Revision as of 01:56, 4 April 2024
|
*o means optional!
Example Usage:
{{UnitInfoBox |title1 = Page Title, usually the unit's name |image1 = *o, Image Name: [[File:NameOfImageHere.png|250px|Image1 Description]] |image2 = *o, Image Name: [[File:NameOfImageHere.png|170px|Image2 Description]] |image3 = *o, Image Name: [[File:NameOfImageHere.png|170px|Image3 Description]] |full_name = *o Full Name Of Unit Goes Here |active = 1st January 1999 - Current Day | 1st January 1999 - 1st January 2023 |servicebranches = Army - 1st January 1999 - Current Day | 1st January 1999 - 1st January 2023 Navy - 1st January 1999 - Current Day | 1st January 1999 - 1st January 2023 Navy - 1st January 1999 - Current Day | 1st January 1999 - 1st January 2023 Other - 1st January 1999 - Current Day | 1st January 1999 - 1st January 2023 |country = [[Nation:_Nation_Goes_Here|Text you want people to see here]] |type = *o [[Army]] [[Navy]] [[Airforce]] [[Police]] [[Other]] |anthem = *o [[File:Example.ogg]] |march = *o [[File:Example.ogg]] |quickmarch = *o [[File:Example.ogg]] |motto = *o "Example Motto Goes Here" |size=100 active personnel <small>(Apr 2023)</small> 1,382 reserve personnel <small>(Apr 2023)</small> |partof = Link To What Its Part Of (if its part of something) |headquarters = *o Example (can be a link!) |warsfought = list of wars fought |commander1name = Commander In Chief, Executive |commander1 = Link To Commander Here |commander2name = Commander 2 Title |commander2 = Link To Commander 2 |commander3name = Commander 3 Title |commander3 = Link To Commander 3 |commander4name = Commander 4 Title |commander4 = Link To Commander 4 |commander5name = Commander 5 Title |commander5 = Link To Commander 5 |commander6name = Commander 6 Title |commander6 = Link To Commander 6 |commander7name = Commander 7 Title |commander7 = Link To Commander 7 |commander8name = Commander 8 Title |commander8 = Link To Commander 8 |commander9name = Commander 9 Title |commander9 = Link To Commander 9 |commander10name = Commander 10 Title |commander10 = Link To Commander 10 |discord = Link To Discord |youtube = Link To Youtube |twitter = Link To Twitter |tiktok = Link To Tik Tok |roblox = Link To Roblox Group |ranksandinsignias = Example }}