Vorlage:Quickbar image
Aus Wikivoyage
de:
- 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 Quickbar verwendet.
- Verwendung:
{{Quickbar image|heading=Titel|image=Abbildung|colspan=Anzahl}} - Erforderliche Parameter:
-
|image=Abbildung
-
- Optionale Parameter:
-
|heading= Titel der Abbildung -
|colspan= Anzahl der Tabellenspalten, die überspannt werden sollen. Standard ist 2.
-
- Beispiel 1:
{| {{Quickbar table|pos=normal|width: 300px;}}
{{Quickbar image|image=[[Bild:LocationEgypt.png|Karte von Nordafrika mit eingezeichneter Lage von Ägypten]]}}
|}
bewirkt:
- Beispiel 2:
{| {{Quickbar table|pos=normal|width: 300px;}}
{{Quickbar image|heading=Lage|image=[[Bild:LocationEgypt.png|Karte von Nordafrika mit eingezeichneter Lage von Ägypten]]}}
{{Quickbar header|Kurzdaten}}
{{quickbar item|heading=Hauptstadt|value=Kairo}}
|}
bewirkt:
| Lage
| |
| Kurzdaten | |
| Hauptstadt: | Kairo |
|---|---|
en:
- Function: This template creates a box containing a header line and an image both centered. Usually this template is used in the Quickbar template.
- Usage:
{{Quickbar image|heading=Title|image=Image|colspan=column count}} - Required Parameters:
-
|image=Image
-
- Optional Parameters:
-
|heading= Heading of the image. -
|colspan= Count of table columns to be spaned. Default value is 2.
-
- Example:
{| {{Quickbar table|pos=normal|width: 300px;}}
{{Quickbar image|heading=Position|image=[[Bild:LocationEgypt.png|Map of North Africa with the location of Egypt]]}}
|}
produces:
| Position
|


