Vorlage:Box/Doku: Unterschied zwischen den Versionen
Aus WiiDatabase Wiki
Zur Navigation springenZur Suche springen
Inhalt gelöscht Inhalt hinzugefügt
ICON (Diskussion | Beiträge) Die Seite wurde neu angelegt: „{{Dokumentation/Dokuseite}} == Kopiervorlage == <pre> {{Box |title = Titel |content = Inhalt }} </pre> === Zusätzliche Optionen === <pre> |class = Zusätzli…“ |
ICON (Diskussion | Beiträge) TemplateData |
||
| Zeile 1: | Zeile 1: | ||
{{Dokumentation/Dokuseite}} |
<noinclude>{{Dokumentation/Dokuseite}}</noinclude> |
||
{{TemplateData|JSON= |
|||
== Kopiervorlage == |
|||
{ |
|||
<pre> |
|||
"params": { |
|||
{{Box |
|||
"title": { |
|||
"description": "Titel der Box", |
|||
|content = Inhalt |
|||
"type": "content", |
|||
"required": true |
|||
}, |
|||
"content": { |
|||
"description": "Inhalt der Box", |
|||
"type": "content", |
|||
"required": true |
|||
}, |
|||
"class": { |
|||
| ⚫ | |||
"type": "line" |
|||
}, |
|||
"color": { |
|||
"description": "Farbe des Rahmens und Titelstreifens", |
|||
"type": "line" |
|||
}, |
|||
"titlecolor": { |
|||
| ⚫ | |||
"type": "line" |
|||
} |
|||
}, |
|||
"description": "Erstellt eine farbige Box", |
|||
"format": "block" |
|||
} |
|||
|TOC=1 |
|||
}} |
}} |
||
</pre> |
|||
== Beispiele == |
|||
<pre> |
|||
| ⚫ | |||
|color = Rahmenfarbe und Farbe des Titelstreifens |
|||
| ⚫ | |||
</pre> |
|||
== Beispiel == |
|||
<pre> |
<pre> |
||
{{Box |
{{Box |
||
Version vom 14. Juni 2018, 21:02 Uhr
| Diese Seite ist die Dokumentations-Unterseite der Vorlage:Box. |
Erstellt eine farbige Box
Vorlagenparameter
| Parameter | Beschreibung | Typ | Status | |
|---|---|---|---|---|
| title | title | Titel der Box | Wikitext | erforderlich |
| content | content | Inhalt der Box | Wikitext | erforderlich |
| class | class | Zusätzliche CSS-Klassen | Einzeiliger Text | optional |
| color | color | Farbe des Rahmens und Titelstreifens | Einzeiliger Text | optional |
| titlecolor | titlecolor | Farbe des Titels | Einzeiliger Text | optional |
Format: block
Beispiele
{{Box
|title = Boxtitel
|content = Inhalt
}}
wird zu
| Boxtitel |
|
Inhalt |
oder
{{Box
|title = Boxtitel
|content = Inhalt
|color = #00788B
}}
wird zu
| Boxtitel |
|
Inhalt |