Template:UnitInfoBox: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 48: | Line 48: | ||
| style="{{#if:{{{full_name|}}}| |display: none;}}" valign="top" | '''Full Name''' | | style="{{#if:{{{full_name|}}}| |display: none;}}" valign="top" | '''Full Name''' | ||
| style="{{#if:{{{full_name|}}}| |display: none;}}" class="infoboxcell" 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:{{{nicknames|}}}| |display: none;}}" valign="top" | '''Nickname(s)''' | |||
| style="{{#if:{{{nicknames|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{nicknames|}}} | |||
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;" | |- style="border-top: 1px solid #999; border-bottom: 1px solid #999;" | ||
| style="{{#if:{{{active|}}}| |display: none;}}" valign="top" | '''Active''' | | style="{{#if:{{{active|}}}| |display: none;}}" valign="top" | '''Active''' | ||
Line 54: | Line 57: | ||
| style="{{#if:{{{servicebranches|}}}| |display: none;}}" valign="top" | '''Service Branches''' | | style="{{#if:{{{servicebranches|}}}| |display: none;}}" valign="top" | '''Service Branches''' | ||
| style="{{#if:{{{servicebranches|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{servicebranches|}}} | | style="{{#if:{{{servicebranches|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{servicebranches|}}} | ||
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;" | |||
| style="{{#if:{{{branch|}}}| |display: none;}}" valign="top" | '''Branch''' | |||
| style="{{#if:{{{branch|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{branch|}}} | |||
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;" | |- style="border-top: 1px solid #999; border-bottom: 1px solid #999;" | ||
| style="{{#if:{{{country|}}}| |display: none;}}" valign="top" | '''Country''' | | style="{{#if:{{{country|}}}| |display: none;}}" valign="top" | '''Country''' | ||
Line 71: | Line 77: | ||
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;" | |- style="border-top: 1px solid #999; border-bottom: 1px solid #999;" | ||
| style="{{#if:{{{motto|}}}| |display: none;}}" valign="top" | '''Motto''' | | style="{{#if:{{{motto|}}}| |display: none;}}" valign="top" | '''Motto''' | ||
| style="{{#if:{{{motto|}}}| |display: none;}}" class="infoboxcell" valign="top" | <i>{{{motto|}}}<i> | | 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:{{{colours|}}}| |display: none;}}" valign="top" | '''Colours''' | |||
| style="{{#if:{{{colours|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{colours|}}} | |||
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;" | |||
| style="{{#if:{{{garrison|}}}| |display: none;}}" valign="top" | '''Garrison''' | |||
| style="{{#if:{{{garrison|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{garrison|}}} | |||
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;" | |||
| style="{{#if:{{{engagements|}}}| |display: none;}}" valign="top" | '''Engagements''' | |||
| style="{{#if:{{{engagements|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{engagements|}}} | |||
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;" | |||
| style="{{#if:{{{equipment|}}}| |display: none;}}" valign="top" | '''Equipment''' | |||
| style="{{#if:{{{equipment|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{equipment|}}} | |||
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;" | |- style="border-top: 1px solid #999; border-bottom: 1px solid #999;" | ||
| style="{{#if:{{{size|}}}| |display: none;}}" valign="top" | '''Size''' | | style="{{#if:{{{size|}}}| |display: none;}}" valign="top" | '''Size''' | ||
Line 84: | Line 102: | ||
| style="{{#if:{{{warsfought|}}}| |display: none;}}" valign="top" | '''Wars Fought''' | | style="{{#if:{{{warsfought|}}}| |display: none;}}" valign="top" | '''Wars Fought''' | ||
| style="{{#if:{{{warsfought|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{warsfought|}}} | | style="{{#if:{{{warsfought|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{warsfought|}}} | ||
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;" | |||
| style="{{#if:{{{battlehonours|}}}| |display: none;}}" valign="top" | '''Battle honours''' | |||
| style="{{#if:{{{battlehonours|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{battlehonours|}}} | |||
|- | |- | ||
! colspan="2" style="{{#if:{{{hideb|}}}|display: none;| |}} text-align:center; font-weight:normal; color:#FFFFFF; background:#212121;" | '''Commanders''' | ! colspan="2" style="{{#if:{{{hideb|}}}|display: none;| |}} text-align:center; font-weight:normal; color:#FFFFFF; background:#212121;" | '''Commanders''' | ||
Line 166: | Line 187: | ||
|headquarters = *o Example (can be a link!) | |headquarters = *o Example (can be a link!) | ||
|warsfought = list of wars fought | |warsfought = list of wars fought | ||
|branch=Example | |||
|colours=Example | |||
|garrison=Example | |||
|equipment=Example | |||
|battlehonours=Example | |||
|engagements=Example | |||
|commander1name = Commander In Chief, Executive | |commander1name = Commander In Chief, Executive |
Revision as of 14:18, 24 February 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 |branch=Example |colours=Example |garrison=Example |equipment=Example |battlehonours=Example |engagements=Example |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 }}