Template:Textbox
Usage[edit]
textbox elements create CSS baset boxes and tables. The presentation is controlled by MediaWiki:Common.css.
Usage: {{textbox|attributes|head_line|text}} or in tables: class="textbox attributes"
-
attributes is one or more of the following keywords:
- Color scheme:
- news: news (=cyan)
- Concrete colors: red, orange, yellow, green, cyan, blue, magenta, white, gray and black
- Alignment:
- center: centered text.
- float-left: left floated textbox or table.
- float-right: right floated textbox or table.
- Options:
- headline: The first line is a column header and will be set with a emphasized color.
- grid: A colored grid (tables only).
- alt: Alternating row colors (tables only).
- large: Head line and text is enlarged by 20%.
- huge: Head line and text is enlarged by 40%.
- Color scheme:
- head_line: The head line of the textbox or table, always centerd.
- text: free wiki text for textbox body.
Textbox Examples[edit]
Named schemas for special usage[edit]
This named schemes are preferred over the contrete colors.
Attributes: news
A short sentence.
A longer message. The message is repeated several times. A longer message. The message is repeated several times. A longer message. The message is repeated several times.
Concrete Colors[edit]
Textbox examples with alternating attributes:
Attributes: red
A short sentence.
A longer message. The message is repeated several times. A longer message. The message is repeated several times. A longer message. The message is repeated several times.
Attributes: orange large
A short sentence.
A longer message. The message is repeated several times. A longer message. The message is repeated several times. A longer message. The message is repeated several times.
Attributes: yellow huge
A short sentence.
A longer message. The message is repeated several times. A longer message. The message is repeated several times. A longer message. The message is repeated several times.
Attributes: green center
A short sentence.
A longer message. The message is repeated several times. A longer message. The message is repeated several times. A longer message. The message is repeated several times.
Attributes: cyan
A short sentence.
A longer message. The message is repeated several times. A longer message. The message is repeated several times. A longer message. The message is repeated several times.
Attributes: blue large
A short sentence.
A longer message. The message is repeated several times. A longer message. The message is repeated several times. A longer message. The message is repeated several times.
Attributes: magenta huge
A short sentence.
A longer message. The message is repeated several times. A longer message. The message is repeated several times. A longer message. The message is repeated several times.
Attributes: white center
A short sentence.
A longer message. The message is repeated several times. A longer message. The message is repeated several times. A longer message. The message is repeated several times.
Attributes: gray
A short sentence.
A longer message. The message is repeated several times. A longer message. The message is repeated several times. A longer message. The message is repeated several times.
Attributes: black large
A short sentence.
A longer message. The message is repeated several times. A longer message. The message is repeated several times. A longer message. The message is repeated several times.
Tabellen Examples[edit]
The following examples show tables with alternating attribute. The right tables use additionally flat-right'.
Attributes: | red alt grid float-right |
---|---|
Text 1: | A short sentence. |
Text 2: | A longer message. The message is repeated several times. A longer message. The message is repeated several times. |
Text 3: | A longer message. The message is repeated several times. A longer message. The message is repeated several times. A longer message. The message is repeated several times. |
Text 4: | A short sentence. |
Attributes: | orange alt float-right |
---|---|
Text 1: | A short sentence. |
Text 2: | A longer message. The message is repeated several times. A longer message. The message is repeated several times. |
Text 3: | A longer message. The message is repeated several times. A longer message. The message is repeated several times. A longer message. The message is repeated several times. |
Text 4: | A short sentence. |
Attributes: | yellow grid float-right |
---|---|
Text 1: | A short sentence. |
Text 2: | A longer message. The message is repeated several times. A longer message. The message is repeated several times. |
Text 3: | A longer message. The message is repeated several times. A longer message. The message is repeated several times. A longer message. The message is repeated several times. |
Text 4: | A short sentence. |
Attributes: | green float-right |
---|---|
Text 1: | A short sentence. |
Text 2: | A longer message. The message is repeated several times. A longer message. The message is repeated several times. |
Text 3: | A longer message. The message is repeated several times. A longer message. The message is repeated several times. A longer message. The message is repeated several times. |
Text 4: | A short sentence. |
Attributes: | cyan alt grid float-right |
---|---|
Text 1: | A short sentence. |
Text 2: | A longer message. The message is repeated several times. A longer message. The message is repeated several times. |
Text 3: | A longer message. The message is repeated several times. A longer message. The message is repeated several times. A longer message. The message is repeated several times. |
Text 4: | A short sentence. |
Attributes: | blue alt float-right |
---|---|
Text 1: | A short sentence. |
Text 2: | A longer message. The message is repeated several times. A longer message. The message is repeated several times. |
Text 3: | A longer message. The message is repeated several times. A longer message. The message is repeated several times. A longer message. The message is repeated several times. |
Text 4: | A short sentence. |
Attributes: | magenta grid float-right |
---|---|
Text 1: | A short sentence. |
Text 2: | A longer message. The message is repeated several times. A longer message. The message is repeated several times. |
Text 3: | A longer message. The message is repeated several times. A longer message. The message is repeated several times. A longer message. The message is repeated several times. |
Text 4: | A short sentence. |
Attributes: | white float-right |
---|---|
Text 1: | A short sentence. |
Text 2: | A longer message. The message is repeated several times. A longer message. The message is repeated several times. |
Text 3: | A longer message. The message is repeated several times. A longer message. The message is repeated several times. A longer message. The message is repeated several times. |
Text 4: | A short sentence. |
Attributes: | gray alt grid float-right |
---|---|
Text 1: | A short sentence. |
Text 2: | A longer message. The message is repeated several times. A longer message. The message is repeated several times. |
Text 3: | A longer message. The message is repeated several times. A longer message. The message is repeated several times. A longer message. The message is repeated several times. |
Text 4: | A short sentence. |
Attributes: | black alt float-right |
---|---|
Text 1: | A short sentence. |
Text 2: | A longer message. The message is repeated several times. A longer message. The message is repeated several times. |
Text 3: | A longer message. The message is repeated several times. A longer message. The message is repeated several times. A longer message. The message is repeated several times. |
Text 4: | A short sentence. |
<th> | <td> |
---|---|
Attributes: | red headline |
Text 1: | A short sentence. |
Text 2: | A longer message. The message is repeated several times. A longer message. The message is repeated several times. |
Text 3: | A longer message. The message is repeated several times. A longer message. The message is repeated several times. A longer message. The message is repeated several times. |
Text 4: | A short sentence. |
<th> | <td> |
---|---|
Attributes: | orange grid headline |
Text 1: | A short sentence. |
Text 2: | A longer message. The message is repeated several times. A longer message. The message is repeated several times. |
Text 3: | A longer message. The message is repeated several times. A longer message. The message is repeated several times. A longer message. The message is repeated several times. |
Text 4: | A short sentence. |
<th> | <td> |
---|---|
Attributes: | yellow alt headline |
Text 1: | A short sentence. |
Text 2: | A longer message. The message is repeated several times. A longer message. The message is repeated several times. |
Text 3: | A longer message. The message is repeated several times. A longer message. The message is repeated several times. A longer message. The message is repeated several times. |
Text 4: | A short sentence. |
<th> | <td> |
---|---|
Attributes: | green alt grid headline |
Text 1: | A short sentence. |
Text 2: | A longer message. The message is repeated several times. A longer message. The message is repeated several times. |
Text 3: | A longer message. The message is repeated several times. A longer message. The message is repeated several times. A longer message. The message is repeated several times. |
Text 4: | A short sentence. |
<th> | <td> |
---|---|
Attributes: | cyan headline |
Text 1: | A short sentence. |
Text 2: | A longer message. The message is repeated several times. A longer message. The message is repeated several times. |
Text 3: | A longer message. The message is repeated several times. A longer message. The message is repeated several times. A longer message. The message is repeated several times. |
Text 4: | A short sentence. |
<th> | <td> |
---|---|
Attributes: | blue large grid headline |
Text 1: | A short sentence. |
Text 2: | A longer message. The message is repeated several times. A longer message. The message is repeated several times. |
Text 3: | A longer message. The message is repeated several times. A longer message. The message is repeated several times. A longer message. The message is repeated several times. |
Text 4: | A short sentence. |
<th> | <td> |
---|---|
Attributes: | magenta huge alt headline |
Text 1: | A short sentence. |
Text 2: | A longer message. The message is repeated several times. A longer message. The message is repeated several times. |
Text 3: | A longer message. The message is repeated several times. A longer message. The message is repeated several times. A longer message. The message is repeated several times. |
Text 4: | A short sentence. |
<th> | <td> |
---|---|
Attributes: | white center alt grid headline |
Text 1: | A short sentence. |
Text 2: | A longer message. The message is repeated several times. A longer message. The message is repeated several times. |
Text 3: | A longer message. The message is repeated several times. A longer message. The message is repeated several times. A longer message. The message is repeated several times. |
Text 4: | A short sentence. |
<th> | <td> |
---|---|
Attributes: | gray headline |
Text 1: | A short sentence. |
Text 2: | A longer message. The message is repeated several times. A longer message. The message is repeated several times. |
Text 3: | A longer message. The message is repeated several times. A longer message. The message is repeated several times. A longer message. The message is repeated several times. |
Text 4: | A short sentence. |
<th> | <td> |
---|---|
Attributes: | black grid headline |
Text 1: | A short sentence. |
Text 2: | A longer message. The message is repeated several times. A longer message. The message is repeated several times. |
Text 3: | A longer message. The message is repeated several times. A longer message. The message is repeated several times. A longer message. The message is repeated several times. |
Text 4: | A short sentence. |