1.824 Bytes hinzugefügt,
07:50, 16. Aug. 2019 <onlyinclude><includeonly><div style="float: right; border: 1px solid grey; min-width: 300px;">
{| style="width: 100%; border-spacing: 0;"
|colspan="2" style="background-color: #ecf0f1; text-align: center; padding: 5px; font-size: 120%;"| '''{{{Titel|{{PAGENAME}}}}}'''
|-
{{#if: {{{Bildname|}}} | {{!}} colspan="2" style="text-align: center; padding: 5px;"{{!}} [[Datei:{{{Bildname}}}|200px|{{#if: {{{Bildtext|}}} | {{{Bildtext}}}|}}]] | }}
<!-- Bildtext -->
{{#if: {{{Bildtext|}}} | <div style="font-size: 90%;">Bildunterschrift</div>|}}
|-
<!-- Zeile 1 -->
{{#if: {{{Feldname1|}}} | {{!}} style="background-color: #e8e8e8; border-top: 1px solid grey; border-right: 1px solid grey; text-align: center; font-weight: 800; padding: 3px; width: 50%;" {{!}} {{{Feldname1|}}}
{{!}} style="border-top: 1px solid grey; padding: 3px; width: 50%;" {{!}} {{{Daten1}}}
{{!}}- | }}
<!-- Zeile 2 -->
{{#if: {{{Feldname2|}}} | {{!}} style="background-color: #e8e8e8; border-top: 1px solid grey; border-right: 1px solid grey; text-align: center; font-weight: 800; padding: 3px; width: 50%;" {{!}} {{{Feldname2|}}}
{{!}} style="border-top: 1px solid grey; padding: 3px; width: 50%;" {{!}} {{{Daten2}}}
{{!}}- | }}
<!-- Zeile 3 -->
{{#if: {{{Feldname3|}}} | {{!}} style="background-color: #e8e8e8; border-top: 1px solid grey; border-right: 1px solid grey; text-align: center; font-weight: 800; padding: 3px; width: 50%;" {{!}} {{{Feldname3|}}}
{{!}} style="border-top: 1px solid grey; padding: 3px; width: 50%;" {{!}} {{{Daten3}}}
<! -- Ende -->
{{!}}- | }}
|}
</div></includeonly></onlyinclude><noinclude>
Diese Vorlage generiert '''Infoboxen'''.
Beipsiel:
<pre>{{Infobox|Titel=Test|Feldname1=Foo|Daten1=Bar|Feldname2=Foo|Daten2=Bar}}</pre> erzeugt:
{{Infobox|Titel=Test|Feldname1=Foo|Daten1=Bar|Feldname2=Foo|Daten2=Bar}}</noinclude>