Vorlage:Text auf Bild: Unterschied zwischen den Versionen

Aus EnzyklopAtys

Wechseln zu: Navigation, Suche
K
 
(37 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 1: Zeile 1:
 +
<includeonly>
 
<div style="overflow-x:auto;overflow-y:auto;">
 
<div style="overflow-x:auto;overflow-y:auto;">
 +
<!-- Bild -->
 
<div style="position:relative;width:{{{Bildbreite}}};height:{{{Bildhöhe}}};margin:auto;">
 
<div style="position:relative;width:{{{Bildbreite}}};height:{{{Bildhöhe}}};margin:auto;">
 
+
<div style="position:absolute;top:0;left:0;width:100%;height:100%;">
[[File:{{{Quelle}}}|alt={{{Bildname}}}]]  
+
[[File:{{{Quelle}}}|none|alt={{{Bildname}}}|link=|]]
 
+
</div> 
<div style="position:absolute;top:{{{Textabstand oben}}};left:{{{Textabstand links}}};>
+
<!-- Position 00 -->
 
+
<div style="position:absolute;top:{{{Textabstandoben00}}};left:{{{Textabstandlinks00}}};>
[[{{{LinkzuText}}}|
+
[[{{{LinkzuText00}}}|<span title="{{{Texteinblendung00}}}"  
<span title="{{{Texteinblendung}}}"  
+
                          style="position:absolute;
      style="font-size:10px;  
+
                                  text-decoration: none;
      color:white;  
+
                                  text-align:center;
      text-decoration: none;  
+
                                  font-size:{{{Schriftgroesse}}};
      width:15px; height:15px;  
+
                                  color:{{{Schriftfarbe}}};
      padding-top:1px;  
+
                                  width:{{{BreitedesKreises}}};
      text-align:center;  
+
                                  height:{{{HöhedesKreises}}};  
      background-color:blue;  
+
                                  background-color:{{{Hintergrundfarbe}}};  
      position:absolute;
+
                                  border-radius:{{{Radius}}};">{{{Text00}}}</span>]]
      border-radius:100px;">
+
</div>
      {{{Text}}}</span>]]
+
<!-- Position 01 -->
 
+
<div style="position:absolute;top:{{{Textabstandoben01}}};left:{{{Textabstandlinks01}}};>
 +
[[{{{LinkzuText00}}}|<span title="{{{Texteinblendung01}}}"
 +
                          style="position:absolute;
 +
                                  text-decoration: none;
 +
                                  text-align:center;  
 +
                                  font-size:{{{Schriftgroesse}}};
 +
                                  color:{{{Schriftfarbe}}};
 +
                                  width:{{{BreitedesKreises}}};
 +
                                  height:{{{HöhedesKreises}}};  
 +
                                  background-color:{{{Hintergrundfarbe}}};  
 +
                                  border-radius:{{{Radius}}};">{{{Text01}}}</span>]]
 
</div>
 
</div>
  
 
</div>
 
</div>
 
</div>
 
</div>
 +
</includeonly>
  
 
<noinclude>
 
<noinclude>
<nowiki>
+
Beispiel:
{{Text auf Bild|Bildbreite=1025px|Bildhöhe=636px|Texteinblendung=Karavan Missionesgeber|Textabstand oben=100px|Textabstand links=100px|Quelle=https://atys.wiki.ryzom.com/images/d/d1/Silan_Karte.png|Text=01}}
 
</nowiki>
 
  
{{Text auf Bild|
+
<nowiki>{{Text auf Bild|
 +
<!-- Bild -->
 +
Quelle=Silan_Karte.png|
 +
Bildname=Silan Karte|
 
Bildbreite=1025px|
 
Bildbreite=1025px|
 
Bildhöhe=636px|
 
Bildhöhe=636px|
Texteinblendung=Karavan Missionsgeber|
+
<!-- Alle Positionen -->
Textabstand oben=100px|
+
Schriftfarbe=white|
Textabstand links=100px|
+
Schriftgroesse=10px|
 +
BreitedesKreises=20px|
 +
HöhedesKreises=20px|
 +
Hintergrundfarbe=blue|
 +
Radius=100px|
 +
<!-- Position 00 -->
 +
Textabstandoben00=510px|
 +
Textabstandlinks00=710px|
 +
Texteinblendung00=Karavan Missionsgeber|
 +
LinkzuText00=Silan_Anleitung/Karavan_Missionen|
 +
Text00=00
 +
<!-- Position 01 -->
 +
Textabstandoben01=410px|
 +
Textabstandlinks01=710px|
 +
Texteinblendung01=Karavan Missionsgeber|
 +
LinkzuText01=Silan_Anleitung/Karavan_Missionen|
 +
Text01=01}}</nowiki>
 +
 
 +
{{Text auf Bild|
 +
<!-- Bild -->
 
Quelle=Silan_Karte.png|
 
Quelle=Silan_Karte.png|
 
Bildname=Silan Karte|
 
Bildname=Silan Karte|
LinkzuText=Silan_Anleitung/Karavan_Missionen|
+
Bildbreite=1025px|
Text=01
+
Bildhöhe=636px|
 +
<!-- Alle Positionen -->
 +
Schriftfarbe=white|
 +
Schriftgroesse=10px|
 +
BreitedesKreises=20px|
 +
HöhedesKreises=20px|
 +
Hintergrundfarbe=blue|
 +
Radius=100px|
 +
<!-- Position 00 -->
 +
Textabstandoben00=510px|
 +
Textabstandlinks00=710px|
 +
Texteinblendung00=Karavan Missionsgeber|
 +
LinkzuText00=Silan_Anleitung/Karavan_Missionen|
 +
Text00=00|
 +
<!-- Position 01 -->
 +
Textabstandoben01=410px|
 +
Textabstandlinks01=710px|
 +
Texteinblendung01=Karavan Missionsgeber|
 +
LinkzuText01=Silan_Anleitung/Karavan_Missionen|
 +
Text01=01
 
}}
 
}}
 +
  
 
[[Kategorie: Nützliche Templates]]
 
[[Kategorie: Nützliche Templates]]
 
</noinclude>
 
</noinclude>

Aktuelle Version vom 7. Mai 2019, 16:49 Uhr


Beispiel:

{{Text auf Bild| <!-- Bild --> Quelle=Silan_Karte.png| Bildname=Silan Karte| Bildbreite=1025px| Bildhöhe=636px| <!-- Alle Positionen --> Schriftfarbe=white| Schriftgroesse=10px| BreitedesKreises=20px| HöhedesKreises=20px| Hintergrundfarbe=blue| Radius=100px| <!-- Position 00 --> Textabstandoben00=510px| Textabstandlinks00=710px| Texteinblendung00=Karavan Missionsgeber| LinkzuText00=Silan_Anleitung/Karavan_Missionen| Text00=00 <!-- Position 01 --> Textabstandoben01=410px| Textabstandlinks01=710px| Texteinblendung01=Karavan Missionsgeber| LinkzuText01=Silan_Anleitung/Karavan_Missionen| Text01=01}}


Silan Karte

00

01