Vorlage:Infobox Bild

Aus VolynWiki
Wechseln zu: Navigation, Suche

|-

| colspan="2" class="ibBildCell" | {{#if: |
{{{heading}}}
|}}
{{{image}}}

Erklärungen

  • Funktion: Die Vorlage dient zur Erstellung einer Box mit einer Titelzeile und einer Abbildung, die beide zentriert werden. Üblicherweise wird diese Vorlage in der Vorlage Infobox Ujesd verwendet.
  • Verwendung: |-
| colspan="Anzahl" class="ibBildCell" | {{#if: Titel|
Titel
|}}
Abbildung

  • Erforderliche Parameter:
    • |image= Abbildung
  • Optionale Parameter:
    • |heading = Titel der Abbildung
    • |colspan = Anzahl der Tabellenspalten, die überspannt werden sollen. Standard ist 2.
  • Beispiel 1:
{| {{Infobox Tabelle|pos=normal|width: 300px;}}
{{Infobox Bild|image=[[Bild:LocationEgypt.png|Karte von Nordafrika mit eingezeichneter Lage von Ägypten]]}}
|}

bewirkt:

right = ib ibRight rechts = ib ibRight left = ib ibLeft links = ib ibLeft normal = ib

}} {{#if: |ibTopBorder}}" {{#if: width: 300px;|style="width: 300px;"}}

{{#if: |
{{{heading}}}
|}}
  • Beispiel 2:
{| {{Infobox Tabelle|pos=normal|width: 300px;}}
{{Infobox Bild|heading=Lage|image=[[Bild:LocationEgypt.png|Karte von Nordafrika mit eingezeichneter Lage von Ägypten]]}}
{{Infobox Kopf|Kurzdaten}}
{{Infobox Begriff|heading=Hauptstadt|value=Kairo}}
|}

bewirkt:

right = ib ibRight rechts = ib ibRight left = ib ibLeft links = ib ibLeft normal = ib

}} {{#if: |ibTopBorder}}" {{#if: width: 300px;|style="width: 300px;"}}

{{#if: Lage|
Lage
|}}
Kurzdaten
Hauptstadt: Kairo