Template:Infobox Batallion: Difference between revisions

From April Knights Wiki
Created page with "<infobox> <title source="title1"> <default>{{PAGENAME}}</default> </title> <image source="image"> <caption source="caption"/> </image> <group> <header>Information</header> <data source="founded"> <label>Founded</label> </data> <data source="commander"> <label>Commander</label> </data> <data source="members"> <label>Members</label> </data> </group> <group> <header>Moto</header> <data source="moto"..."
 
No edit summary
 
(36 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<infobox>
{|cellspacing = "3" style = "font-size: 100%; width: 300px; line-height: 1.5em; text-align: left; float: right; border:1.5px solid #000000"
   <title source="title1">
   |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}}}}}
    <default>{{PAGENAME}}</default>
   |-
   </title>
    {{!}} colspan="2" style="text-align:center;" {{!}}[[{{{image|}}}|300px]]<br />''{{{caption|}}}''
  <image source="image">
   |-
    <caption source="caption"/>
     {{!}} style="color:#000000; vertical-align:top;"{{!}}'''Founded'''
  </image>
     |{{{founded|}}}
   <group>
  |-
     <header>Information</header>
     {{!}}style="color:#000000; vertical-align:top;"{{!}}'''Commander'''
    <data source="founded">
     |{{{commander|}}}
      <label>Founded</label>
  |-
     </data>
     {{!}}style="color:#000000; vertical-align:top;"{{!}}'''First Officer'''
     <data source="commander">
     |{{{first officer|}}}
      <label>Commander</label>
   |-
     </data>
    !style="background-color: {{{box color|#cccccc}}}; color: {{{font color|#000000}}}; padding:0.25em" align="center" colspan="2"|Motto
     <data source="members">
   |-
      <label>Members</label>
     {{!}}style= "text-align: center; padding:0.5em" colspan="2"|''{{{motto|}}}''
     </data>
  |-
   </group>
     !style="background-color: {{{box color|#cccccc}}}; color: {{{font color|#000000}}}; padding:0.25em" align="center" colspan="2"|Coat of Arms
   <group>
  |-
     <header>Moto</header>
     {{!}}style="text-align:center; padding:0.5em" colspan="2"|[[{{{coat of arms image|}}}|300px]]<br />''{{{coat of arms caption|}}}''
     <data source="moto">
  |-
     </data>
    !style="background-color: {{{box color|#cccccc}}}; color: {{{font color|#000000}}}; padding:0.25em" align="center" colspan="2"|Battalion Animal
   </group>
   |-
</infobox>
    {{!}}style="text-align:center; padding:0.5em" colspan="2"|[[{{{battalion animal image|}}}|300px]]<br />''{{{battalion animal caption|}}}''
 
|}<noinclude><br style="clear:both;" />
<noinclude><br style="clear:both;"/>{{documentation}}</noinclude><noinclude>[[Category:Templates]]</noinclude><noinclude>[[Category:Templates/Infobox]]</noinclude>
{{documentation}}
[[Category:Templates]][[Category:Templates/Infoboxes]]</noinclude>

Latest revision as of 23:46, 7 March 2026

Infobox Batallion
[[|300px]]
'
Founded
Commander
First Officer
Motto
'
Coat of Arms
[[|300px]]
'
Battalion Animal
[[|300px]]
'


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

Flag of the Redguard
Founded April 2, 2015
Commander /u/Gryph667
First Officer /u/xxxSinxxx
Motto
"Redguard Provides, Redguard Prevails"
Coat of Arms

Redguard Coat of Arms
Battalion Animal

Mir the Red Bear
{{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
}}