Template:UnitInfoBox: Difference between revisions

From RoNations Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(12 intermediate revisions by the same user not shown)
Line 1: Line 1:
[[Category: Templates]]
<noinclude>
{| cellspacing="1" cellpadding="1" style="float:right; clear:right; margin: 0 0 .5em 1em; width:280px; background: border-collapse:collapse; border:3.5px solid {{{color|}}}; font-size:smaller; line-height:1.5"
[[Category:DiscontinuedTemplates]]
{{DiscontinuedTemplate
|newtemplate=[[Template:MilitaryUnit]]
}}
</noinclude>
{| 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>
Line 7: Line 12:
! colspan="2" style="text-align:center; color:#FFFFFF; background:#212121; font-size:200%;" | {{{name|<font color="white">{{{title1}}}</font>}}}
! 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;"
|-
| style="background-color:#EEEEEE;text-align:center;vertical-align:middle;color: grey; {{#if:{{{part_of|}}}| |display: none;}}" colspan="2" | Part of: {{{part_of|}}}
|-
|-
{{#if:{{{image1<includeonly>|</includeonly>}}} |
{{#if:{{{image1<includeonly>|</includeonly>}}} |
Line 53: Line 60:
| 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'''
| style="{{#if:{{{country|}}}| |display: none;}}" class="infoboxcell" 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:{{{part_of_2|}}}| |display: none;}}" valign="top" | '''Part of'''
| style="{{#if:{{{part_of_2|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{part_of_2|}}}
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
| style="{{#if:{{{type|}}}| |display: none;}}" valign="top" | '''Type'''
| style="{{#if:{{{type|}}}| |display: none;}}" valign="top" | '''Type'''
| style="{{#if:{{{type|}}}| |display: none;}}" class="infoboxcell" 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:{{{role|}}}| |display: none;}}" valign="top" | '''Role'''
| style="{{#if:{{{role|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{role|}}}
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
| style="{{#if:{{{anthem|}}}| |display: none;}}" valign="top" | '''Anthem'''
| style="{{#if:{{{anthem|}}}| |display: none;}}" valign="top" | '''Anthem'''
Line 70: Line 86:
|- 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:{{{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="{{#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 80: Line 111:
| style="{{#if:{{{headquarters|}}}| |display: none;}}" valign="top" | '''Headquarters'''
| style="{{#if:{{{headquarters|}}}| |display: none;}}" valign="top" | '''Headquarters'''
| style="{{#if:{{{headquarters|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{headquarters|}}}
| style="{{#if:{{{headquarters|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{headquarters|}}}
|- style="border-top: 1px solid #999; border-bottom: 1px solid #999;"
| style="{{#if:{{{warsfought|}}}| |display: none;}}" valign="top" | '''Wars Fought'''
| 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 153: Line 190:
|country = [[Nation:_Nation_Goes_Here|Text you want people to see here]]
|country = [[Nation:_Nation_Goes_Here|Text you want people to see here]]
|type = *o [[Army]] [[Navy]] [[Airforce]] [[Police]] [[Other]]
|type = *o [[Army]] [[Navy]] [[Airforce]] [[Police]] [[Other]]
|role=*o
|anthem = *o [[File:Example.ogg]]
|anthem = *o [[File:Example.ogg]]
|march = *o [[File:Example.ogg]]
|march = *o [[File:Example.ogg]]
Line 160: Line 198:
1,382 reserve 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)
|partof = Link To What Its Part Of (if its part of something)
|partof_2 = Link To What Its Part Of (if its part of something)
|headquarters = *o Example (can be a link!)
|headquarters = *o Example (can be a link!)
|warsfought = list of wars fought
|branch=Example
|colours=Example
|garrison=Example
|equipment=Example
|battlehonours=Example
|engagements=Example
|nicknames=Example


|commander1name = Commander In Chief, Executive
|commander1name = Commander In Chief, Executive
Line 201: Line 248:
}}
}}
</pre>
</pre>
</noinclude>
<noinclude>
[[Category: Templates]]
</noinclude>
</noinclude>

Latest revision as of 02:04, 4 April 2024

This template has been discontinued!
This template is in the process of being removed. Refrain from any edits to pages using this template, instead please use Template:MilitaryUnit without first contacting the main page editor.


{{{title1}}}
Part of:
{{{image1}}}
{{{image2}}}
{{{image3}}}
{{{image4}}}
{{{image5}}}
National Information
Full Name
Active
Service Branches
Branch
Country
Part of
Type
Role
Anthem
March
Quick March
Motto
Colours
Garrison
Nickname(s)
Engagements
Equipment
Size
Part Of
Headquarters
Wars Fought
Battle honours
Commanders
{{{commander1name}}}
{{{commander2name}}}
{{{commander3name}}}
{{{commander4name}}}
{{{commander5name}}}
{{{commander6name}}}
{{{commander7name}}}
{{{commander8name}}}
{{{commander9name}}}
{{{commander10name}}}
Socials
Discord
Twitter
Youtube
Tik Tok
Roblox Group
Insignias
Ranks And Insignias

*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]]
|role=*o
|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)
|partof_2 = 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
|nicknames=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
}}