Difference between revisions of "Template:Boxlayout1"
From Xhodon
m (→Usage) |
m (+maintenance module) |
||
(6 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
{| border="0" cellpadding="0" cellspacing="0" style="width:100%;" | {| border="0" cellpadding="0" cellspacing="0" style="width:100%;" | ||
| colspan="2" style="padding-bottom:1em; vertical-align:top;" | | | colspan="2" style="padding-bottom:1em; vertical-align:top;" | | ||
− | {| celltabbing="0" cellspacing="0" style="width:100%; border:1px solid {{{Color_Border|#808080}}};" | + | {| celltabbing="0" cellspacing="0" style="width:100%; border:1px solid {{{Color_Border|#{{ColorBorder|808080}}}}};" |
{{#if: {{{Title_Header|}}} | | {{#if: {{{Title_Header|}}} | | ||
− | ! style="border-bottom:1px solid {{{Color_Border|#808080}}}; background-color:{{{Color_Title|# | + | ! style="border-bottom:1px solid {{{Color_Border|#{{ColorBorder|808080}}}}}; background-color:{{{Color_Title|#{{ColorTitleBox|F3DCA8}}}}};" {{!}} {{{Title_Header| }}} |
{{!-}} | {{!-}} | ||
}} | }} | ||
Line 13: | Line 13: | ||
| | | | ||
<div style="width:49.5%; vertical-align:top; float:left;"> | <div style="width:49.5%; vertical-align:top; float:left;"> | ||
− | {| celltabbing="0" cellspacing="0" style="margin-bottom:1em; width:100%; border:1px solid {{{Color_Border|#808080}}};" | + | {| celltabbing="0" cellspacing="0" style="margin-bottom:1em; width:100%; border:1px solid {{{Color_Border|#{{ColorBorder|808080}}}}};" |
− | ! style="border-bottom:1px solid {{{Color_Border|#808080}}}; background-color:{{{Color_Title|# | + | ! style="border-bottom:1px solid {{{Color_Border|#{{ColorBorder|808080}}}}}; background-color:{{{Color_Title|#{{ColorTitleBox|F3DCA8}}}}};" | {{{Title_Left_1| }}} |
|- | |- | ||
| style="padding:0.5em 1em;" | | | style="padding:0.5em 1em;" | | ||
{{{Content_Left_1| <br>}}} | {{{Content_Left_1| <br>}}} | ||
− | |} | + | |}{{#if: {{{Title_Left_2|}}} | |
− | {{#if: {{{Title_Left_2|}}} | | + | {{(!}} celltabbing="0" cellspacing="0" style="margin-bottom:1em; width:100%; border:1px solid {{{Color_Border|#{{ColorBorder|808080}}}}};" |
− | {{(!}} celltabbing="0" cellspacing="0" style="margin-bottom:1em; width:100%; border:1px solid {{{Color_Border|#808080}}};" | + | ! style="border-bottom:1px solid {{{Color_Border|#{{ColorBorder|808080}}}}}; background-color:{{{Color_Title|#{{ColorTitleBox|F3DCA8}}}}};" {{!}} {{{Title_Left_2| }}} |
− | ! style="border-bottom:1px solid {{{Color_Border|#808080}}}; background-color:{{{Color_Title|# | + | |
{{!-}} | {{!-}} | ||
{{!}} style="padding:0.5em 1em;" {{!}} | {{!}} style="padding:0.5em 1em;" {{!}} | ||
{{{Content_Left_2| <br>}}} | {{{Content_Left_2| <br>}}} | ||
− | {{!)}}}} | + | {{!)}}}}{{#if: {{{Title_Left_3|}}} | |
− | {{#if: {{{Title_Left_3|}}} | | + | {{(!}} celltabbing="0" cellspacing="0" style="margin-bottom:1em; width:100%; border:1px solid {{{Color_Border|#{{ColorBorder|808080}}}}};" |
− | {{(!}} celltabbing="0" cellspacing="0" style="margin-bottom:1em; width:100%; border:1px solid {{{Color_Border|#808080}}};" | + | ! style="border-bottom:1px solid {{{Color_Border|#{{ColorBorder|808080}}}}}; background-color:{{{Color_Title|#{{ColorTitleBox|F3DCA8}}}}};" {{!}} {{{Title_Left_3| }}} |
− | ! style="border-bottom:1px solid {{{Color_Border|#808080}}}; background-color:{{{Color_Title|# | + | |
{{!-}} | {{!-}} | ||
{{!}} style="padding:0.5em 1em;" {{!}} | {{!}} style="padding:0.5em 1em;" {{!}} | ||
Line 34: | Line 32: | ||
{{!)}}}}</div> | {{!)}}}}</div> | ||
<div style="width:49.5%; vertical-align:top; float:right;"> | <div style="width:49.5%; vertical-align:top; float:right;"> | ||
− | {| celltabbing="0" cellspacing="0" style="margin-bottom:1em; width:100%; border:1px solid {{{Color_Border|#808080}}};" | + | {| celltabbing="0" cellspacing="0" style="margin-bottom:1em; width:100%; border:1px solid {{{Color_Border|#{{ColorBorder|808080}}}}};" |
− | ! style="border-bottom:1px solid {{{Color_Border|#808080}}}; background-color:{{{Color_Title|# | + | ! style="border-bottom:1px solid {{{Color_Border|#{{ColorBorder|808080}}}}}; background-color:{{{Color_Title|#{{ColorTitleBox|F3DCA8}}}}};" | {{{Title_Right_1| }}} |
|- | |- | ||
| style="padding:0.5em 1em;" | | | style="padding:0.5em 1em;" | | ||
{{{Content_Right_1| <br>}}} | {{{Content_Right_1| <br>}}} | ||
− | |} | + | |}{{#if: {{{Title_Right_2|}}} | |
− | {{#if: {{{Title_Right_2|}}} | | + | {{(!}} celltabbing="0" cellspacing="0" style="margin-bottom:1em; width:100%; border:1px solid {{{Color_Border|#{{ColorBorder|808080}}}}};" |
− | {{(!}} celltabbing="0" cellspacing="0" style="margin-bottom:1em; width:100%; border:1px solid {{{Color_Border|#808080}}};" | + | ! style="border-bottom:1px solid {{{Color_Border|#{{ColorBorder|808080}}}}}; background-color:{{{Color_Title|#{{ColorTitleBox|F3DCA8}}}}};" {{!}} {{{Title_Right_2| }}} |
− | ! style="border-bottom:1px solid {{{Color_Border|#808080}}}; background-color:{{{Color_Title|# | + | |
{{!-}} | {{!-}} | ||
{{!}} style="padding:0.5em 1em;" {{!}} | {{!}} style="padding:0.5em 1em;" {{!}} | ||
{{{Content_Right_2| <br>}}} | {{{Content_Right_2| <br>}}} | ||
− | {{!)}}}} | + | {{!)}}}}{{#if: {{{Title_Right_3|}}} | |
− | {{#if: {{{Title_Right_3|}}} | | + | {{(!}} celltabbing="0" cellspacing="0" style="margin-bottom:1em; width:100%; border:1px solid {{{Color_Border|#{{ColorBorder|808080}}}}};" |
− | {{(!}} celltabbing="0" cellspacing="0" style="margin-bottom:1em; width:100%; border:1px solid {{{Color_Border|#808080}}};" | + | ! style="border-bottom:1px solid {{{Color_Border|#{{ColorBorder|808080}}}}}; background-color:{{{Color_Title|#{{ColorTitleBox|F3DCA8}}}}};" {{!}} {{{Title_Right_3| }}} |
− | ! style="border-bottom:1px solid {{{Color_Border|#808080}}}; background-color:{{{Color_Title|# | + | |
{{!-}} | {{!-}} | ||
{{!}} style="padding:0.5em 1em;" {{!}} | {{!}} style="padding:0.5em 1em;" {{!}} | ||
Line 55: | Line 51: | ||
{{!)}}}}</div> | {{!)}}}}</div> | ||
|}</includeonly><noinclude> | |}</includeonly><noinclude> | ||
+ | {{translate}} | ||
== Example == | == Example == | ||
{{Boxlayout1 | {{Boxlayout1 | ||
− | |Color_Border=#808080 | + | |Color_Border=#{{ColorBorder|808080}} |
− | |Color_Title=# | + | |Color_Title=#{{ColorTitleBox|F3DCA8}} |
|Title_Header=Title_Header | |Title_Header=Title_Header | ||
Line 82: | Line 79: | ||
}} | }} | ||
− | == | + | == Verwendung == |
− | + | *Nur wenn ''Title_Header'' angegeben ist, erhält der Kopfbereich eine farbige Titelzeile. | |
+ | *Es gibt immer in jeder Spalte mindestens eine Box. Weitere Boxen darunter werden nur angezeigt, wenn Titel angegeben werden. | ||
+ | *Wenn Tabellen als Parameter übergeben werden sollen, so müssen diese mit den Ersatzkonstruktionen <nowiki>{{!}}</nowiki> u.ä. statt der pipes <nowiki>|</nowiki> gebildet werden. | ||
− | + | == Example == | |
− | + | ||
− | == | + | |
<nowiki>{{Boxlayout1</nowiki> | <nowiki>{{Boxlayout1</nowiki> | ||
− | <nowiki>|Color_Border=#808080</nowiki> | + | <nowiki>|Color_Border=#{{ColorBorder|808080}}</nowiki> |
− | <nowiki>|Color_Title=# | + | <nowiki>|Color_Title=#{{ColorTitleBox|F3DCA8}}</nowiki> |
<nowiki>|Title_Header=</nowiki> | <nowiki>|Title_Header=</nowiki> | ||
Line 113: | Line 110: | ||
<nowiki>|Content_Right_3=</nowiki> | <nowiki>|Content_Right_3=</nowiki> | ||
<nowiki>}}</nowiki> | <nowiki>}}</nowiki> | ||
+ | |||
+ | [[de:Vorlage:Boxenlayout1]] | ||
[[Category:Template|Boxlayout1]] | [[Category:Template|Boxlayout1]] | ||
</noinclude> | </noinclude> |
Latest revision as of 15:04, 7 January 2009
This article/paragraph needs to be translated or translation is in progress. |
Example
| ||||||||||||
|
Verwendung
- Nur wenn Title_Header angegeben ist, erhält der Kopfbereich eine farbige Titelzeile.
- Es gibt immer in jeder Spalte mindestens eine Box. Weitere Boxen darunter werden nur angezeigt, wenn Titel angegeben werden.
- Wenn Tabellen als Parameter übergeben werden sollen, so müssen diese mit den Ersatzkonstruktionen {{!}} u.ä. statt der pipes | gebildet werden.
Example
{{Boxlayout1 |Color_Border=#{{ColorBorder|808080}} |Color_Title=#{{ColorTitleBox|F3DCA8}} |Title_Header= |Content_Header= |Title_Left_1= |Content_Left_1= |Title_Left_2= |Content_Left_2= |Title_Left_3= |Content_Left_3= |Title_Right_1= |Content_Right_1= |Title_Right_2= |Content_Right_2= |Title_Right_3= |Content_Right_3= }}