Template:UnitInfoBox: Difference between revisions

From RoNations Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(34 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 13: Line 20:
}}
}}
|-
|-
! 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|}}}||Coat of Arms|}}</font>}}}
! 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;"
|- style="text-align:center;"
|-
|-
Line 50: Line 57:
| style="{{#if:{{{active|}}}| |display: none;}}" valign="top" | '''Active'''
| style="{{#if:{{{active|}}}| |display: none;}}" valign="top" | '''Active'''
| style="{{#if:{{{active|}}}| |display: none;}}" class="infoboxcell" 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:{{{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 67: 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" | {{{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:{{{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 77: 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 109: Line 149:
| style="{{#if:{{{commander10name|}}}| |display: none;}}" valign="top" | {{{commander10name}}}
| style="{{#if:{{{commander10name|}}}| |display: none;}}" valign="top" | {{{commander10name}}}
| style="{{#if:{{{commander10|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{commander10|}}}
| style="{{#if:{{{commander10|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{commander10|}}}
|-
! 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;}}" 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'''
! colspan="2" style="{{#if:{{{hideb|}}}|display: none;| |}} text-align:center; font-weight:normal; color:#FFFFFF; background:#212121;" | '''Insignias'''
Line 114: Line 171:
| style="{{#if:{{{ranksandinsignias|}}}| |display: none;}}" valign="top" | '''Ranks And Insignias'''
| style="{{#if:{{{ranksandinsignias|}}}| |display: none;}}" valign="top" | '''Ranks And Insignias'''
| style="{{#if:{{{ranksandinsignias|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{[[ranksandinsignias]]|}}}
| style="{{#if:{{{ranksandinsignias|}}}| |display: none;}}" class="infoboxcell" valign="top" | {{{[[ranksandinsignias]]|}}}
|- style="text-align:center;"
|-
{{#if:{{{image3<includeonly>|</includeonly>}}} |
{{!}} colspan="2" style="text-align:center;background-color:#;{{#if:{{{image5|}}}||display:none;}}" {{!}}{{{image5}}}
{{!}}-
}}
|}</div>
|}</div>
|}
|}
<noinclude>
<noinclude>
'''*o means optional!'''
Example Usage:<pre>
Example Usage:<pre>
{{UnitInfoBox
{{UnitInfoBox
|color = Example
|title1 = Page Title, usually the unit's name
|title1 = Example
|image1 = *o, Image Name: [[File:NameOfImageHere.png|250px|Image1 Description]]
|image1 = Example
|image2 = *o, Image Name: [[File:NameOfImageHere.png|170px|Image2 Description]]
|image2 = Example
|image3 = *o, Image Name: [[File:NameOfImageHere.png|170px|Image3 Description]]
|image3 = Example
|full_name = *o Full Name Of Unit Goes Here
|full_name = Example
|active = 1st January 1999 - Current Day | 1st January 1999 - 1st January 2023
|active = Example
|servicebranches =
|country = Example
Army - 1st January 1999 - Current Day | 1st January 1999 - 1st January 2023
|type = [[Army]] [[Navy]] [[Airforce]] [[Police]] [[Other]]
Navy - 1st January 1999 - Current Day | 1st January 1999 - 1st January 2023
|anthem = [[File:Example.ogg]]
Navy - 1st January 1999 - Current Day | 1st January 1999 - 1st January 2023
|march = [[File:Example.ogg]]
Other - 1st January 1999 - Current Day | 1st January 1999 - 1st January 2023
|quickmarch = [[File:Example.ogg]]
|country = [[Nation:_Nation_Goes_Here|Text you want people to see here]]
|motto = Example
|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>
|size=100 active personnel <small>(Apr 2023)</small>
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)
|headquarters = Example
|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
|commander1name = Commander In Chief, Executive
Line 172: Line 238:
|commander10name = Commander 10 Title
|commander10name = Commander 10 Title
|commander10 = Link To Commander 10
|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
|ranksandinsignias = Example
|image5 = Example
}}
}}
</pre>
</pre>
</noinclude>
<noinclude>
[[Category: Templates]]
</noinclude>
</noinclude>

Latest revision as of 01: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
}}