Dokumentation für die Vorlage {{Section}}[Ansicht] [Bearbeiten] [Versionsgeschichte] [Aktualisieren]

de:

  • Funktion: Diese Vorlage dient dazu, den Textkörper und Titel von Textboxen auf den Portalseiten zu formatieren.
    Optional können zusätzlich Ränder spezifiziert werden. Nicht spezifizierte Werte haben den Wert Null, der untere Rand erhält den Wert 1em. Ein nicht spezifizierter Titel wird weggelassen. Wenn im Text ein Gleichheitszeichen vorkommt, muss der Text mit „1=“ eingeleitet werden. Senkrechte Striche „|“ müssen durch die Vorlage {{!}} ersetzt werden.
  • Verwendung:
    • {{Section|ti=Titel|top=oberer Rand|bottom=unterer Rand|color=Nummer|Text}} oder
    • {{Section|ti=Titel|top=oberer Rand|bottom=unterer Rand|color=Nummer|1=Text}}
  • Optionale Parameter:
    • |color= Nummer eines Farbmusters
    • |ti= Titel des Textfeldes
    • |top= Oberer Rand des Textfeldes (CSS-Notation)
    • |bottom= Unterer Rand des Textfeldes (CSS-Notation)

Beispiele / Examples

Quelltext ...und so sieht's aus
{{Section|ti=Ein Titel|Viel Text}}
Ein Titel
Viel Text
{{Section|ti=Ein Titel|bottom=0|Viel Text}}
Ein Titel
Viel Text
{{Section|Box ohne Titel}}
Box ohne Titel
{{Section|top=1em|bottom=0|Box ohne Titel}}
Box ohne Titel

Farbmuster / Color Samples

Quelltext ...und so sieht's aus
{{Section|ti=The Section Title|color=1|bottom=0|Text}}
The Section Title
Text
{{Section|ti=The Section Title|color=2|bottom=0|Text}}
The Section Title
Text
{{Section|ti=The Section Title|color=3|bottom=0|Text}}
The Section Title
Text
{{Section|ti=The Section Title|color=4|bottom=0|Text}}
The Section Title
Text
{{Section|ti=The Section Title|color=5|bottom=0|Text}}
The Section Title
Text
{{Section|ti=The Section Title|color=6|bottom=0|Text}}
The Section Title
Text
{{Section|ti=The Section Title|color=7|bottom=0|Text}}
The Section Title
Text
{{Section|ti=The Section Title|color=8|bottom=0|Text}}
The Section Title
Text
{{Section|ti=The Section Title|color=9|bottom=0|Text}}
The Section Title
Text
{{Section|ti=The Section Title|color=10|bottom=0|Text}}
The Section Title
Text
{{Section|ti=The Section Title|color=11|bottom=0|Text}}
The Section Title
Text
{{Section|ti=The Section Title|color=12|bottom=0|Text}}
The Section Title
Text
{{Section|ti=The Section Title|color=13|bottom=0|Text}}
The Section Title
Text

Verwandte Vorlagen / Related Templates

Hinweise