Vorlage:Infobox: Unterschied zwischen den Versionen
Aus Unterrichtsmaterial
Andyg (Diskussion | Beiträge) |
Andyg (Diskussion | Beiträge) |
||
Zeile 2: | Zeile 2: | ||
<div class="infobox-title">{{{title|{{PAGENAME}}}}}</div> | <div class="infobox-title">{{{title|{{PAGENAME}}}}}</div> | ||
{{#if:{{{file|}}}| | {{#if:{{{file|}}}| | ||
− | <div class="infobox-image">[[{{{file}}}|300px]]</div>}} | + | <div class="infobox-image">[[{{{file}}}|300px]]</div> |
+ | }} | ||
<table> | <table> | ||
{{#if:{{{thema|}}}| | {{#if:{{{thema|}}}| | ||
Zeile 13: | Zeile 14: | ||
<th>Parameter 2</th> | <th>Parameter 2</th> | ||
<td>{{{param2}}}</td> | <td>{{{param2}}}</td> | ||
− | </tr> | + | </tr> |
− | + | }} | |
− | + | </table> | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
</div> | </div> | ||
<noinclude> | <noinclude> | ||
Zeile 42: | Zeile 34: | ||
"autovalue": "" | "autovalue": "" | ||
}, | }, | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
"thema": { | "thema": { | ||
"type": "wiki-page-name", | "type": "wiki-page-name", | ||
Zeile 57: | Zeile 41: | ||
"example": "Data Science", | "example": "Data Science", | ||
"autovalue": "" | "autovalue": "" | ||
+ | }, | ||
+ | "Kategorien": { | ||
+ | "type": "unbalanced-wikitext", | ||
+ | "required": true, | ||
+ | "suggested": true | ||
} | } | ||
}, | }, | ||
Zeile 63: | Zeile 52: | ||
"file", | "file", | ||
"thema", | "thema", | ||
− | " | + | "Kategorien" |
− | |||
− | |||
− | |||
], | ], | ||
"description": "Die Vorlage für eine right-floating Infobox" | "description": "Die Vorlage für eine right-floating Infobox" |
Version vom 5. Dezember 2019, 14:51 Uhr
Infobox
Die Vorlage für eine right-floating Infobox
Parameter | Beschreibung | Typ | Status | |
---|---|---|---|---|
Title | title | keine Beschreibung
| Vorlage | optional |
File | file | Hier wird ein Bild eingefügt
| Seite | erforderlich |
Thema | thema | Hier wird das Themfeld angegeben
| Seite | erforderlich |
Kategorien | Kategorien | keine Beschreibung | Unausgeglichener Wikitext | erforderlich |