Vorlage:Box/Doku: Unterschied zwischen den Versionen
Aus The Homebrew Cloud
Zur Navigation springenZur Suche springenICON (Diskussion | Beiträge) K (1 Version importiert) |
ICON (Diskussion | Beiträge) (TemplateData) |
||
Zeile 1: | Zeile 1: | ||
− | {{Dokumentation/Dokuseite}} | + | <noinclude>{{Dokumentation/Dokuseite}}</noinclude> |
− | = | + | {{TemplateData|JSON= |
− | + | { | |
− | {{Box | + | "params": { |
− | + | "title": { | |
− | | | + | "description": "Titel der Box", |
+ | "type": "content", | ||
+ | "required": true | ||
+ | }, | ||
+ | "content": { | ||
+ | "description": "Inhalt der Box", | ||
+ | "type": "content", | ||
+ | "required": true | ||
+ | }, | ||
+ | "class": { | ||
+ | "description": "Zusätzliche CSS-Klassen", | ||
+ | "type": "line" | ||
+ | }, | ||
+ | "color": { | ||
+ | "description": "Farbe des Rahmens und Titelstreifens", | ||
+ | "type": "line" | ||
+ | }, | ||
+ | "titlecolor": { | ||
+ | "description": "Farbe des Titels", | ||
+ | "type": "line" | ||
+ | } | ||
+ | }, | ||
+ | "description": "Erstellt eine farbige Box", | ||
+ | "format": "block" | ||
+ | } | ||
+ | |TOC=1 | ||
}} | }} | ||
− | |||
− | == | + | == Beispiele == |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
<pre> | <pre> | ||
{{Box | {{Box |
Aktuelle Version vom 15. Juni 2018, 12:10 Uhr
Diese Seite ist die Dokumentations-Unterseite der Vorlage:Box. |
Interner Lua-Fehler: Der Interpreter beendet sich mit dem Status 1.
Beispiele
{{Box |title = Boxtitel |content = Inhalt }}
wird zu
Boxtitel |
Inhalt |
oder
{{Box |title = Boxtitel |content = Inhalt |color = #00788B }}
wird zu
Boxtitel |
Inhalt |