Vorlage:Infobox: Unterschied zwischen den Versionen
Aus Eduwiki
Andyg (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
Andyg (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
||
Zeile 31: | Zeile 31: | ||
}, | }, | ||
"image": { | "image": { | ||
"type": "wiki-file-name" | "type": "wiki-file-name", | ||
"autovalue": "", | |||
"suggested": true | |||
}, | }, | ||
"param1": { | "param1": { | ||
"type": "wiki-page-name" | "type": "wiki-page-name", | ||
"required": true, | |||
"suggested": true | |||
}, | }, | ||
"param2": { | "param2": { | ||
"type": "string" | "type": "string", | ||
"required": true, | |||
"suggested": true | |||
}, | }, | ||
"param3": {}, | "param3": {}, |
Version vom 25. November 2019, 16:17 Uhr
Infobox
{{#if:|
[[File:{{{image}}}|300px]]
}}
{{#if:|
}}
{{#if:|}}{{#if:|}}{{#if:|}}{{#if:|}}Parameter 1 | {{{param1}}} |
---|---|
Parameter 2 | {{{param2}}} |
Parameter 3 | {{{param3}}} |
Parameter 4 | {{{param4}}} |
Parameter 5 | {{{param5}}} |
<templatedata> { "params": { "title": { "type": "wiki-template-name", "autovalue": "Vorlage:Infobox" }, "image": { "type": "wiki-file-name", "autovalue": "", "suggested": true }, "param1": { "type": "wiki-page-name", "required": true, "suggested": true }, "param2": { "type": "string", "required": true, "suggested": true }, "param3": {}, "param4": {}, "param5": {} } } </templatedata>