Template:Infobox Batallion: Difference between revisions

From April Knights Wiki
mNo edit summary
mNo edit summary
Line 1: Line 1:
{|class="infobox" cellspacing="2" style= "font-size: 88%; width: 300px;-moz-border-radius:7px; border-radius:7px; {{Border-radius|2ex 2ex 2ex 2ex}}; line-height: 1.5em; text-align: left; float: right; border:2px solid #000000;"
{|cellspacing="2" style= "font-size: 88%; width: 300px;-moz-border-radius:7px; border-radius:7px; {{Border-radius|2ex 2ex 2ex 2ex}}; line-height: 1.5em; text-align: left; float: right; border:2px solid #000000;"
|colspan="2" style="{{Radius|4px|4px|0px|0px}}; 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>}}} |
{{#if:{{{image<includeonly>|</includeonly>}}} |

Revision as of 17:45, 3 April 2025

{{#if:{{{image}}} | }} {{#if:{{{founded}}} | }} {{#if:{{{commander}}} | }} }} {{#if:{{{members}}} | }} {{#if:{{{moto}}} | }}
Infobox Batallion
{{{image}}}{{#if:|
{{{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

{{#if:image:RedguardNew.png | }} {{#if:April 2, 2015 | }} {{#if:/u/Gryph667 | }} }} {{#if: | }} {{#if:{{{motomoto}}} | }}
Infobox Batallion
image:RedguardNew.png{{#if:Flag of the Redguard|
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"
}}