Vorlage:ChapterText
From Wikivoyage association
Revision as of 12:20, 6 January 2013 by Stefan Fussan (Talk | contribs)
de:
- Funktion: Diese Vorlage dient dazu, den Textkörper von Textboxen auf der Hauptseite u.a. zu formatieren. Es müssen die Farben für den Hintergrund und den Rahmen angegeben werden.
Optional können zusätzlich linke, rechte Ränder bzw. oberer und unterer Polsterung spezifiziert werden. - Verwendung:
{{ChapterText|color=Nummer|r=rechter Rand|l=linker Rand|top=obere Polsterung|bottom=untere Polsterung}}
- Optionale Parameter:
-
|color=
Nummer eines Farbmusters -
|r=
Rechter Rand (CSS-Notation) -
|l=
Linker Rand (CSS-Notation) -
|pr=
Rechtes Padding (CSS-Notation) -
|pl=
Linkes Padding (CSS-Notation) -
|top=
Obere Polsterung (Padding) (CSS-Notation) -
|bottom=
Untere Polsterung (Padding) (CSS-Notation)
-
Beispiele / Examples
Quelltext | ...und so sieht's aus |
---|---|
<div {{ChapterText}}>Viel Text</div>
|
Viel Text
|
<div {{ChapterText|color=2|r=1em|top=1em}}>Viel Text</div>
|
Viel Text
|
Farbmuster / Color Samples
Quelltext | ...und so sieht's aus |
---|---|
<div {{ChapterText|color=1}}>Viel Text</div>
|
Viel Text
|
<div {{ChapterText|color=2}}>Viel Text</div>
|
Viel Text
|
<div {{ChapterText|color=3}}>Viel Text</div>
|
Viel Text
|
<div {{ChapterText|color=4}}>Viel Text</div>
|
Viel Text
|
<div {{ChapterText|color=5}}>Viel Text</div>
|
Viel Text
|
<div {{ChapterText|color=6}}>Viel Text</div>
|
Viel Text
|
<div {{ChapterText|color=7}}>Viel Text</div>
|
Viel Text
|
<div {{ChapterText|color=8}}>Viel Text</div>
|
Viel Text
|
<div {{ChapterText|color=9}}>Viel Text</div>
|
Viel Text
|
<div {{ChapterText|color=10}}>Viel Text</div>
|
Viel Text
|
<div {{ChapterText|color=11}}>Viel Text</div>
|
Viel Text
|
<div {{ChapterText|color=12}}>Viel Text</div>
|
Viel Text
|
<div {{ChapterText|color=13}}>Viel Text</div>
|
Viel Text
|
<div {{ChapterText|color=14}}>Viel Text</div>
|
Viel Text
|