Template:Infobox Batallion: Difference between revisions

From April Knights Wiki
mNo edit summary
m Finished the infobox. Have it formatted and good to go.
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="text-align:center;" {{!}}[[{{{image}}}|300px]]<br />''{{{caption}}}''
{{!}}-
|-|-
{{!}}style="color:#000000; vertical-align:top;"{{!}}'''Founded'''
|{{{founded}}}
{{!}}-
{{!}}style="color:#000000; vertical-align:top;"{{!}}'''Commander'''
|{{{commander}}}
{{!}}-
{{!}}style="color:#000000; vertical-align:top;"{{!}}'''Members'''
|{{{members}}}
{{!}}-


! style="background-color: {{{box color|#cccccc}}}; color: {{{font color|#000000}}};" align="center" colspan="2"|Moto
  |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}}}}}
|-
  |-
{{!}}style= "padding:0.5em" colspan="2"|{{{moto}}}
    {{!}} colspan="2" style="text-align:center;" {{!}}[[{{{image}}}|300px]]<br />''{{{caption}}}''
|}<noinclude><br style="clear:both;" />
  |-
    {{!}} style="color:#000000; vertical-align:top;"{{!}}'''Founded'''
    |{{{founded}}}
  |-
    {{!}}style="color:#000000; vertical-align:top;"{{!}}'''Commander'''
    |{{{commander}}}
  |-
    {{!}}style="color:#000000; vertical-align:top;"{{!}}'''Members'''
    |{{{members}}}
  |-
 
!style="background-color: {{{box color|#cccccc}}}; color: {{{font color|#000000}}}; padding:0.25em" align="center" colspan="2"|Moto
  |-
    {{!}}style= "padding:0.5em" colspan="2"|''{{{moto}}}''
|}
 
<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 18:43, 3 April 2025

Infobox Batallion
[[{{{image}}}|300px]]
{{{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

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"
}}