Vorlage:Lageplan25: Unterschied zwischen den Versionen
Aus Liebliches-Feld.net
Zur Navigation springenZur Suche springenK |
|||
Zeile 4: | Zeile 4: | ||
</noinclude>{| style="border-collapse: collapse;" | </noinclude>{| style="border-collapse: collapse;" | ||
| | | | ||
− | <div style="position: relative;"><div style="font-size: {{{mksize1}}}px; line-height: {{{mksize1}}}px; position: absolute; display: block; left:{{#expr: ({{{mapsize_x}}}*{{{x1}}}/100 - {{{mksize1}}} /2 ) round 0 }}px; top:{{#expr: ({{{mapsize_y}}}*{{{y1}}}/100 - {{{mksize1}}} /2 ) round 0 }}px; padding:0;">[[Bild:{{{mk1}}}|{{{mksize1}}}px|{{{mktext1}}}]]</div><div style="font-size: {{{mksize2}}}px; line-height: {{{mksize2}}}px; position: absolute; display: block; left:{{#expr: ({{{mapsize_x}}}*{{{x2}}}/100 - {{{mksize2}}} /2 ) round 0 }}px; top:{{#expr: ({{{mapsize_y}}}*{{{y2}}}/100 - {{{mksize2}}} /2 ) round 0 }}px; padding:0;">{{#if: {{{mk2}}} |[[Bild:{{{mk2}}}|{{{mksize2}}}px|{{{mktext2}}}]]}}</div><div style="font-size: {{{mksize3}}}px; line-height: {{{mksize3}}}px; position: absolute; display: block; left:{{#expr: ({{{mapsize_x}}}*{{{x3}}}/100 - {{{mksize3}}} /2 ) round 0 }}px; top:{{#expr: ({{{mapsize_y}}}*{{{y3}}}/100 - {{{mksize3}}} /2 ) round 0 }}px; padding:0;">{{#if: {{{mk3}}} |[[Bild:{{{mk3}}}|{{{mksize3}}}px|{{{mktext3}}}]]}}</div><div style="font-size: {{{mksize4}}}px; line-height: {{{mksize4}}}px; position: absolute; display: block; left:{{#expr: ({{{mapsize_x}}}*{{{x4}}}/100 - {{{mksize4}}} /2 ) round 0 }}px; top:{{#expr: ({{{mapsize_y}}}*{{{y4}}}/100 - {{{mksize4}}} /2 ) round 0 }}px; padding:0;">{{#if: {{{mk4}}} |[[Bild:{{{mk4}}}|{{{mksize4}}}px|{{{mktext4}}}]]}}</div><div style="font-size: {{{mksize5}}}px; line-height: {{{mksize5}}}px; position: absolute; display: block; left:{{#expr: ({{{mapsize_x}}}*{{{x5}}}/100 - {{{mksize5}}} /2 ) round 0 }}px; top:{{#expr: ({{{mapsize_y}}}*{{{y5}}}/100 - {{{mksize5}}} /2 ) round 0 }}px; padding:0;">{{#if: {{{mk5}}} |[[Bild:{{{mk5}}}|{{{mksize5}}}px|{{{mktext5}}}]]}}</div><div style="font-size: {{{mksize6}}}px; line-height: {{{mksize6}}}px; position: absolute; display: block; left:{{#expr: ({{{mapsize_x}}}*{{{x6}}}/100 - {{{mksize6}}} /2 ) round 0 }}px; top:{{#expr: ({{{mapsize_y}}}*{{{y6}}}/100 - {{{mksize6}}} /2 ) round 0 }}px; padding:0;">{{#if: {{{mk6}}} |[[Bild:{{{mk6}}}|{{{mksize6}}}px|{{{mktext6}}}]]}}</div><div style="font-size: {{{mksize7}}}px; line-height: {{{mksize7}}}px; position: absolute; display: block; left:{{#expr: ({{{mapsize_x}}}*{{{x7}}}/100 - {{{mksize7}}} /2 ) round 0 }}px; top:{{#expr: ({{{mapsize_y}}}*{{{y7}}}/100 - {{{mksize7}}} /2 ) round 0 }}px; padding:0;">{{#if: {{{mk7}}} |[[Bild:{{{mk7}}}|{{{mksize7}}}px|{{{mktext7}}}]]}}</div><div style="font-size: {{{mksize8}}}px; line-height: {{{mksize8}}}px; position: absolute; display: block; left:{{# | + | <div style="position: relative;"><div style="font-size: {{{mksize1}}}px; line-height: {{{mksize1}}}px; position: absolute; display: block; left:{{#iferror: {{#expr: ({{{mapsize_x}}}*{{{x1}}}/100 - {{{mksize1}}} /2 ) round 0 }}px; top:{{#expr: ({{{mapsize_y}}}*{{{y1}}}/100 - {{{mksize1}}} /2 ) round 0}} }}px; padding:0;">[[Bild:{{{mk1}}}|{{{mksize1}}}px|{{{mktext1}}}]]</div><div style="font-size: {{{mksize2}}}px; line-height: {{{mksize2}}}px; position: absolute; display: block; left:{{#iferror: {{#expr: ({{{mapsize_x}}}*{{{x2}}}/100 - {{{mksize2}}} /2 ) round 0 }}px; top:{{#expr: ({{{mapsize_y}}}*{{{y2}}}/100 - {{{mksize2}}} /2 ) round 0}} }}px; padding:0;">{{#if: {{{mk2}}} |[[Bild:{{{mk2}}}|{{{mksize2}}}px|{{{mktext2}}}]]}}</div><div style="font-size: {{{mksize3}}}px; line-height: {{{mksize3}}}px; position: absolute; display: block; left:{{#iferror: {{#expr: ({{{mapsize_x}}}*{{{x3}}}/100 - {{{mksize3}}} /2 ) round 0 }}px; top:{{#expr: ({{{mapsize_y}}}*{{{y3}}}/100 - {{{mksize3}}} /2 ) round 0}} }}px; padding:0;">{{#if: {{{mk3}}} |[[Bild:{{{mk3}}}|{{{mksize3}}}px|{{{mktext3}}}]]}}</div><div style="font-size: {{{mksize4}}}px; line-height: {{{mksize4}}}px; position: absolute; display: block; left:{{#iferror: {{#expr: ({{{mapsize_x}}}*{{{x4}}}/100 - {{{mksize4}}} /2 ) round 0 }}px; top:{{#expr: ({{{mapsize_y}}}*{{{y4}}}/100 - {{{mksize4}}} /2 ) round 0}} }}px; padding:0;">{{#if: {{{mk4}}} |[[Bild:{{{mk4}}}|{{{mksize4}}}px|{{{mktext4}}}]]}}</div><div style="font-size: {{{mksize5}}}px; line-height: {{{mksize5}}}px; position: absolute; display: block; left:{{#iferror: {{#expr: ({{{mapsize_x}}}*{{{x5}}}/100 - {{{mksize5}}} /2 ) round 0 }}px; top:{{#expr: ({{{mapsize_y}}}*{{{y5}}}/100 - {{{mksize5}}} /2 ) round 0}} }}px; padding:0;">{{#if: {{{mk5}}} |[[Bild:{{{mk5}}}|{{{mksize5}}}px|{{{mktext5}}}]]}}</div><div style="font-size: {{{mksize6}}}px; line-height: {{{mksize6}}}px; position: absolute; display: block; left:{{#iferror: {{#expr: ({{{mapsize_x}}}*{{{x6}}}/100 - {{{mksize6}}} /2 ) round 0 }}px; top:{{#expr: ({{{mapsize_y}}}*{{{y6}}}/100 - {{{mksize6}}} /2 ) round 0}} }}px; padding:0;">{{#if: {{{mk6}}} |[[Bild:{{{mk6}}}|{{{mksize6}}}px|{{{mktext6}}}]]}}</div><div style="font-size: {{{mksize7}}}px; line-height: {{{mksize7}}}px; position: absolute; display: block; left:{{#iferror: {{#expr: ({{{mapsize_x}}}*{{{x7}}}/100 - {{{mksize7}}} /2 ) round 0 }}px; top:{{#expr: ({{{mapsize_y}}}*{{{y7}}}/100 - {{{mksize7}}} /2 ) round 0}} }}px; padding:0;">{{#if: {{{mk7}}} |[[Bild:{{{mk7}}}|{{{mksize7}}}px|{{{mktext7}}}]]}}</div><div style="font-size: {{{mksize8}}}px; line-height: {{{mksize8}}}px; position: absolute; display: block; left:{{#iferror: {{#expr: ({{{mapsize_x}}}*{{{x8}}}/100 - {{{mksize8}}} /2 ) round 0 }}px; top:{{#expr: ({{{mapsize_y}}}*{{{y8}}}/100 - {{{mksize8}}} /2 ) round 0}} }}px; padding:0;">{{#if: {{{mk8}}} |[[Bild:{{{mk8}}}|{{{mksize8}}}px|{{{mktext8}}}]]}}</div><div style="font-size: {{{mksize9}}}px; line-height: {{{mksize9}}}px; position: absolute; display: block; left:{{#iferror: {{#expr: ({{{mapsize_x}}}*{{{x9}}}/100 - {{{mksize9}}} /2 ) round 0 }}px; top:{{#expr: ({{{mapsize_y}}}*{{{y9}}}/100 - {{{mksize9}}} /2 ) round 0}} }}px; padding:0;">{{#if: {{{mk9}}} |[[Bild:{{{mk9}}}|{{{mksize9}}}px|{{{mktext9}}}]]}}</div><div style="font-size: {{{mksize10}}}px; line-height: {{{mksize10}}}px; position: absolute; display: block; left:{{#iferror: {{#expr: ({{{mapsize_x}}}*{{{x10}}}/100 - {{{mksize10}}} /2 ) round 0 }}px; top:{{#expr: ({{{mapsize_y}}}*{{{y10}}}/100 - {{{mksize10}}} /2 ) round 0}} }}px; padding:0;">{{#if: {{{mk10}}} |[[Bild:{{{mk10}}}|{{{mksize10}}}px|{{{mktext10}}}]]}}</div><div style="font-size: {{{mksize11}}}px; line-height: {{{mksize11}}}px; position: absolute; display: block; left:{{#iferror: {{#expr: ({{{mapsize_x}}}*{{{x11}}}/100 - {{{mksize11}}} /2 ) round 0 }}px; top:{{#expr: ({{{mapsize_y}}}*{{{y11}}}/100 - {{{mksize11}}} /2 ) round 0}} }}px; padding:0;">{{#if: {{{mk11}}} |[[Bild:{{{mk11}}}|{{{mksize11}}}px|{{{mktext11}}}]]}}</div><div style="font-size: {{{mksize12}}}px; line-height: {{{mksize12}}}px; position: absolute; display: block; left:{{#iferror: {{#expr: ({{{mapsize_x}}}*{{{x12}}}/100 - {{{mksize12}}} /2 ) round 0 }}px; top:{{#expr: ({{{mapsize_y}}}*{{{y12}}}/100 - {{{mksize12}}} /2 ) round 0}} }}px; padding:0;">{{#if: {{{mk12}}} |[[Bild:{{{mk12}}}|{{{mksize12}}}px|{{{mktext12}}}]]}}</div><div style="font-size: {{{mksize13}}}px; line-height: {{{mksize13}}}px; position: absolute; display: block; left:{{#iferror: {{#expr: ({{{mapsize_x}}}*{{{x13}}}/100 - {{{mksize13}}} /2 ) round 0 }}px; top:{{#expr: ({{{mapsize_y}}}*{{{y13}}}/100 - {{{mksize13}}} /2 ) round 0}} }}px; padding:0;">{{#if: {{{mk13}}} |[[Bild:{{{mk13}}}|{{{mksize13}}}px|{{{mktext13}}}]]}}</div><div style="font-size: {{{mksize14}}}px; line-height: {{{mksize14}}}px; position: absolute; display: block; left:{{#iferror: {{#expr: ({{{mapsize_x}}}*{{{x14}}}/100 - {{{mksize14}}} /2 ) round 0 }}px; top:{{#expr: ({{{mapsize_y}}}*{{{y14}}}/100 - {{{mksize14}}} /2 ) round 0}} }}px; padding:0;">{{#if: {{{mk14}}} |[[Bild:{{{mk14}}}|{{{mksize14}}}px|{{{mktext14}}}]]}}</div><div style="font-size: {{{mksize15}}}px; line-height: {{{mksize15}}}px; position: absolute; display: block; left:{{#iferror: {{#expr: ({{{mapsize_x}}}*{{{x15}}}/100 - {{{mksize15}}} /2 ) round 0 }}px; top:{{#expr: ({{{mapsize_y}}}*{{{y15}}}/100 - {{{mksize15}}} /2 ) round 0}} }}px; padding:0;">{{#if: {{{mk15}}} |[[Bild:{{{mk15}}}|{{{mksize15}}}px|{{{mktext15}}}]]}}</div><div style="font-size: {{{mksize16}}}px; line-height: {{{mksize16}}}px; position: absolute; display: block; left:{{#iferror: {{#expr: ({{{mapsize_x}}}*{{{x16}}}/100 - {{{mksize16}}} /2 ) round 0 }}px; top:{{#expr: ({{{mapsize_y}}}*{{{y16}}}/100 - {{{mksize16}}} /2 ) round 0}} }}px; padding:0;">{{#if: {{{mk16}}} |[[Bild:{{{mk16}}}|{{{mksize16}}}px|{{{mktext16}}}]]}}</div><div style="font-size: {{{mksize17}}}px; line-height: {{{mksize17}}}px; position: absolute; display: block; left:{{#iferror: {{#expr: ({{{mapsize_x}}}*{{{x17}}}/100 - {{{mksize17}}} /2 ) round 0 }}px; top:{{#expr: ({{{mapsize_y}}}*{{{y17}}}/100 - {{{mksize17}}} /2 ) round 0}} }}px; padding:0;">{{#if: {{{mk17}}} |[[Bild:{{{mk17}}}|{{{mksize17}}}px|{{{mktext17}}}]]}}</div><div style="font-size: {{{mksize18}}}px; line-height: {{{mksize18}}}px; position: absolute; display: block; left:{{#iferror: {{#expr: ({{{mapsize_x}}}*{{{x18}}}/100 - {{{mksize18}}} /2 ) round 0 }}px; top:{{#expr: ({{{mapsize_y}}}*{{{y18}}}/100 - {{{mksize18}}} /2 ) round 0}} }}px; padding:0;">{{#if: {{{mk18}}} |[[Bild:{{{mk18}}}|{{{mksize18}}}px|{{{mktext18}}}]]}}</div><div style="font-size: {{{mksize19}}}px; line-height: {{{mksize19}}}px; position: absolute; display: block; left:{{#iferror: {{#expr: ({{{mapsize_x}}}*{{{x19}}}/100 - {{{mksize19}}} /2 ) round 0 }}px; top:{{#expr: ({{{mapsize_y}}}*{{{y19}}}/100 - {{{mksize19}}} /2 ) round 0}} }}px; padding:0;">{{#if: {{{mk19}}} |[[Bild:{{{mk19}}}|{{{mksize19}}}px|{{{mktext19}}}]]}}</div><div style="font-size: {{{mksize20}}}px; line-height: {{{mksize20}}}px; position: absolute; display: block; left:{{#iferror: {{#expr: ({{{mapsize_x}}}*{{{x20}}}/100 - {{{mksize20}}} /2 ) round 0 }}px; top:{{#expr: ({{{mapsize_y}}}*{{{y20}}}/100 - {{{mksize20}}} /2 ) round 0}} }}px; padding:0;">{{#if: {{{mk20}}} |[[Bild:{{{mk20}}}|{{{mksize20}}}px|{{{mktext20}}}]]}}</div><div style="font-size: {{{mksize21}}}px; line-height: {{{mksize21}}}px; position: absolute; display: block; left:{{#iferror: {{#expr: ({{{mapsize_x}}}*{{{x21}}}/100 - {{{mksize21}}} /2 ) round 0 }}px; top:{{#expr: ({{{mapsize_y}}}*{{{y21}}}/100 - {{{mksize21}}} /2 ) round 0}} }}px; padding:0;">{{#if: {{{mk21}}} |[[Bild:{{{mk21}}}|{{{mksize21}}}px|{{{mktext21}}}]]}}</div><div style="font-size: {{{mksize22}}}px; line-height: {{{mksize22}}}px; position: absolute; display: block; left:{{#iferror: {{#expr: ({{{mapsize_x}}}*{{{x22}}}/100 - {{{mksize22}}} /2 ) round 0 }}px; top:{{#expr: ({{{mapsize_y}}}*{{{y22}}}/100 - {{{mksize22}}} /2 ) round 0}} }}px; padding:0;">{{#if: {{{mk22}}} |[[Bild:{{{mk22}}}|{{{mksize22}}}px|{{{mktext22}}}]]}}</div><div style="font-size: {{{mksize23}}}px; line-height: {{{mksize23}}}px; position: absolute; display: block; left:{{#iferror: {{#expr: ({{{mapsize_x}}}*{{{x23}}}/100 - {{{mksize23}}} /2 ) round 0 }}px; top:{{#expr: ({{{mapsize_y}}}*{{{y23}}}/100 - {{{mksize23}}} /2 ) round 0}} }}px; padding:0;">{{#if: {{{mk23}}} |[[Bild:{{{mk23}}}|{{{mksize23}}}px|{{{mktext23}}}]]}}</div><div style="font-size: {{{mksize24}}}px; line-height: {{{mksize24}}}px; position: absolute; display: block; left:{{#iferror: {{#expr: ({{{mapsize_x}}}*{{{x24}}}/100 - {{{mksize24}}} /2 ) round 0 }}px; top:{{#expr: ({{{mapsize_y}}}*{{{y24}}}/100 - {{{mksize24}}} /2 ) round 0}} }}px; padding:0;">{{#if: {{{mk24}}} |[[Bild:{{{mk24}}}|{{{mksize24}}}px|{{{mktext24}}}]]}}</div><div style="font-size: {{{mksize25}}}px; line-height: {{{mksize25}}}px; position: absolute; display: block; left:{{#iferror: {{#expr: ({{{mapsize_x}}}*{{{x25}}}/100 - {{{mksize25}}} /2 ) round 0 }}px; top:{{#expr: ({{{mapsize_y}}}*{{{y25}}}/100 - {{{mksize25}}} /2 ) round 0}} }}px; padding:0;">{{#if: {{{mk25}}} |[[Bild:{{{mk25}}}|{{{mksize25}}}px|{{{mktext25}}}]]}}</div>[[Bild:{{{map}}}|{{{mapsize_x}}}x{{{mapsize_y}}}px|{{{maptext}}}]]</div> |
|}<noinclude> | |}<noinclude> | ||
|} | |} |
Aktuelle Version vom 27. Februar 2023, 10:06 Uhr
|
Diese Vorlage ermöglicht multiple Markierungen (bis zu 25) auf einem Lageplan. Siehe auch Vorlage:Lageplan (einzelne Markierungen, gerahmt) und Vorlage:Lageplan10 (bis zu 10 Markierungen, sollte - wo möglich - bevorzugt verwendet werden).
Kopiervorlage
{{Lageplan25 |mk[1-25] = |mksize[1-25] = |mktext[1-25] = |x[1-25] = |y[1-25] = |map = |mapsize_x = |mapsize_y = |maptext = }}
Für den Ausdruck "[1-25]" ist natürlich eine Zahl einzutragen. Für überzählige Marker bis hin zur Nr. 25 müssen zumindest die "mk"s als leere Ausdrücke angegeben werden.
|mk2=|mk3=|mk4=|mk5=|mk6=|mk7=|mk8=|mk9= |mk10=|mk11=|mk12=|mk13=|mk14=|mk15=|mk16=|mk17= |mk18=|mk19=|mk20=|mk21=|mk22=|mk23=|mk24=|mk25=