Line 1: |
Line 1: |
− | <includeonly><div class="textbox {{{1|}}}"> | + | <includeonly><div class="textbox {{{1|}}}"><!-- |
− | {{#if: {{{2}}} |<div class="textbox-head">{{{2}}}</div> | + | -->{{#if:{{{2|}}}|<div class=textbox-head>{{{2}}}</div>}}<!-- |
− | }}<div class="textbox-body">{{{3}}}</div></div></includeonly><noinclude> | + | -->{{#if:{{{3|}}}|<div class=textbox-body>{{{3}}}</div>}}<!-- |
− | | + | --></div></includeonly><noinclude> |
− | __TOC__
| |
− | | |
| == Usage == | | == Usage == |
| | | |
− | ''textbox'' elements create CSS baset boxes and tables. The presentation is controlled by [[MediaWiki:Common.css]]. | + | ''textbox'' elements create CSS based boxes and tables. The presentation is controlled by [[MediaWiki:Common.css]]. |
| Usage: '''<nowiki>{{textbox|attributes|head_line|text}}</nowiki>''' | | Usage: '''<nowiki>{{textbox|attributes|head_line|text}}</nowiki>''' |
| or in tables: '''class="textbox attributes"''' | | or in tables: '''class="textbox attributes"''' |
Line 27: |
Line 25: |
| ** '''huge''': Head line and text is enlarged by 40%. | | ** '''huge''': Head line and text is enlarged by 40%. |
| </li> | | </li> |
− | <li>'''head_line''': The head line of the textbox or table, always centerd.</li> | + | <li>'''head_line''': The head line of the textbox or table, always centered.</li> |
| <li>'''text''': free wiki text for textbox body.</li> | | <li>'''text''': free wiki text for textbox body.</li> |
| </ul> | | </ul> |
| + | If '''head_line''' or '''text''' contains an equal sign (=), use <tt>'''<nowiki>{{=}}</nowiki>'''</tt> instead. |
| | | |
| == Textbox Examples == | | == Textbox Examples == |
Line 37: |
Line 36: |
| === Named schemas for special usage === | | === Named schemas for special usage === |
| | | |
− | This named schemes are preferred over the contrete colors. | + | This named schemes are preferred over the concrete colors. |
| | | |
| {{textbox|news|Table 'news'| | | {{textbox|news|Table 'news'| |
Line 131: |
Line 130: |
| }} | | }} |
| | | |
− | == Tabellen Examples == | + | == Table Examples == |
| | | |
| The following examples show tables with alternating attribute. | | The following examples show tables with alternating attribute. |
− | The right tables use additionally ''flat-right'. | + | The right tables use additionally ''float-right'. |
| | | |
| <div class="float-right"> | | <div class="float-right"> |