Vorlage:News: Unterschied zwischen den Versionen
Aus SchnuppTrupp
K |
K |
||
| (10 dazwischenliegende Versionen von einem anderen Benutzer werden nicht angezeigt) | |||
| Zeile 1: | Zeile 1: | ||
| − | <noinclude>{{ | + | <noinclude><templatedata> |
| + | { | ||
| + | "description": "Erzeugt einen Newscontainer für die Hauptseite.\nDie Vorlage benötigt zum Abschluss noch\n\n{{NewsE}}\n", | ||
| + | "params": { | ||
| + | "bgcolor": { | ||
| + | "label": "Hintergrundfarbe", | ||
| + | "description": "Die Hintergrundfarbe in HTML Notation", | ||
| + | "type": "string" | ||
| + | }, | ||
| + | "height": { | ||
| + | "label": "Höhe ", | ||
| + | "description": "Die Höhe des Newscontainers", | ||
| + | "type": "string" | ||
| + | } | ||
| + | } | ||
| + | } | ||
| + | </templatedata> | ||
| + | </noinclude><includeonly><div style="overflow: hidden; border: 1px solid; border-radius: 5px; box-shadow: 2px 2px 2px #888888; padding: 10px; margin: 0px 2px 4px 2px; background-color: {{#if:{{{bgcolor|}}}|{{{bgcolor}}}|#efefef}}; color: {{#if:{{{color|}}}|{{{color}}}|#000000}}; {{#if:{{{height|}}}|height: {{{height}}};|}}"></includeonly><noinclude> | ||
---- | ---- | ||
[[Category:Vorlagen|News]] | [[Category:Vorlagen|News]] | ||
</noinclude> | </noinclude> | ||
Aktuelle Version vom 31. Dezember 2023, 17:33 Uhr
Erzeugt einen Newscontainer für die Hauptseite.
Die Vorlage benötigt zum Abschluss noch
{{NewsE}}
| Parameter | Beschreibung | Typ | Standard | Status | |
|---|---|---|---|---|---|
| Hintergrundfarbe | bgcolor | Die Hintergrundfarbe in HTML Notation | string | leer | optional |
| Höhe | height | Die Höhe des Newscontainers | string | leer | optional |