Difference between revisions of "Template:Military"
(7 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | {| width="275" align="right" cellpadding="3" cellspacing="0" style="border: 1px # | + | {| width="275" align="right" cellpadding="3" cellspacing="0" style="border: 1px #444solid; background: #bbb; border-bottom-right-radius: .8em; border-bottom-left-radius: .8em; -moz-border-radius-bottomright: .8em; -moz-border-radius-bottomleft: .8em; -webkit-border-bottom-right-radius: .8em; -webkit-border-bottom-left-radius: .8em; margin-top: -1.4em; margin: 0 0 1em 1em; font-size: 12px;color: #444;" |
|- | |- | ||
− | + | | colspan="2" style="border-top: 1px solid #444; text-align: center; color: #e5e5ed; font-size:larger; background-color:{{#switch:{{{color|}}} | |
− | |||
− | |||
− | | colspan="2" style="border-top: 1px solid # | ||
|Breen =  #804000 | |Breen =  #804000 | ||
Line 18: | Line 15: | ||
}}; text-align:center;" | '''{{{name}}}''' | }}; text-align:center;" | '''{{{name}}}''' | ||
|- | |- | ||
− | |colspan="2" style="border-top: 1px solid # | + | {{#if: {{{image|}}}| |
+ | {{!}} colspan="2" bgcolor={{{bgcolor_value|#bbb; style="background: #bbb; border-top: 1px solid #444; border-right: 1px solid #444; border-bottom:{{#switch:{{{color|}}} | ||
+ | |||
+ | |Breen =  #804000 | ||
+ | |Cardassian =  #FF8040 | ||
+ | |Federation =   #1F2650 | ||
+ | |Klingon =   #571E19 | ||
+ | |Romulan =   #2A4A26 | ||
+ | |Ferengi =   #0E615A | ||
+ | |Borg =   #228B22 | ||
+ | |Other =   #5B4015 | ||
+ | |||
+ | | {{{color|{{{bgcolor|#5B4015}}}}}}}}; color: #444; font-size:smaller; text-align: center;"}}} {{!}} {{{image}}}}} | ||
+ | |- | ||
+ | {{#if: {{{unit|}}}| | ||
+ | {{!}} colspan="2" style="border-top: 1px solid #444; text-align: center; color: #e5e5ed; background-color:{{#switch:{{{color|}}} | ||
|Breen =  #804000 | |Breen =  #804000 | ||
Line 30: | Line 42: | ||
| {{{color|{{{bgcolor|#422E0F}}}}}} | | {{{color|{{{bgcolor|#422E0F}}}}}} | ||
− | }}; text-align:center; font-size:8pt;" | + | }}; text-align:center; font-size:8pt;" {{{!}}} '''Unit Information'''}} |
|- | |- | ||
{{#if: {{{active|}}}| | {{#if: {{{active|}}}| | ||
− | {{!}} bgcolor={{{bgcolor_value|# | + | {{!}} bgcolor={{{bgcolor_value|#aaa; style="background: #aaa; padding-left:6px; padding-right:6px; border-top: 1px solid #444; border-right: 1px solid #444; color: #333; font-size:smaller;"}}} {{!}} Active: |
− | {{!}} bgcolor={{{bgcolor_value|# | + | {{!}} bgcolor={{{bgcolor_value|#bbb; style="background: #bbb; padding-left:6px; padding-right:6px; border-top: 1px solid #444; font-size:smaller;"}}} {{!}} |
{{{active}}}}} | {{{active}}}}} | ||
|- | |- | ||
{{#if: {{{partof|}}}| | {{#if: {{{partof|}}}| | ||
− | {{!}} bgcolor={{{bgcolor_value|# | + | {{!}} bgcolor={{{bgcolor_value|#aaa; style="background: #aaa; padding-left:6px; padding-right:6px; border-top: 1px solid #444; border-right: 1px solid #444; color: #333; font-size:smaller;"}}} {{!}} Part Of: |
− | {{!}} bgcolor={{{bgcolor_value|# | + | {{!}} bgcolor={{{bgcolor_value|#bbb; style="background: #bbb; padding-left:6px; padding-right:6px; border-top: 1px solid #444; font-size:smaller;"}}} {{!}} |
{{{partof}}}}} | {{{partof}}}}} | ||
|- | |- | ||
{{#if: {{{government|}}}| | {{#if: {{{government|}}}| | ||
− | {{!}} bgcolor={{{bgcolor_value|# | + | {{!}} bgcolor={{{bgcolor_value|#aaa; style="background: #aaa; padding-left:6px; padding-right:6px; border-top: 1px solid #444; border-right: 1px solid #444; color: #333; font-size:smaller;"}}} {{!}} Allegiance: |
− | {{!}} bgcolor={{{bgcolor_value|# | + | {{!}} bgcolor={{{bgcolor_value|#bbb; style="background: #bbb; padding-left:6px; padding-right:6px; border-top: 1px solid #444; font-size:smaller;"}}} {{!}} |
{{{government}}}}} | {{{government}}}}} | ||
|- | |- | ||
{{#if: {{{branch|}}}| | {{#if: {{{branch|}}}| | ||
− | {{!}} bgcolor={{{bgcolor_value|# | + | {{!}} bgcolor={{{bgcolor_value|#aaa; style="background: #aaa; padding-left:6px; padding-right:6px; border-top: 1px solid #444; border-right: 1px solid #444; color: #333; font-size:smaller;"}}} {{!}} Branch: |
− | {{!}} bgcolor={{{bgcolor_value|# | + | {{!}} bgcolor={{{bgcolor_value|#bbb; style="background: #bbb; padding-left:6px; padding-right:6px; border-top: 1px solid #444; font-size:smaller;"}}} {{!}} |
{{{branch}}}}} | {{{branch}}}}} | ||
|- | |- | ||
{{#if: {{{type|}}}| | {{#if: {{{type|}}}| | ||
− | {{!}} bgcolor={{{bgcolor_value|# | + | {{!}} bgcolor={{{bgcolor_value|#aaa; style="background: #aaa; padding-left:6px; padding-right:6px; border-top: 1px solid #444; border-right: 1px solid #444; color: #333; font-size:smaller;"}}} {{!}} Type: |
− | {{!}} bgcolor={{{bgcolor_value|# | + | {{!}} bgcolor={{{bgcolor_value|#bbb; style="background: #bbb; padding-left:6px; padding-right:6px; border-top: 1px solid #444; font-size:smaller;"}}} {{!}} |
{{{type}}}}} | {{{type}}}}} | ||
|- | |- | ||
{{#if: {{{role|}}}| | {{#if: {{{role|}}}| | ||
− | {{!}} bgcolor={{{bgcolor_value|# | + | {{!}} bgcolor={{{bgcolor_value|#aaa; style="background: #aaa; padding-left:6px; padding-right:6px; border-top: 1px solid #444; border-right: 1px solid #444; color: #333; font-size:smaller;"}}} {{!}} Role: |
− | {{!}} bgcolor={{{bgcolor_value|# | + | {{!}} bgcolor={{{bgcolor_value|#bbb; style="background: #bbb; padding-left:6px; padding-right:6px; border-top: 1px solid #444; font-size:smaller;"}}} {{!}} |
{{{role}}}}} | {{{role}}}}} | ||
|- | |- | ||
{{#if: {{{garrison|}}}| | {{#if: {{{garrison|}}}| | ||
− | {{!}} bgcolor={{{bgcolor_value|# | + | {{!}} bgcolor={{{bgcolor_value|#aaa; style="background: #aaa; padding-left:6px; padding-right:6px; border-top: 1px solid #444; border-right: 1px solid #444; color: #333; font-size:smaller;"}}} {{!}} Garrison: |
− | {{!}} bgcolor={{{bgcolor_value|# | + | {{!}} bgcolor={{{bgcolor_value|#bbb; style="background: #bbb; padding-left:6px; padding-right:6px; border-top: 1px solid #444; font-size:smaller;"}}} {{!}} |
{{{garrison}}}}} | {{{garrison}}}}} | ||
+ | |- | ||
+ | {{#if: {{{flagship|}}}| | ||
+ | {{!}} bgcolor={{{bgcolor_value|#aaa; style="background: #aaa; padding-left:6px; padding-right:6px; border-top: 1px solid #444; border-right: 1px solid #444; color: #333; font-size:smaller;"}}} {{!}} Flagship: | ||
+ | {{!}} bgcolor={{{bgcolor_value|#bbb; style="background: #bbb; padding-left:6px; padding-right:6px; border-top: 1px solid #444; font-size:smaller;"}}} {{!}} | ||
+ | {{{flagship}}}}} | ||
|- | |- | ||
{{#if: {{{nickname|}}}| | {{#if: {{{nickname|}}}| | ||
− | {{!}} bgcolor={{{bgcolor_value|# | + | {{!}} bgcolor={{{bgcolor_value|#aaa; style="background: #aaa; padding-left:6px; padding-right:6px; border-top: 1px solid #444; border-right: 1px solid #444; color: #333; font-size:smaller;"}}} {{!}} Nickname: |
− | {{!}} bgcolor={{{bgcolor_value|# | + | {{!}} bgcolor={{{bgcolor_value|#bbb; style="background: #bbb; padding-left:6px; padding-right:6px; border-top: 1px solid #444; font-size:smaller;"}}} {{!}} |
{{{nickname}}}}} | {{{nickname}}}}} | ||
|- | |- | ||
{{#if: {{{motto|}}}| | {{#if: {{{motto|}}}| | ||
− | {{!}} bgcolor={{{bgcolor_value|# | + | {{!}} bgcolor={{{bgcolor_value|#aaa; style="background: #aaa; padding-left:6px; padding-right:6px; border-top: 1px solid #444; border-right: 1px solid #444; color: #333; font-size:smaller;"}}} {{!}} Motto: |
− | {{!}} bgcolor={{{bgcolor_value|# | + | {{!}} bgcolor={{{bgcolor_value|#bbb; style="background: #bbb; padding-left:6px; padding-right:6px; border-top: 1px solid #444; font-size:smaller;"}}} {{!}} |
{{{motto}}}}} | {{{motto}}}}} | ||
|- | |- | ||
{{#if: {{{battles|}}}| | {{#if: {{{battles|}}}| | ||
− | {{!}} bgcolor={{{bgcolor_value|# | + | {{!}} bgcolor={{{bgcolor_value|#aaa; style="background: #aaa; padding-left:6px; padding-right:6px; border-top: 1px solid #444; border-right: 1px solid #444; color: #333; font-size:smaller;"}}} {{!}} Battles: |
− | {{!}} bgcolor={{{bgcolor_value|# | + | {{!}} bgcolor={{{bgcolor_value|#bbb; style="background: #bbb; padding-left:6px; padding-right:6px; border-top: 1px solid #444; font-size:smaller;"}}} {{!}} |
{{{battles}}}}} | {{{battles}}}}} | ||
|- | |- | ||
|- | |- | ||
{{#if: {{{decorations|}}}| | {{#if: {{{decorations|}}}| | ||
− | {{!}} bgcolor={{{bgcolor_value|# | + | {{!}} bgcolor={{{bgcolor_value|#aaa; style="background: #aaa; padding-left:6px; padding-right:6px; border-top: 1px solid #444; border-right: 1px solid #444; color: #333; font-size:smaller;"}}} {{!}} Decorations: |
− | {{!}} bgcolor={{{bgcolor_value|# | + | {{!}} bgcolor={{{bgcolor_value|#bbb; style="background: #bbb; padding-left:6px; padding-right:6px; border-top: 1px solid #444; font-size:smaller;"}}} {{!}} |
{{{decorations}}}}} | {{{decorations}}}}} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
|colspan="2" style="border-bottom-right-radius: .8em; border-bottom-left-radius: .8em; -moz-border-radius-bottomright: .8em; -moz-border-radius-bottomleft: .8em; -webkit-border-bottom-right-radius: .8em; -webkit-border-bottom-left-radius: .8em; text-align: center; color: #e5e5ed; font-variant:small-caps; font-size:smaller; background-color:{{#switch:{{{color|}}} | |colspan="2" style="border-bottom-right-radius: .8em; border-bottom-left-radius: .8em; -moz-border-radius-bottomright: .8em; -moz-border-radius-bottomleft: .8em; -webkit-border-bottom-right-radius: .8em; -webkit-border-bottom-left-radius: .8em; text-align: center; color: #e5e5ed; font-variant:small-caps; font-size:smaller; background-color:{{#switch:{{{color|}}} | ||
Line 180: | Line 118: | ||
| {{{color|{{{bgcolor|#5B4015}}}}}} | | {{{color|{{{bgcolor|#5B4015}}}}}} | ||
− | }}; text-align:center; border-top: 1px solid # | + | }}; text-align:center; border-top: 1px solid #444;" | [[Template:Military|Source]] |
|} | |} | ||
Line 189: | Line 127: | ||
|color = | |color = | ||
|image= | |image= | ||
− | |name | + | |name= |
+ | |unit=(Enter any value if 'Unit Information' heading to be displayed; leave blank if for over-arching military organisation e.g. Starfleet, as opposed to 11th Fleet) | ||
|active= | |active= | ||
|partof= | |partof= | ||
Line 197: | Line 136: | ||
|role= | |role= | ||
|garrison= | |garrison= | ||
+ | |flagship= | ||
|nickname= | |nickname= | ||
|motto= | |motto= | ||
|battles= | |battles= | ||
|decorations= | |decorations= | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
}}</pre> | }}</pre> | ||
− | {| border=0 cellspacing=2 cellpadding=10 style=" | + | {| border=0 cellspacing=2 cellpadding=10 style="margin: 1em auto;text-align:center;" |
− | |-style="text-align: center; background: # | + | |-style="text-align: center; background: #aaa; font-size:10pt; width: 100%;" |
! "Color" field values | ! "Color" field values | ||
|- style="text-align: center; background: #804000; font-size:10pt; width: 100%;" | |- style="text-align: center; background: #804000; font-size:10pt; width: 100%;" | ||
− | | Breen | + | | style="color: #e5e5ed;" | Breen |
|- style="text-align: center; background: #FF8040; font-size:10pt; width: 100%;" | |- style="text-align: center; background: #FF8040; font-size:10pt; width: 100%;" | ||
− | | Cardassian | + | | style="color: #e5e5ed;" | Cardassian |
|- style="text-align: center; background: #1F2650; font-size:10pt; width: 100%;" | |- style="text-align: center; background: #1F2650; font-size:10pt; width: 100%;" | ||
− | | Federation | + | | style="color: #e5e5ed;" | Federation |
|- style="text-align: center; background: #571E19; font-size:10pt; width: 100%;" | |- style="text-align: center; background: #571E19; font-size:10pt; width: 100%;" | ||
− | | Klingon | + | | style="color: #e5e5ed;" | Klingon |
|- style="text-align: center; background: #2A4A26; font-size:10pt; width: 100%;" | |- style="text-align: center; background: #2A4A26; font-size:10pt; width: 100%;" | ||
− | | Romulan | + | | style="color: #e5e5ed;" | Romulan |
|- style="text-align: center; background: #0E615A; font-size:10pt; width: 100%;" | |- style="text-align: center; background: #0E615A; font-size:10pt; width: 100%;" | ||
− | | Ferengi | + | | style="color: #e5e5ed;" | Ferengi |
|- style="text-align: center; background: #228B22; font-size:10pt; width: 100%;" | |- style="text-align: center; background: #228B22; font-size:10pt; width: 100%;" | ||
− | | Borg | + | | style="color: #e5e5ed;" | Borg |
|- style="text-align: center; background: #5B4015; font-size:10pt; width: 100%;" | |- style="text-align: center; background: #5B4015; font-size:10pt; width: 100%;" | ||
− | | width="50%" | Other | + | | style="color: #e5e5ed;" width="50%" | Other |
|} | |} | ||
− | + | The purpose of this template is to provide a basic and generic infobox template for the use of military organisation articles. An alternative template for generic military articles where the command staff are wanted in inclusion is provided at [[Template:Military/CommandStaff]], and a template specific for Starfleet and its affiliated organisations and units is provided at [[Template:Military/Starfleet]] | |
+ | |||
+ | [[Category:Templates|{{PAGENAME}}]] [[Category:Infobox Templates|{{PAGENAME}}]]</noinclude> |
Latest revision as of 14:59, 6 April 2015
{{{name}}} | |
Source |
{{Military |color = |image= |name= |unit=(Enter any value if 'Unit Information' heading to be displayed; leave blank if for over-arching military organisation e.g. Starfleet, as opposed to 11th Fleet) |active= |partof= |government= |branch= |type= |role= |garrison= |flagship= |nickname= |motto= |battles= |decorations= }}
"Color" field values |
---|
Breen |
Cardassian |
Federation |
Klingon |
Romulan |
Ferengi |
Borg |
Other |
The purpose of this template is to provide a basic and generic infobox template for the use of military organisation articles. An alternative template for generic military articles where the command staff are wanted in inclusion is provided at Template:Military/CommandStaff, and a template specific for Starfleet and its affiliated organisations and units is provided at Template:Military/Starfleet