Difference between revisions of "User:General Baker/Sandbox/Infobox unit"

From Hearts of Iron 4 Wiki
Jump to navigation Jump to search
m
m
Line 1: Line 1:
 
{{infobox
 
{{infobox
|header=<div style="font-size:150%; padding: 3px 0px; text-transform: capitalize;">{{{type|armoured}}}</div>
+
|header=<div style="font-size:150%; padding: 3px 0px; text-transform: capitalize;">{{{type|armoured}}} brigade</div>
 
|float=right
 
|float=right
 
|clear=right
 
|clear=right

Revision as of 08:59, 26 February 2014

armoured brigade
<div class="app6a-unit" style="width: {{{width|200px}}}; background-color: transparent; display: inline-block; {{#if:{{{l|}}}|position: absolute; left: {{{l|}}}; top: {{{t|}}};}}"> {| CELLPADDING=0 CELLSPACING=0 style="background-color: transparent;" |width={{{indent|0px}}}|<nowiki /> | {|style="font-size: 10px; background-color: transparent;" CELLPADDING=0 CELLSPACING=0 |align=center|<div style="z-index: 3; background-color: transparent; position:relative; margin-bottom: {{#ifeq: armygroup-star | {{{size|}}} | 0px | {{#ifeq: army-star | {{{size|}}} | 0px | {{#ifeq: corps-star | {{{size|}}} | 0px | {{#ifeq: division-star | {{{size|}}} | 0px | {{#ifeq: brigade-star | {{{size|}}} | 0px | {{#ifeq: fleet-star | {{{size|}}} | 0px | -7px}} }} }} }} }} }}; font-size:16px;"> {{#ifeq: armygroup | {{{size|}}} | [[File:Structure_Star.png]][[File:Structure_Star.png]][[File:Structure_Star.png]][[File:Structure_Star.png]][[File:Structure_Star.png]] | {{#ifeq: army-star | {{{size|}}} | [[File:Structure_Star.png]][[File:Structure_Star.png]][[File:Structure_Star.png]][[File:Structure_Star.png]] | {{#ifeq: corps-star | {{{size|}}} | [[File:Structure_Star.png]][[File:Structure_Star.png]][[File:Structure_Star.png]] | {{#ifeq: division-star | {{{size|}}} | [[File:Structure_Star.png]][[File:Structure_Star.png]] | {{#ifeq: brigade-star | {{{size|}}} | [[File:Structure_Star.png]] | {{#ifeq: fleet-star | {{{size|}}} | [[File:Structure_Star.png]] | {{#ifeq: armygroup| {{{size|}}} | X X X X X | {{#ifeq: army| {{{size|}}} | X X X X | {{#ifeq: corps| {{{size|}}} | X X X | {{#ifeq: division| {{{size|}}} | X X | {{#ifeq: brigade| {{{size|}}} | X | {{#ifeq: fleet| {{{size|}}} | X | {{#ifeq: regiment | {{{size|}}} | I I I | {{#ifeq: ship | {{{size|}}} | I I I | {{#ifeq: group | {{{size|}}} | I I I | {{#ifeq: battalion | {{{size|}}} | I I | {{#ifeq: wing | {{{size|}}} | I I | {{#ifeq: company | {{{size|}}} | I | {{#ifeq: squadron | {{{size|}}} | I | {{#ifeq: platoon | {{{size|}}} | ••• | {{#ifeq: flight | {{{size|}}} | ••• | {{#ifeq: squad | {{{size|}}} | •• | {{#ifeq: patrol | {{{size|}}} | • | }} }} }} }} }} }} }} }} }} }} }} }} }} }} }} }} }} }} }} }} }} }} }}</div> |- |rowspan=2|<span style="z-index: 1; background: {{{bg|white}}}; display: inline-block;">[[File:{{#ifeq: infantry | {{{type|}}} | APP-6_Infantry.png | {{#ifeq: artillery | {{{type|}}} | APP-6 Artillery.png | {{#ifeq: antiaircraft | {{{type|}}} | APP-6 Air Defence.png | {{#ifeq: armoured | {{{type|}}} | APP-6 Armored.png | {{#ifeq: combinedarms | {{{type|}}} | APP-6 Combined_Arms.png | {{#ifeq: helicopter | {{{type|}}} | APP-6 Army Aviation.png | {{#ifeq: fixedwing | {{{type|}}} | APP-6 Air Force.png | {{#ifeq: ship | {{{type|}}} | APP-6 Navy.png | {{#ifeq: specialforces | {{{type|}}} | APP-6 Special Forces.png | {{#ifeq: specialoperations | {{{type|}}} | APP-6 Special Operations Forces.png | {{#ifeq: recon | {{{type|}}} | APP-6 Reconnaissance.png | {{#ifeq: cavalry | {{{type|}}} | APP-6 Reconnaissance.png | {{#ifeq: supply | {{{type|}}} | APP-6 Combat Supply.png | {{#ifeq: hq | {{{type|}}} | APP-6_HQ_Support.png | {{#ifeq: blank | {{{type|}}} | APP-6_Blank.png | {{#ifeq: staff | {{{type|}}} | APP-6_HQ_Support.png | APP-6_Blank.png }} }} }} }} }} }} }} }} }} }} }} }} }} }} }} }}|55px]]</span>{{#ifeq: mountain | {{{special|}}} | <span style="z-index: 2; margin-left:-55px; margin-top:0px;">[[File:APP-6 Mountain.png|55px]]</span> | {{#ifeq: amphibious | {{{special|}}} | <span style="z-index: 2; margin-left:-55px; margin-top:0px;">[[File:APP-6 Amphibious.png|55px]]</span> | {{#ifeq: parachute | {{{special|}}} | <span style="z-index: 2; margin-left:-55px; margin-top:0px;">[[File:APP-6 Parachute.png|55px]]</span> | {{#ifeq: airmobile | {{{special|}}} | <span style="z-index: 2; margin-left:-55px; margin-top:0px;">[[File:APP-6 Airmobile.png|55px]]</span> | {{#ifeq: recon | {{{special|}}} | <span style="z-index: 2; margin-left:-55px; margin-top:0px;">[[File:APP-6 Reconnaissance.png|55px]]</span> | {{#ifeq: airborne| {{{special|}}} | <span style="z-index: 2; margin-left:-55px; margin-top:0px;">[[File:APP-6 Air-transportable.png|55px]]</span> | {{#ifeq: specialforces | {{{special|}}} | <span style="z-index: 2; margin-left:-55px; margin-top:0px;">[[File:APP-6 Special Forces.png|55px]]</span> | {{#ifeq: specialoperations | {{{special|}}} | <span style="z-index: 2; margin-left:-55px; margin-top:0px;">[[File:APP-6 Special Operations Forces.png|55px]]</span> | {{#ifeq: staff| {{{special|}}} | <span style="z-index: 2; margin-left:-55px; margin-top:0px;">[[File:APP-6_HQ_Support.png|55px]]</span> | {{#ifeq: hq| {{{special|}}} | <span style="z-index: 2; margin-left:-55px; margin-top:0px;">[[File:APP-6_HQ_Support.png|55px]]</span> | {{#ifeq: mechanized| {{{special|}}} | <span style="z-index: 2; margin-left:-55px; margin-top:0px;">[[File:APP-6 Mechanized.png|55px]]</span> | {{#ifeq: armoured| {{{special|}}} | <span style="z-index: 2; margin-left:-55px; margin-top:0px;">[[File:APP-6 Armored.png|55px]]</span> | {{#ifeq: motorized| {{{special|}}} | <span style="z-index: 2; margin-left:-55px; margin-top:0px;">[[File:APP-6 Motorized.png|55px]]</span> | {{#ifeq: wheeled| {{{special|}}} | <span style="z-index: 2; margin-left:-55px; margin-top:0px;">[[File:APP-6 Wheeled.png|55px]]</span> | {{#ifeq: navy | {{{special|}}} | <span style="z-index: 2; margin-left:-55px; margin-top:0px;">[[File:APP-6 Navy.png|55px]]</span> | }} }} }} }} }} }} }} }} }} }} }} }} }} }} }}{{#ifeq: mountain | {{{special2|}}} | <span style="z-index: 3; margin-left:-55px; margin-top:0px;">[[File:APP-6 Mountain.png|55px]]</span> | {{#ifeq: amphibious | {{{special2|}}} | <span style="z-index: 3; margin-left:-55px; margin-top:0px;">[[File:APP-6 Amphibious.png|55px]]</span> | {{#ifeq: parachute | {{{special2|}}} | <span style="z-index: 3; margin-left:-55px; margin-top:0px;">[[File:APP-6 Parachute.png|55px]]</span> | {{#ifeq: airmobile | {{{special2|}}} | <span style="z-index: 3; margin-left:-55px; margin-top:0px;">[[File:APP-6 Airmobile.png|55px]]</span> | {{#ifeq: recon | {{{special2|}}} | <span style="z-index: 3; margin-left:-55px; margin-top:0px;">[[File:APP-6 Reconnaissance.png|55px]]</span> | {{#ifeq: airborne| {{{special2|}}} | <span style="z-index: 3; margin-left:-55px; margin-top:0px;">[[File:APP-6 Air-transportable.png|55px]]</span> | {{#ifeq: specialforces | {{{special2|}}} | <span style="z-index: 3; margin-left:-55px; margin-top:0px;">[[File:APP-6 Special Forces.png|55px]]</span> | {{#ifeq: specialoperations | {{{special2|}}} | <span style="z-index: 3; margin-left:-55px; margin-top:0px;">[[File:APP-6 Special Operations Forces.png|55px]]</span> | {{#ifeq: staff| {{{special2|}}} | <span style="z-index: 3; margin-left:-55px; margin-top:0px;">[[File:APP-6_HQ_Support.png|55px]]</span> | {{#ifeq: hq| {{{special2|}}} | <span style="z-index: 3; margin-left:-55px; margin-top:0px;">[[File:APP-6_HQ_Support.png|55px]]</span> | {{#ifeq: mechanized| {{{special2|}}} | <span style="z-index: 3; margin-left:-55px; margin-top:0px;">[[File:APP-6 Mechanized.png|55px]]</span> | {{#ifeq: armoured| {{{special2|}}} | <span style="z-index: 3; margin-left:-55px; margin-top:0px;">[[File:APP-6 Armored.png|55px]]</span> | {{#ifeq: motorized| {{{special2|}}} | <span style="z-index: 3; margin-left:-55px; margin-top:0px;">[[File:APP-6 Motorized.png|55px]]</span> | {{#ifeq: wheeled| {{{special2|}}} | <span style="z-index: 3; margin-left:-55px; margin-top:0px;">[[File:APP-6 Wheeled.png|55px]]</span> | {{#ifeq: navy | {{{special2|}}} | <span style="z-index: 3; margin-left:-55px; margin-top:0px;">[[File:APP-6 Navy.png|55px]]</span> | }} }} }} }} }} }} }} }} }} }} }} }} }} }} }} |valign=bottom| <font size=1px>{{{name|}}}</font> |- | <font size=1px>{{uc:{{{location|}}} }}</font> {{#if:{{{commander|}}}| {{!}}- {{!}}colspan=2{{!}}<font size=1px style="text-transform: uppercase">{{{commander|}}}</font>}} |- |} |} </div><noinclude> {{User:General_Baker/Sandbox/app6a/doc}} </noinclude>

Manpower Officers Strength
2.33 100 30
Softness Weight Air Attack
20% 20 0.33
{{Country
| Capital =
| Government =
| Faction =
}}

Use this template for all countries.

Upload the flag in Special:Upload at a resolution of 800x533 to 900x600.

The optional parameter Sortkey can be used to change the default sorting in the Category:Countries .