Template:Infobox Batallion: Difference between revisions

From April Knights Wiki
mNo edit summary
mNo edit summary
Line 2: Line 2:
|colspan="2" style="font-weight: bold; font-size: 125%; background-color: {{{box color|#bbbbbb}}}; 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|#bbbbbb}}}; color: {{{font color|#000000}}}; text-align:center; padding:0.5em;" colspan="2" |{{{name|{{PAGENAME}}}}}
|-
|-
{{#if:{{{image<includeonly>|</includeonly>}}} |
|
{{!}} colspan="2" style="text-align:center;" {{!}}{{{image}}}{{#if:{{{caption|}}}|<br />''{{{caption}}}''}}
{{!}} colspan="2" style="text-align:center;" {{!}}{{{image}}}|<br />''{{{caption}}}''
{{!}}-
{{!}}-
}}
|-|-
|-|-
{{#if:{{{founded<includeonly>|</includeonly>}}} |
{{!}}style="color:#000000; vertical-align:top;"{{!}}'''Founded'''
{{!}}style="color:#000000; vertical-align:top;"{{!}}'''Founded'''
{{!}}{{{founded}}}
{{!}}{{{founded}}}
{{!}}-
{{!}}-
}}
{{#if:{{{commander<includeonly>|</includeonly>}}} |
{{!}}style="color:#000000; vertical-align:top;"{{!}}'''Commander'''
{{!}}style="color:#000000; vertical-align:top;"{{!}}'''Commander'''
{{!}}{{{commander}}}
{{!}}{{{commander}}}
{{!}}-
{{!}}-
}}
}}
}}
{{#if:{{{members<includeonly>|</includeonly>}}} |
{{!}}style="color:#000000; vertical-align:top;"{{!}}'''Members'''
{{!}}style="color:#000000; vertical-align:top;"{{!}}'''Members'''
{{!}}{{{members}}}
{{!}}{{{members}}}
{{!}}-
{{!}}-
}}


! style="background-color: {{{box color|#bbbbbb}}}; color: {{{font color|#000000}}};" align="center" colspan="2"|Moto
! style="background-color: {{{box color|#bbbbbb}}}; color: {{{font color|#000000}}};" align="center" colspan="2"|Moto
|-
|-
{{#if:{{{moto<includeonly>moto</includeonly>}}} |
{{!}}{{{moto}}}
{{!}}{{{moto}}}
{{!}}-
{{!}}-
}}
|-
|-
|}<noinclude><br style="clear:both;" />
|}<noinclude><br style="clear:both;" />
{{documentation}}</noinclude>
{{documentation}}</noinclude>
<noinclude>[[Category:Templates]][[Category:Templates/Infoboxes]]</noinclude>
<noinclude>[[Category:Templates]][[Category:Templates/Infoboxes]]</noinclude>

Revision as of 17:50, 3 April 2025

}}
Infobox Batallion
{{{image}}}|
{{{caption}}}
Founded {{{founded}}}
Commander {{{commander}}}
Members {{{members}}}
Moto
{{{moto}}}


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=
 | moto         =
}}

Example

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

}}
Infobox Batallion
image:RedguardNew.png|
Flag of the Redguard
Founded April 2, 2015
Commander /u/Gryph667
Members {{{members}}}
Moto
"Redguard Provides, Redguard Prevails"


{{Infobox Batallion
 | caption      = Flag of the Redguard
 | image        = image:RedguardNew.png
 | founded      = April 2, 2015
 | commander    = /u/Gryph667
 | first officer= /u/xxxSinxxx
 | moto         = "Redguard Provides, Redguard Prevails"
}}