Vorlage:Infobox: Unterschied zwischen den Versionen
Andyg (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
Andyg (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
||
(132 dazwischenliegende Versionen von 2 Benutzern werden nicht angezeigt) | |||
Zeile 1: | Zeile 1: | ||
<div class="infobox"> | <div class="infobox"> | ||
<div class="infobox-title"> | <div class="infobox-title", style="padding:5px;">Übersicht</div> | ||
<div class="infobox-image">[[{{{image}}}| | {{#if:{{{image|}}}| | ||
<div class="infobox-image", style="padding:5px;">[[{{{image}}}|290px]]</div> | |||
}} | |||
<table> | <table> | ||
{{#if:{{{thema|}}}| | |||
<tr> | <tr> | ||
<th>Themenfeld</th> | |||
<td>[[{{{thema}}}]]</td> | |||
</tr>}} | </tr> | ||
{{#if:{{{ | }} | ||
<tr> | {{#if:{{{Autor|}}}| | ||
<th> | <tr> | ||
<td>{{{ | <th>Autor</th> | ||
</tr>}} | <td>[[{{{Autor}}}]]</td> | ||
{{#if:{{{ | </tr> | ||
<tr> | }} | ||
<th> | <tr> | ||
<td>{{{ | <th>Editiert am</th> | ||
</tr>}}{{#if:{{{ | <td>{{REVISIONDAY2}}.{{REVISIONMONTH1}}.{{REVISIONYEAR}}</td> | ||
<th> | </tr> | ||
<td>{{{ | {{#if:{{{Material|}}}| | ||
</tr>}}{{#if:{{{ | {{#if:{{{Material_Name|}}}| | ||
<th> | <tr> | ||
<td>{{{ | <th>Material</th> | ||
</tr>}}</table> | <td>[[:{{{Material}}}|{{{Material_Name}}}]] | ||
</td> | |||
</tr> | |||
| | |||
<tr> | |||
<th>Material</th> | |||
<td>[[:{{{Material}}}|{{{Material}}}]] | |||
</td> | |||
</tr> | |||
}} | |||
}} | |||
{{#if:{{{Material1|}}}| | |||
{{#if:{{{Material1_Name|}}}| | |||
<tr> | |||
<th></th> | |||
<td>[[:{{{Material1}}}|{{{Material1_Name}}}]] | |||
</td> | |||
</tr> | |||
| | |||
<tr> | |||
<th></th> | |||
<td>[[:{{{Material1}}}|{{{Material1}}}]] | |||
</td> | |||
</tr> | |||
}} | |||
}} | |||
{{#if:{{{Material2|}}}| | |||
{{#if:{{{Material2_Name|}}}| | |||
<tr> | |||
<th></th> | |||
<td>[[:{{{Material2}}}|{{{Material2_Name}}}]] | |||
</td> | |||
</tr> | |||
| | |||
<tr> | |||
<th></th> | |||
<td>[[:{{{Material2}}}|{{{Material2}}}]] | |||
</td> | |||
</tr> | |||
}} | |||
}} | |||
{{#if:{{{Material3|}}}| | |||
{{#if:{{{Material3_Name|}}}| | |||
<tr> | |||
<th></th> | |||
<td>[[:{{{Material3}}}|{{{Material3_Name}}}]] | |||
</td> | |||
</tr> | |||
| | |||
<tr> | |||
<th></th> | |||
<td>[[:{{{Material3}}}|{{{Material3}}}]] | |||
</td> | |||
</tr> | |||
}} | |||
}} | |||
{{#if:{{{Material4|}}}| | |||
{{#if:{{{Material4_Name|}}}| | |||
<tr> | |||
<th></th> | |||
<td>[[:{{{Material4}}}|{{{Material4_Name}}}]] | |||
</td> | |||
</tr> | |||
| | |||
<tr> | |||
<th></th> | |||
<td>[[:{{{Material4}}}|{{{Material4}}}]] | |||
</td> | |||
</tr> | |||
}} | |||
}} | |||
{{#if:{{{subpages|}}}| | |||
<tr> | |||
<th>Unterseiten</th> | |||
<td>{{Special:PrefixIndex/{{FULLPAGENAME}}/|stripprefix=1}}</td> | |||
</tr> | |||
}} | |||
<!-- <tr> COMMENT | |||
<th>Seite als PDF</th> | |||
<td> | |||
[https://unterrichtsmaterial-ddi.cs.upb.de/index.php?title=Spezial:Buch&bookcmd=render_article&arttitle={{urlencode:{{PAGENAME}} | |||
|PATH}} Download]</td> | |||
</tr> | |||
--> | |||
</table> | |||
</div> | </div> | ||
<noinclude> | <noinclude> | ||
<templatedata> | <templatedata> | ||
{ | { | ||
"params": { | "params": { | ||
"image": { | |||
"type": "wiki-page-name", | |||
"example": "Datei:Roadmap.JPG", | |||
"suggested": true, | |||
"description": "Hier wird ein Bild eingefügt" | |||
}, | |||
"thema": { | |||
"type": "wiki-page-name", | |||
"required": true, | |||
"suggested": true, | |||
"description": "Hier wird das Themfeld angegeben", | |||
"example": "Data Science" | |||
}, | |||
"Material": { | |||
"description": "Arbeitsblätter oder Ähnliches", | |||
"type": "wiki-page-name", | |||
"suggested": true, | |||
"example": "Datei:Data Science Guidelines.pdf" | |||
}, | |||
"Material_Name": { | |||
"description": "Angezeigter Name des Materials", | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"Autor": { | |||
"description": "Hier kann sich der Ursprüngliche Autor verlinken.", | |||
"type": "wiki-user-name", | |||
"autovalue": "", | |||
"example": "Benutzer:Name", | |||
"suggested": true | |||
}, | |||
"title": { | "title": { | ||
" | "autovalue": "" | ||
" | }, | ||
"subpages": { | |||
"description": "Sollen die Untersieten in der Infobox angezeigt werden?", | |||
"suggested": true, | |||
"type": "boolean" | |||
}, | }, | ||
" | "Material1": { | ||
"description": "Arbeitsblätter oder Ähnliches", | |||
"type": "wiki-page-name", | |||
"suggested": true, | |||
"example": "Datei:Data Science Guidelines.pdf" | |||
}, | |||
"Material1_Name": { | |||
"description": "Angezeigter Name des Materials", | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"Material2": { | |||
"description": "Arbeitsblätter oder Ähnliches", | |||
"type": "wiki-page-name", | |||
"suggested": true, | |||
"example": "Datei:Data Science Guidelines.pdf" | |||
}, | |||
"Material2_Name": { | |||
"description": "Angezeigter Name des Materials", | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"Material3": { | |||
"description": "Arbeitsblätter oder Ähnliches", | |||
"type": "wiki-page-name", | |||
"suggested": true, | "suggested": true, | ||
"example": "Datei:Data Science Guidelines.pdf" | |||
"example": "Datei: | |||
}, | }, | ||
" | "Material3_Name": { | ||
"description": "Angezeigter Name des Materials", | |||
"type": "string", | "type": "string", | ||
"suggested": true | "suggested": true | ||
}, | }, | ||
"Material4": { | |||
"description": "Arbeitsblätter oder Ähnliches", | |||
"type": "wiki-page-name", | "type": "wiki-page-name", | ||
"suggested": true, | "suggested": true, | ||
"description": " | "example": "Datei:Data Science Guidelines.pdf" | ||
" | }, | ||
"Material4_Name": { | |||
"description": "Angezeigter Name des Materials", | |||
"type": "string", | |||
"suggested": true | |||
} | } | ||
}, | |||
"paramOrder": [ | "paramOrder": [ | ||
"image", | "image", | ||
"thema", | "thema", | ||
" | "Material", | ||
" | "Material_Name", | ||
" | "Autor", | ||
" | "title", | ||
] | "subpages", | ||
"Material1", | |||
"Material1_Name", | |||
"Material2", | |||
"Material2_Name", | |||
"Material3", | |||
"Material3_Name", | |||
"Material4", | |||
"Material4_Name" | |||
], | |||
"description": "Die Vorlage für eine right-floating Infobox" | |||
} | } | ||
</templatedata> | </templatedata> | ||
</noinclude> | </noinclude> |
Aktuelle Version vom 5. Dezember 2022, 13:18 Uhr
{{#if:|
}}
{{#if:| }} {{#if:| }} {{#if:| {{#if:| | }} }} {{#if:| {{#if:| | }} }} {{#if:| {{#if:| | }} }} {{#if:| {{#if:| | }} }} {{#if:| {{#if:| | }} }} {{#if:| }}Themenfeld | [[{{{thema}}}]] |
---|---|
Autor | [[{{{Autor}}}]] |
Editiert am | 05.12.2022 |
Material | [[:{{{Material}}}|{{{Material_Name}}}]] |
Material | [[:{{{Material}}}|{{{Material}}}]] |
[[:{{{Material1}}}|{{{Material1_Name}}}]] | |
[[:{{{Material1}}}|{{{Material1}}}]] | |
[[:{{{Material2}}}|{{{Material2_Name}}}]] | |
[[:{{{Material2}}}|{{{Material2}}}]] | |
[[:{{{Material3}}}|{{{Material3_Name}}}]] | |
[[:{{{Material3}}}|{{{Material3}}}]] | |
[[:{{{Material4}}}|{{{Material4_Name}}}]] | |
[[:{{{Material4}}}|{{{Material4}}}]] | |
Unterseiten |
<templatedata>
{
"params": {
"image": {
"type": "wiki-page-name",
"example": "Datei:Roadmap.JPG",
"suggested": true,
"description": "Hier wird ein Bild eingefügt"
},
"thema": {
"type": "wiki-page-name",
"required": true,
"suggested": true,
"description": "Hier wird das Themfeld angegeben",
"example": "Data Science"
},
"Material": {
"description": "Arbeitsblätter oder Ähnliches",
"type": "wiki-page-name",
"suggested": true,
"example": "Datei:Data Science Guidelines.pdf"
},
"Material_Name": {
"description": "Angezeigter Name des Materials",
"type": "string",
"suggested": true
},
"Autor": {
"description": "Hier kann sich der Ursprüngliche Autor verlinken.",
"type": "wiki-user-name",
"autovalue": "",
"example": "Benutzer:Name",
"suggested": true
},
"title": {
"autovalue": ""
},
"subpages": {
"description": "Sollen die Untersieten in der Infobox angezeigt werden?",
"suggested": true,
"type": "boolean"
},
"Material1": {
"description": "Arbeitsblätter oder Ähnliches",
"type": "wiki-page-name",
"suggested": true,
"example": "Datei:Data Science Guidelines.pdf"
},
"Material1_Name": {
"description": "Angezeigter Name des Materials",
"type": "string",
"suggested": true
},
"Material2": {
"description": "Arbeitsblätter oder Ähnliches",
"type": "wiki-page-name",
"suggested": true,
"example": "Datei:Data Science Guidelines.pdf"
},
"Material2_Name": {
"description": "Angezeigter Name des Materials",
"type": "string",
"suggested": true
},
"Material3": {
"description": "Arbeitsblätter oder Ähnliches", "type": "wiki-page-name", "suggested": true, "example": "Datei:Data Science Guidelines.pdf" }, "Material3_Name": { "description": "Angezeigter Name des Materials", "type": "string", "suggested": true },
"Material4": {
"description": "Arbeitsblätter oder Ähnliches", "type": "wiki-page-name", "suggested": true, "example": "Datei:Data Science Guidelines.pdf" }, "Material4_Name": { "description": "Angezeigter Name des Materials", "type": "string", "suggested": true }
},
"paramOrder": [ "image", "thema", "Material", "Material_Name", "Autor", "title", "subpages", "Material1",
"Material1_Name",
"Material2",
"Material2_Name", "Material3", "Material3_Name",
"Material4",
"Material4_Name"
], "description": "Die Vorlage für eine right-floating Infobox" } </templatedata>