Vorlage:Bildpos: Unterschied zwischen den Versionen

Aus Shadowhelix
Zur Navigation springen Zur Suche springen
Keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
Zeile 3: Zeile 3:
<div style="
<div style="
     position:relative;
     position:relative;
     width:{{{base|26}}}px;
     width:{{{base|40}}}px;
     height:{{#expr:({{{base|26}}} * 297 / 210)}}px;
     height:{{#expr:({{{base|40}}} * 297 / 210)}}px;
     background-color:white;
     background-color:white;
">
">
Zeile 11: Zeile 11:
<div style="
<div style="
     position: absolute;
     position: absolute;
     left:{{#expr:{{{base|26}}} * 0.05}}px;
     left:{{#expr:{{{base|40}}} * 0.05}}px;
     top:{{#expr:{{{base|26}}} * 0.05}}px;
     top:{{#expr:{{{base|40}}} * 0.05}}px;
     width:{{#expr:{{{base|26}}} * 0.9}}px;
     width:{{#expr:{{{base|40}}} * 0.9}}px;
     height:{{#expr:{{{base|26}}} * 297 / 210 - {{{base|26}}} * 0.1}}px;
     height:{{#expr:{{{base|40}}} * 297 / 210 - {{{base|40}}} * 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|26}}} * 0.05}}px;
     left:{{#expr:{{{base|40}}} * 0.05}}px;
     top:{{#expr:{{{base|26}}} * 0.05}}px;
     top:{{#expr:{{{base|40}}} * 0.05}}px;
     width:{{#expr:{{{base|26}}} * 0.9}}px;
     width:{{#expr:{{{base|40}}} * 0.9}}px;
     height:{{#expr:{{{base|26}}} * 297 / 210 * 0.5 - {{{base|26}}} * 0.05}}px;
     height:{{#expr:{{{base|40}}} * 297 / 210 * 0.5 - {{{base|40}}} * 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|26}}} * 0.05}}px;
     left:{{#expr:{{{base|40}}} * 0.05}}px;
     top:{{#expr:{{{base|26}}} * 297 / 210 * 0.5}}px;
     top:{{#expr:{{{base|40}}} * 297 / 210 * 0.5}}px;
     width:{{#expr:{{{base|26}}} * 0.9}}px;
     width:{{#expr:{{{base|40}}} * 0.9}}px;
     height:{{#expr:{{{base|26}}} * 297 / 210 * 0.5 - {{{base|26}}} * 0.05}}px;
     height:{{#expr:{{{base|40}}} * 297 / 210 * 0.5 - {{{base|40}}} * 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|26}}} * 0.05}}px;
     left:{{#expr:{{{base|40}}} * 0.05}}px;
     top:{{#expr:{{{base|26}}} * 0.05}}px;
     top:{{#expr:{{{base|40}}} * 0.05}}px;
     width:{{#expr:{{{base|26}}} * 0.45}}px;
     width:{{#expr:{{{base|40}}} * 0.45}}px;
     height:{{#expr:{{{base|26}}} * 297 / 210  - {{{base|26}}} * 0.1}}px;
     height:{{#expr:{{{base|40}}} * 297 / 210  - {{{base|40}}} * 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|26}}} * 0.5}}px;
     left:{{#expr:{{{base|40}}} * 0.5}}px;
     top:{{#expr:{{{base|26}}} * 0.05}}px;
     top:{{#expr:{{{base|40}}} * 0.05}}px;
     width:{{#expr:{{{base|26}}} * 0.45}}px;
     width:{{#expr:{{{base|40}}} * 0.45}}px;
     height:{{#expr:{{{base|26}}} * 297 / 210  - {{{base|26}}} * 0.1}}px;
     height:{{#expr:{{{base|40}}} * 297 / 210  - {{{base|40}}} * 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|26}}} * 0.05}}px;
     left:{{#expr:{{{base|40}}} * 0.05}}px;
     top:{{#expr:{{{base|26}}} * 0.05}}px;
     top:{{#expr:{{{base|40}}} * 0.05}}px;
     width:{{#expr:{{{base|26}}} * 0.45}}px;
     width:{{#expr:{{{base|40}}} * 0.45}}px;
     height:{{#expr:{{{base|26}}} * 297 / 210 * 0.5 - {{{base|26}}} * 0.05}}px;
     height:{{#expr:{{{base|40}}} * 297 / 210 * 0.5 - {{{base|40}}} * 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|26}}} * 0.05}}px;
     left:{{#expr:{{{base|40}}} * 0.05}}px;
     top:{{#expr:{{{base|26}}} * 297 / 210 * 0.5}}px;
     top:{{#expr:{{{base|40}}} * 297 / 210 * 0.5}}px;
     width:{{#expr:{{{base|26}}} * 0.45}}px;
     width:{{#expr:{{{base|40}}} * 0.45}}px;
     height:{{#expr:{{{base|26}}} * 297 / 210 * 0.5 - {{{base|26}}} * 0.05}}px;
     height:{{#expr:{{{base|40}}} * 297 / 210 * 0.5 - {{{base|40}}} * 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|26}}} * 0.5}}px;
     left:{{#expr:{{{base|40}}} * 0.5}}px;
     top:{{#expr:{{{base|26}}} * 0.05}}px;
     top:{{#expr:{{{base|40}}} * 0.05}}px;
     width:{{#expr:{{{base|26}}} * 0.45}}px;
     width:{{#expr:{{{base|40}}} * 0.45}}px;
     height:{{#expr:{{{base|26}}} * 297 / 210 * 0.5 - {{{base|26}}} * 0.05}}px;
     height:{{#expr:{{{base|40}}} * 297 / 210 * 0.5 - {{{base|40}}} * 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|26}}} * 0.5}}px;
     left:{{#expr:{{{base|40}}} * 0.5}}px;
     top:{{#expr:{{{base|26}}} * 297 / 210 * 0.5}}px;
     top:{{#expr:{{{base|40}}} * 297 / 210 * 0.5}}px;
     width:{{#expr:{{{base|26}}} * 0.45}}px;
     width:{{#expr:{{{base|40}}} * 0.45}}px;
     height:{{#expr:{{{base|26}}} * 297 / 210 * 0.5 - {{{base|26}}} * 0.05}}px;
     height:{{#expr:{{{base|40}}} * 297 / 210 * 0.5 - {{{base|40}}} * 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|26}}} * 0.275}}px;
     left:{{#expr:{{{base|40}}} * 0.275}}px;
     top:{{#expr:{{{base|26}}} * 297 / 210 * 0.275}}px;
     top:{{#expr:{{{base|40}}} * 297 / 210 * 0.275}}px;
     width:{{#expr:{{{base|26}}} * 0.45}}px;
     width:{{#expr:{{{base|40}}} * 0.45}}px;
     height:{{#expr:{{{base|26}}} * 297 / 210 * 0.5 - {{{base|26}}} * 0.05}}px;
     height:{{#expr:{{{base|40}}} * 297 / 210 * 0.5 - {{{base|40}}} * 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|26}}} * 0.05}}px;
     left:{{#expr:{{{base|40}}} * 0.05}}px;
     top:{{#expr:{{{base|26}}} * 297 / 210 * 0.275}}px;
     top:{{#expr:{{{base|40}}} * 297 / 210 * 0.275}}px;
     width:{{#expr:{{{base|26}}} * 0.45}}px;
     width:{{#expr:{{{base|40}}} * 0.45}}px;
     height:{{#expr:{{{base|26}}} * 297 / 210 * 0.5 - {{{base|26}}} * 0.05}}px;
     height:{{#expr:{{{base|40}}} * 297 / 210 * 0.5 - {{{base|40}}} * 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|26}}} * 0.5}}px;
     left:{{#expr:{{{base|40}}} * 0.5}}px;
     top:{{#expr:{{{base|26}}} * 297 / 210 * 0.275}}px;
     top:{{#expr:{{{base|40}}} * 297 / 210 * 0.275}}px;
     width:{{#expr:{{{base|26}}} * 0.45}}px;
     width:{{#expr:{{{base|40}}} * 0.45}}px;
     height:{{#expr:{{{base|26}}} * 297 / 210 * 0.5 - {{{base|26}}} * 0.05}}px;
     height:{{#expr:{{{base|40}}} * 297 / 210 * 0.5 - {{{base|40}}} * 0.05}}px;
     background-color:black;
     background-color:black;
"></div>
"></div>

Version vom 19. Mai 2013, 09:20 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