Template:Infobox Batallion: Difference between revisions

From April Knights Wiki
No edit summary
No edit summary
Line 22: Line 22:
{{#if:{{{motto|}}}|
{{#if:{{{motto|}}}|
   |-
   |-
     !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"|Motto
   |-
   |-
     {{!}}style= "text-align: center; padding:0.5em" colspan="2"|''{{{motto|}}}''
     {{!}}style= "text-align: center; padding:0.5em" colspan="2"|''{{{motto|}}}''
Line 28: Line 28:
{{#if:{{{coat of arms image|}}}|
{{#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="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|}}}''}}
     {{!}}style="text-align:center; padding:0.5em" colspan="2"|[[{{{coat of arms image|}}}|300px]]{{#if:{{{coat of arms caption|}}}|<br />''{{{coat of arms caption|}}}''}}
Line 34: Line 34:
{{#if:{{{battalion animal image|}}}|
{{#if:{{{battalion animal image|}}}|
   |-
   |-
     !style="background-color: {{{box color|#cccccc}}}; color: {{{font color|#000000}}}; padding:0.25em" align="center" colspan="2"|Battalion Animal
     {{!}}!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"|[[{{{battalion animal image|}}}|300px]]{{#if:{{{battalion animal caption|}}}|<br />''{{{battalion animal caption|}}}''}}
     {{!}}style="text-align:center; padding:0.5em" colspan="2"|[[{{{battalion animal image|}}}|300px]]{{#if:{{{battalion animal caption|}}}|<br />''{{{battalion animal caption|}}}''}}

Revision as of 23:45, 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
}}