Template:Infobox Batallion: Difference between revisions

From April Knights Wiki
No edit summary
No edit summary
Line 1: Line 1:
{|cellspacing = "3" style = "font-size: 100%; width: 300px; line-height: 1.5em; text-align: left; float: right; border:1.5px solid #000000"
{|cellspacing = "3" style = "font-size: 100%; width: 300px; line-height: 1.5em; text-align: left; float: right; border:1.5px solid #000000"
   |colspan="2" style="font-weight: bold; font-size: 125%; background-color: {{{box color|#cccccc}}}; color: {{{font color|#000000}}}; text-align:center; padding:0.5em" colspan="2" |{{{name|{{PAGENAME}}}}}
   |colspan="2" style="font-weight: bold; font-size: 125%; background-color: {{{box color|#cccccc}}}; color: {{{font color|#000000}}}; text-align:center; padding:0.5em" colspan="2" |{{{name|{{PAGENAME}}}}}
   |-  
{{#if:{{{image|}}}|
     {{!}} colspan="2" style="text-align:center;" {{!}}[[{{{image}}}|300px]]<br />''{{{caption}}}''
   |-
     {{!}} colspan="2" style="text-align:center;" {{!}}[[{{{image|}}}|300px]]{{#if:{{{caption|}}}|<br />''{{{caption|}}}''}}
}}
{{#if:{{{founded|}}}|
   |-
   |-
     {{!}} style="color:#000000; vertical-align:top;"{{!}}'''Founded'''
     {{!}} style="color:#000000; vertical-align:top;"{{!}}'''Founded'''
     |{{{founded}}}
     {{!}}{{{founded|}}}
}}
{{#if:{{{commander|}}}|
   |-
   |-
     {{!}}style="color:#000000; vertical-align:top;"{{!}}'''Commander'''
     {{!}}style="color:#000000; vertical-align:top;"{{!}}'''Commander'''
     |{{{commander}}}
     {{!}}{{{commander|}}}
}}
{{#if:{{{first officer|}}}|
   |-
   |-
     {{!}}style="color:#000000; vertical-align:top;"{{!}}'''First Officer'''
     {{!}}style="color:#000000; vertical-align:top;"{{!}}'''First Officer'''
     |{{{first officer}}}
     {{!}}{{{first officer|}}}
}}
{{#if:{{{motto|}}}|
  |-
    !style="background-color: {{{box color|#cccccc}}}; color: {{{font color|#000000}}}; padding:0.25em" align="center" colspan="2"|Motto
  |-
    {{!}}style= "text-align: center; padding:0.5em" colspan="2"|''{{{motto|}}}''
}}
{{#if:{{{coat of arms image|}}}|
  |-
    !style="background-color: {{{box color|#cccccc}}}; color: {{{font color|#000000}}}; padding:0.25em" align="center" colspan="2"|Coat of Arms
  |-
    {{!}}style="text-align:center; padding:0.5em" colspan="2"|[[{{{coat of arms image|}}}|300px]]{{#if:{{{coat of arms caption|}}}|<br />''{{{coat of arms caption|}}}''}}
}}
{{#if:{{{battalion animal image|}}}|
   |-
   |-
!style="background-color: {{{box color|#cccccc}}}; color: {{{font color|#000000}}}; padding:0.25em" align="center" colspan="2"|Motto
    !style="background-color: {{{box color|#cccccc}}}; color: {{{font color|#000000}}}; padding:0.25em" align="center" colspan="2"|Battalion Animal
   |-
   |-
     {{!}}style= "text-align: center; padding:0.5em" colspan="2"|''{{{motto}}}''
     {{!}}style="text-align:center; padding:0.5em" colspan="2"|[[{{{battalion animal image|}}}|300px]]{{#if:{{{battalion animal caption|}}}|<br />''{{{battalion animal caption|}}}''}}
}}
|}<noinclude><br style="clear:both;" />
|}<noinclude><br style="clear:both;" />
{{documentation}}
{{documentation}}
[[Category:Templates]][[Category:Templates/Infoboxes]]</noinclude>
[[Category:Templates]][[Category:Templates/Infoboxes]]</noinclude>

Revision as of 21:59, 7 March 2026

Infobox Batallion

-

[[|300px]]

-

Founded

-

Commander

-

First Officer

-

style="background-color: #cccccc; color: #000000; padding:0.25em" align="center" colspan="2"

-

style="background-color: #cccccc; color: #000000; padding:0.25em" align="center" colspan="2"

-

style="background-color: #cccccc; color: #000000; padding:0.25em" align="center" colspan="2"


Template documentation follows
Note: the template above may sometimes be partially or fully invisible.
Visit Template:Infobox_Batallion/doc to edit this documentation. (How does this work?)

Description

This template is used to insert an infobox onto the battalion pages

Syntax

{{Infobox Batallion
 | image                    = 
 | caption                  = 
 | founded                  =
 | commander                = 
 | first officer            =
 | motto                    =
 | coat of arms image       =
 | coat of arms caption     =
 | battalion animal image   =
 | battalion animal caption =
}}
>

Example

Note: The title of the infobox will always be the title of the page

Infobox Batallion




{{Infobox Batallion
 | caption      = Flag of the Redguard
 | image        = image:RedguardNew.png
 | founded      = April 2, 2015
 | commander    = /u/Gryph667
 | first officer= /u/xxxSinxxx
 | motto         = "Redguard Provides, Redguard Prevails"
 | coat of arms image       = image:RG-CoA.png
 | coat of arms caption     = Redguard Coat of Arms
 | battalion animal image   = image:RG-Bear.png
 | battalion animal caption = Mir the Red Bear
}}