Template:Span
Jump to navigation
Jump to search
empty
This documentation is transcluded from Template:Span/doc.
Creates a simple text box, which can be formatted
Usage
{{Span |1= }}
Template parameters
Parameter | Description | Default | Status | |
---|---|---|---|---|
1 | the text, may contain any wikitext | empty | suggested | |
2 | styles to format the box and text; modifyable by the following parameters | (see the code) | optional | |
bg | background color | #DFD | optional | |
pad | padding the text within the box (1, 2, 3 or 4 values) | 0 5px | optional | |
border | border properties (width, style, color) | 2px solid #CCC | optional |
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