Vorlage:InfoCard/doc: Unterschied zwischen den Versionen
Aus HITGuard User Guide
Weitere Optionen
Die Seite wurde neu angelegt: „{{Documentation subpage}} <!-- Categories go at the bottom of this page and interwikis go in Wikidata. --> {{Uses TemplateStyles|Template:InfoCard/styles.css}} <templatedata> { "description": { "en": "This template creates a styled information card.", "cs": "Tato šablona vytvoří stylizovanou informační kartu.", "tr": "Bu şablon, tasarlanmış bir bilgi kartı oluşturur." }, "params": { "heading": { "label": { "en": "Heading", "cs": "Nadpis", "tr":…“ |
Keine Bearbeitungszusammenfassung |
||
| Zeile 1: | Zeile 1: | ||
{{Documentation subpage}} <!-- Categories go at the bottom of this page and interwikis go in Wikidata. --> {{Uses TemplateStyles|Template:InfoCard/styles.css}} <templatedata> { "description": { "en": "This template creates a styled information card.", "cs": "Tato šablona vytvoří stylizovanou informační kartu.", "tr": "Bu şablon, tasarlanmış bir bilgi kartı oluşturur." }, "params": { "heading": { "label": { "en": "Heading", "cs": "Nadpis", "tr": "Başlık" }, "description": { "en": "The card's title.", "cs": "Název karty.", "tr": "Kartın başlığı." }, "type": "content", "required": true }, "content": { "label": { "en": "Content", "cs": "Obsah", "tr": "İçerik" }, "description": { "en": "The card's content.", "cs": "Obsah karty.", "tr": "Kartın içeriği" }, "type": "content", "required": true }, "class": { "label": { "en": "Class(es)", "cs": "Třída/y", "tr": "Sınıf(lar)" }, "description": { "en": "Additional CSS class(es) for the whole box.", "cs": "Další třída/y CSS pro celý box.", "tr": "Tüm kutu için ek CSS sınıf(lar)ı." }, "type": "line" }, "footer": { "label": "Footer", "description": "Optional footer area.", "type": "content" } }, "paramOrder": [ "heading", "content", "footer", "class" ] } </templatedata> <includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox|| <!-- Categories go here and interwikis go in Wikidata. --> }}</includeonly> | {{Documentation subpage}} | ||
<!-- Categories go at the bottom of this page and interwikis go in Wikidata. --> | |||
{{Uses TemplateStyles|Template:InfoCard/styles.css}} | |||
<templatedata> | |||
{ | |||
"description": { | |||
"en": "This template creates a styled information card.", | |||
"cs": "Tato šablona vytvoří stylizovanou informační kartu.", | |||
"tr": "Bu şablon, tasarlanmış bir bilgi kartı oluşturur." | |||
}, | |||
"params": { | |||
"heading": { | |||
"label": { | |||
"en": "Heading", | |||
"cs": "Nadpis", | |||
"tr": "Başlık" | |||
}, | |||
"description": { | |||
"en": "The card's title.", | |||
"cs": "Název karty.", | |||
"tr": "Kartın başlığı." | |||
}, | |||
"type": "content", | |||
"required": true | |||
}, | |||
"content": { | |||
"label": { | |||
"en": "Content", | |||
"cs": "Obsah", | |||
"tr": "İçerik" | |||
}, | |||
"description": { | |||
"en": "The card's content.", | |||
"cs": "Obsah karty.", | |||
"tr": "Kartın içeriği" | |||
}, | |||
"type": "content", | |||
"required": true | |||
}, | |||
"class": { | |||
"label": { | |||
"en": "Class(es)", | |||
"cs": "Třída/y", | |||
"tr": "Sınıf(lar)" | |||
}, | |||
"description": { | |||
"en": "Additional CSS class(es) for the whole box.", | |||
"cs": "Další třída/y CSS pro celý box.", | |||
"tr": "Tüm kutu için ek CSS sınıf(lar)ı." | |||
}, | |||
"type": "line" | |||
}, | |||
"footer": { | |||
"label": "Footer", | |||
"description": "Optional footer area.", | |||
"type": "content" | |||
} | |||
}, | |||
"paramOrder": [ | |||
"heading", | |||
"content", | |||
"footer", | |||
"class" | |||
] | |||
} | |||
</templatedata> | |||
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox|| | |||
<!-- Categories go here and interwikis go in Wikidata. --> | |||
}}</includeonly> | |||
Version vom 13. Januar 2023, 08:43 Uhr
Vorlage:Documentation subpage Vorlage:Uses TemplateStyles
This template creates a styled information card.
| Parameter | Beschreibung | Typ | Status | |
|---|---|---|---|---|
| Heading | heading | The card's title. | Wikitext | erforderlich |
| Content | content | The card's content. | Wikitext | erforderlich |
| Footer | footer | Optional footer area. | Wikitext | optional |
| Class(es) | class | Additional CSS class(es) for the whole box. | Einzeiliger Text | optional |