Vorlage:News: Unterschied zwischen den Versionen

Aus SchnuppTrupp
Wechseln zu: Navigation, Suche
(Die Seite wurde neu angelegt: „<noinclude>{{News/dok}}</noinclude><includeonly><div style="border: 1px solid; border-radius: 5px; padding: 10px; margin-bottom: 5px; background-color: {{#if:{…“)
 
K
 
(11 dazwischenliegende Versionen von einem anderen Benutzer werden nicht angezeigt)
Zeile 1: Zeile 1:
<noinclude>{{News/dok}}</noinclude><includeonly><div style="border: 1px solid; border-radius: 5px; padding: 10px; margin-bottom: 5px; background-color: {{#if:{{{bgcolor|}}}|{{{bgcolor}}}|#efefef}};"></includeonly><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, 18:33 Uhr

Erzeugt einen Newscontainer für die Hauptseite.

Die Vorlage benötigt zum Abschluss noch

{{NewsE}}

Vorlagenparameter
ParameterBeschreibungTypStandardStatus
HintergrundfarbebgcolorDie Hintergrundfarbe in HTML Notationstringleeroptional
Höhe heightDie Höhe des Newscontainersstringleeroptional