Template:Span

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

empty

Template documentationview · edit · history · purge ]
This documentation is transcluded from Template:Span/doc.

Creates a simple text box, which can be formatted

Usage

{{Span |1= }}

Template parameters

ParameterDescriptionDefaultStatus
1the text, may contain any wikitextemptysuggested
2styles to format the box and text; modifyable by the following parameters(see the code)optional
bgbackground color#DFDoptional
padpadding the text within the box (1, 2, 3 or 4 values)0 5pxoptional
borderborder properties (width, style, color)2px solid #CCCoptional

Additional information

The template is intended to be used in the following namespaces: all namespaces

The template is intended to be used by the following user groups: all users

Example

{{Span|This is an easy way to tell something}}

renders as:

This is an easy way to tell something

Localization

This template is not intended to be localized.

Another example

Parameters: bg=#FFD;pad=4px 1em 0 1em;border=#939 3px dotted;color:#00D;margin:3em

Indentions

no margin or margin:0

indent 1 (:)

margin:21px

indent 2 (::)

margin:41px

indent 3 (:::)

margin:61px