Vorlage:Bildpos: Unterschied zwischen den Versionen

Aus Shadowhelix
Zur Navigation springen Zur Suche springen
K (Vorlagen-Kategorie umbenannt)
Keine Bearbeitungszusammenfassung
Zeile 3: Zeile 3:
<div style="
<div style="
     position:relative;
     position:relative;
     width:{{{base|20}}}px;
     width:{{{base|25}}}px;
     height:{{#expr:({{{base|20}}} * 297 / 210)}}px;
     height:{{#expr:({{{base|25}}} * 297 / 210)}}px;
     background-color:white;
     background-color:white;
">
">
Zeile 11: Zeile 11:
<div style="
<div style="
     position: absolute;
     position: absolute;
     left:{{#expr:{{{base|20}}} * 0.05}}px;
     left:{{#expr:{{{base|25}}} * 0.05}}px;
     top:{{#expr:{{{base|20}}} * 0.05}}px;
     top:{{#expr:{{{base|25}}} * 0.05}}px;
     width:{{#expr:{{{base|20}}} * 0.9}}px;
     width:{{#expr:{{{base|25}}} * 0.9}}px;
     height:{{#expr:{{{base|20}}} * 297 / 210 - {{{base|20}}} * 0.1}}px;
     height:{{#expr:{{{base|25}}} * 297 / 210 - {{{base|25}}} * 0.1}}px;
     background-color:black;
     background-color:black;
"></div>
"></div>
Zeile 20: Zeile 20:
<div style="
<div style="
     position: absolute;
     position: absolute;
     left:{{#expr:{{{base|20}}} * 0.05}}px;
     left:{{#expr:{{{base|25}}} * 0.05}}px;
     top:{{#expr:{{{base|20}}} * 0.05}}px;
     top:{{#expr:{{{base|25}}} * 0.05}}px;
     width:{{#expr:{{{base|20}}} * 0.9}}px;
     width:{{#expr:{{{base|25}}} * 0.9}}px;
     height:{{#expr:{{{base|20}}} * 297 / 210 * 0.5 - {{{base|20}}} * 0.05}}px;
     height:{{#expr:{{{base|25}}} * 297 / 210 * 0.5 - {{{base|25}}} * 0.05}}px;
     background-color:black;
     background-color:black;
"></div>
"></div>
Zeile 29: Zeile 29:
<div style="
<div style="
     position: absolute;
     position: absolute;
     left:{{#expr:{{{base|20}}} * 0.05}}px;
     left:{{#expr:{{{base|25}}} * 0.05}}px;
     top:{{#expr:{{{base|20}}} * 297 / 210 * 0.5}}px;
     top:{{#expr:{{{base|25}}} * 297 / 210 * 0.5}}px;
     width:{{#expr:{{{base|20}}} * 0.9}}px;
     width:{{#expr:{{{base|25}}} * 0.9}}px;
     height:{{#expr:{{{base|20}}} * 297 / 210 * 0.5 - {{{base|20}}} * 0.05}}px;
     height:{{#expr:{{{base|25}}} * 297 / 210 * 0.5 - {{{base|25}}} * 0.05}}px;
     background-color:black;
     background-color:black;
"></div>
"></div>
Zeile 38: Zeile 38:
<div style="
<div style="
     position: absolute;
     position: absolute;
     left:{{#expr:{{{base|20}}} * 0.05}}px;
     left:{{#expr:{{{base|25}}} * 0.05}}px;
     top:{{#expr:{{{base|20}}} * 0.05}}px;
     top:{{#expr:{{{base|25}}} * 0.05}}px;
     width:{{#expr:{{{base|20}}} * 0.45}}px;
     width:{{#expr:{{{base|25}}} * 0.45}}px;
     height:{{#expr:{{{base|20}}} * 297 / 210  - {{{base|20}}} * 0.1}}px;
     height:{{#expr:{{{base|25}}} * 297 / 210  - {{{base|25}}} * 0.1}}px;
     background-color:black;
     background-color:black;
"></div>
"></div>
Zeile 47: Zeile 47:
<div style="
<div style="
     position: absolute;
     position: absolute;
     left:{{#expr:{{{base|20}}} * 0.5}}px;
     left:{{#expr:{{{base|25}}} * 0.5}}px;
     top:{{#expr:{{{base|20}}} * 0.05}}px;
     top:{{#expr:{{{base|25}}} * 0.05}}px;
     width:{{#expr:{{{base|20}}} * 0.45}}px;
     width:{{#expr:{{{base|25}}} * 0.45}}px;
     height:{{#expr:{{{base|20}}} * 297 / 210  - {{{base|20}}} * 0.1}}px;
     height:{{#expr:{{{base|25}}} * 297 / 210  - {{{base|25}}} * 0.1}}px;
     background-color:black;
     background-color:black;
"></div>
"></div>
Zeile 56: Zeile 56:
<div style="
<div style="
     position: absolute;
     position: absolute;
     left:{{#expr:{{{base|20}}} * 0.05}}px;
     left:{{#expr:{{{base|25}}} * 0.05}}px;
     top:{{#expr:{{{base|20}}} * 0.05}}px;
     top:{{#expr:{{{base|25}}} * 0.05}}px;
     width:{{#expr:{{{base|20}}} * 0.45}}px;
     width:{{#expr:{{{base|25}}} * 0.45}}px;
     height:{{#expr:{{{base|20}}} * 297 / 210 * 0.5 - {{{base|20}}} * 0.05}}px;
     height:{{#expr:{{{base|25}}} * 297 / 210 * 0.5 - {{{base|25}}} * 0.05}}px;
     background-color:black;
     background-color:black;
"></div>
"></div>
Zeile 65: Zeile 65:
<div style="
<div style="
     position: absolute;
     position: absolute;
     left:{{#expr:{{{base|20}}} * 0.05}}px;
     left:{{#expr:{{{base|25}}} * 0.05}}px;
     top:{{#expr:{{{base|20}}} * 297 / 210 * 0.5}}px;
     top:{{#expr:{{{base|25}}} * 297 / 210 * 0.5}}px;
     width:{{#expr:{{{base|20}}} * 0.45}}px;
     width:{{#expr:{{{base|25}}} * 0.45}}px;
     height:{{#expr:{{{base|20}}} * 297 / 210 * 0.5 - {{{base|20}}} * 0.05}}px;
     height:{{#expr:{{{base|25}}} * 297 / 210 * 0.5 - {{{base|25}}} * 0.05}}px;
     background-color:black;
     background-color:black;
"></div>
"></div>
Zeile 74: Zeile 74:
<div style="
<div style="
     position: absolute;
     position: absolute;
     left:{{#expr:{{{base|20}}} * 0.5}}px;
     left:{{#expr:{{{base|25}}} * 0.5}}px;
     top:{{#expr:{{{base|20}}} * 0.05}}px;
     top:{{#expr:{{{base|25}}} * 0.05}}px;
     width:{{#expr:{{{base|20}}} * 0.45}}px;
     width:{{#expr:{{{base|25}}} * 0.45}}px;
     height:{{#expr:{{{base|20}}} * 297 / 210 * 0.5 - {{{base|20}}} * 0.05}}px;
     height:{{#expr:{{{base|25}}} * 297 / 210 * 0.5 - {{{base|25}}} * 0.05}}px;
     background-color:black;
     background-color:black;
"></div>
"></div>
Zeile 83: Zeile 83:
<div style="
<div style="
     position: absolute;
     position: absolute;
     left:{{#expr:{{{base|20}}} * 0.5}}px;
     left:{{#expr:{{{base|25}}} * 0.5}}px;
     top:{{#expr:{{{base|20}}} * 297 / 210 * 0.5}}px;
     top:{{#expr:{{{base|25}}} * 297 / 210 * 0.5}}px;
     width:{{#expr:{{{base|20}}} * 0.45}}px;
     width:{{#expr:{{{base|25}}} * 0.45}}px;
     height:{{#expr:{{{base|20}}} * 297 / 210 * 0.5 - {{{base|20}}} * 0.05}}px;
     height:{{#expr:{{{base|25}}} * 297 / 210 * 0.5 - {{{base|25}}} * 0.05}}px;
     background-color:black;
     background-color:black;
"></div>
"></div>
Zeile 92: Zeile 92:
<div style="
<div style="
     position: absolute;
     position: absolute;
     left:{{#expr:{{{base|20}}} * 0.275}}px;
     left:{{#expr:{{{base|25}}} * 0.275}}px;
     top:{{#expr:{{{base|20}}} * 297 / 210 * 0.275}}px;
     top:{{#expr:{{{base|25}}} * 297 / 210 * 0.275}}px;
     width:{{#expr:{{{base|20}}} * 0.45}}px;
     width:{{#expr:{{{base|25}}} * 0.45}}px;
     height:{{#expr:{{{base|20}}} * 297 / 210 * 0.5 - {{{base|20}}} * 0.05}}px;
     height:{{#expr:{{{base|25}}} * 297 / 210 * 0.5 - {{{base|25}}} * 0.05}}px;
     background-color:black;
     background-color:black;
"></div>
"></div>
Zeile 101: Zeile 101:
<div style="
<div style="
     position: absolute;
     position: absolute;
     left:{{#expr:{{{base|20}}} * 0.05}}px;
     left:{{#expr:{{{base|25}}} * 0.05}}px;
     top:{{#expr:{{{base|20}}} * 297 / 210 * 0.275}}px;
     top:{{#expr:{{{base|25}}} * 297 / 210 * 0.275}}px;
     width:{{#expr:{{{base|20}}} * 0.45}}px;
     width:{{#expr:{{{base|25}}} * 0.45}}px;
     height:{{#expr:{{{base|20}}} * 297 / 210 * 0.5 - {{{base|20}}} * 0.05}}px;
     height:{{#expr:{{{base|25}}} * 297 / 210 * 0.5 - {{{base|25}}} * 0.05}}px;
     background-color:black;
     background-color:black;
"></div>
"></div>
Zeile 110: Zeile 110:
<div style="
<div style="
     position: absolute;
     position: absolute;
     left:{{#expr:{{{base|20}}} * 0.5}}px;
     left:{{#expr:{{{base|25}}} * 0.5}}px;
     top:{{#expr:{{{base|20}}} * 297 / 210 * 0.275}}px;
     top:{{#expr:{{{base|25}}} * 297 / 210 * 0.275}}px;
     width:{{#expr:{{{base|20}}} * 0.45}}px;
     width:{{#expr:{{{base|25}}} * 0.45}}px;
     height:{{#expr:{{{base|20}}} * 297 / 210 * 0.5 - {{{base|20}}} * 0.05}}px;
     height:{{#expr:{{{base|25}}} * 297 / 210 * 0.5 - {{{base|25}}} * 0.05}}px;
     background-color:black;
     background-color:black;
"></div>
"></div>
Zeile 123: Zeile 123:
==Werte==
==Werte==
{| style="background:transparent"
{| style="background:transparent"
| style="witdh:20px" | {{Bildpos|ganzseitig}}
| style="witdh:25px" | {{Bildpos|ganzseitig}}
| ganzseitig
| ganzseitig
|-
|-
| style="witdh:20px" | {{Bildpos|halbseitig-oben}}
| style="witdh:25px" | {{Bildpos|halbseitig-oben}}
| halbseitig-oben
| halbseitig-oben
|-
|-
| style="witdh:20px" | {{Bildpos|halbseitig-unten}}
| style="witdh:25px" | {{Bildpos|halbseitig-unten}}
| halbseitig-unten
| halbseitig-unten
|-
|-
| style="witdh:20px" | {{Bildpos|halbseitig-links}}
| style="witdh:25px" | {{Bildpos|halbseitig-links}}
| halbseitig-links
| halbseitig-links
|-
|-
| style="witdh:20px" | {{Bildpos|halbseitig-rechts}}
| style="witdh:25px" | {{Bildpos|halbseitig-rechts}}
| halbseitig-rechts
| halbseitig-rechts
|-
|-
| style="witdh:20px" | {{Bildpos|links-oben}}
| style="witdh:25px" | {{Bildpos|links-oben}}
| links-oben
| links-oben
|-
|-
| style="witdh:20px" | {{Bildpos|links-mitte}}
| style="witdh:25px" | {{Bildpos|links-mitte}}
| links-mitte
| links-mitte
|-
|-
| style="witdh:20px" | {{Bildpos|links-unten}}
| style="witdh:25px" | {{Bildpos|links-unten}}
| links-unten
| links-unten
|-
|-
| style="witdh:20px" | {{Bildpos|rechts-oben}}
| style="witdh:25px" | {{Bildpos|rechts-oben}}
| rechts-oben
| rechts-oben
|-
|-
| style="witdh:20px" | {{Bildpos|rechts-mitte}}
| style="witdh:25px" | {{Bildpos|rechts-mitte}}
| rechts-mitte
| rechts-mitte
|-
|-
| style="witdh:20px" | {{Bildpos|rechts-unten}}
| style="witdh:25px" | {{Bildpos|rechts-unten}}
| rechts-unten
| rechts-unten
|-
|-
| style="witdh:20px" | {{Bildpos|zentral}}
| style="witdh:25px" | {{Bildpos|zentral}}
| zentral
| zentral
|}
|}


[[Kategorie:!Vorlagen/Info|Bildpos]]
[[Kategorie:!Vorlagen/Info|Bildpos]]

Version vom 19. Mai 2013, 09:18 Uhr

Vorlage:Bildpos erzeugt eine grafische Repräsentation einer A4-Seite, auf der die Position eines Bildes mit einer schwarzen Fläche markiert ist. Sie soll der Identifizierung und Beschreibung von Bildern in Quellen dienen.

Werte

ganzseitig
halbseitig-oben
halbseitig-unten
halbseitig-links
halbseitig-rechts
links-oben
links-mitte
links-unten
rechts-oben
rechts-mitte
rechts-unten
zentral