Vorlage:Infobox: Unterschied zwischen den Versionen

Aus Eduwiki
Wechseln zu:Navigation, Suche
Keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
Zeile 6: Zeile 6:
<tr>
<tr>
     <th>Themenfeld</th>
     <th>Themenfeld</th>
     <td>{{{param1}}}</td>
     <td>{{{thema}}}</td>
</tr>}}
</tr>}}
{{#if:{{{param2|}}}|
{{#if:{{{param2|}}}|
Zeile 36: Zeile 36:
"type": "wiki-file-name",
"type": "wiki-file-name",
"autovalue": "",
"autovalue": "",
"suggested": true
},
"param1": {
"type": "wiki-page-name",
"required": true,
"suggested": true
"suggested": true
},
},
Zeile 50: Zeile 45:
"param3": {},
"param3": {},
"param4": {},
"param4": {},
"param5": {}
"param5": {},
}
"thema": {
"type": "wiki-page-name",
"required": true,
"suggested": true
}
},
"paramOrder": [
"title",
"image",
"thema",
"param2",
"param3",
"param4",
"param5"
]
}
}
</templatedata>
</templatedata>
</noinclude>
</noinclude>

Version vom 25. November 2019, 16:21 Uhr

Infobox
{{#if:|
[[File:{{{image}}}|300px]]
}} {{#if:| }} {{#if:| }} {{#if:| }}{{#if:|}}{{#if:|}}
Themenfeld {{{thema}}}
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 }, "param2": { "type": "string", "required": true, "suggested": true }, "param3": {}, "param4": {}, "param5": {}, "thema": { "type": "wiki-page-name", "required": true, "suggested": true } }, "paramOrder": [ "title", "image", "thema", "param2", "param3", "param4", "param5" ] } </templatedata>