Vorlage:News: Unterschied zwischen den Versionen
Aus SchnuppTrupp
K |
K |
||
| 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": { | ||
| + | "1": { | ||
| + | "type": "content", | ||
| + | "required": true, | ||
| + | "label": "Inhalt", | ||
| + | "description": "Der eigentliche Inhalt als Wikitext" | ||
| + | }, | ||
| + | "bgcolor": { | ||
| + | "label": "Hintergrundfarbe", | ||
| + | "description": "Die Hintergrundfarbe in HTML Notation", | ||
| + | "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}};"></includeonly><noinclude> | ||
---- | ---- | ||
[[Category:Vorlagen|News]] | [[Category:Vorlagen|News]] | ||
</noinclude> | </noinclude> | ||
Version vom 13. Mai 2015, 15:50 Uhr
Erzeugt einen Newscontainer für die Hauptseite.
Die Vorlage benötigt zum Abschluss noch
{{NewsE}}
| Parameter | Beschreibung | Typ | Standard | Status | |
|---|---|---|---|---|---|
| Inhalt | 1 | Der eigentliche Inhalt als Wikitext | content | leer | erforderlich |
| Hintergrundfarbe | bgcolor | Die Hintergrundfarbe in HTML Notation | string | leer | optional |