Jump to content

Template:BSzone/doc

From Wikipedia, the free encyclopedia

This template adds a background to a text string.

Usage

[edit]
Example
Markup
Zone
BHF~~ ~~Station~~ ~~{{bsz|1}}~~bg=#CCC
Station
1
KBHFe~~Terminal
Terminal
 
 

This template was created to simplify adding formatted zone numbers in the last column of route diagram templates.

TemplateData

[edit]
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:BSzone in articles based on its TemplateData.

TemplateData for BSzone

This template adds a background to a text string.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
11

The contents of the box

Unknownsuggested
22

The color of background; any valid html name or hex code

Default
#CCCCCC
Example
yellow
Unknownoptional
alal

The alignment of the text

Default
center
Example
left
Unknownoptional
ww

The width of the box

Default
100%
Example
1em
Unknownoptional