Vorlage:Dia: Unterschied zwischen den Versionen

Zur Navigation springen Zur Suche springen
Zeile 19: Zeile 19:
 
Bildtext Anmerkung
 
Bildtext Anmerkung
  
-->{{#vardefine:anm
+
-->{{#vardefine:anm | {{File:{{#var:img}}}} }}<!--   
| {{File:{{#var:img}}}}
 
}}<!--   
 
  
 
Standardweite, rw
 
Standardweite, rw
Zeile 40: Zeile 38:
 
{{#vardefine:margin| margin-}}  
 
{{#vardefine:margin| margin-}}  
 
{{#vardefine:pos_innen| absolute}}
 
{{#vardefine:pos_innen| absolute}}
 +
}}<!--
 +
 +
Bildweite, w
 +
 +
-->{{#vardefine:w | {{#expr: ({{#var:rw}} - {{{r|{{{lr|0}}}}}} - {{{l|{{{lr|0}}}}}})*6/5 + 8 }}px
 
}}<!--  
 
}}<!--  
  
Zeile 45: Zeile 48:
  
 
--><div id='{{#var:id}}' class='imgBorder diax2 {{{hell|}}} {{{class|}}}'><!--
 
--><div id='{{#var:id}}' class='imgBorder diax2 {{{hell|}}} {{{class|}}}'><!--
--><div class='aussen' style='
+
--><div class='aussen' style='
 
   padding-top: {{#var:rh}}
 
   padding-top: {{#var:rh}}
'>[[Bild:{{#var:img}}|75x75px|thumb|{{#var:anm}}]]
+
'><!--
  <div class='innen' style='
+
--><div class='innen' style='
 
   position: {{#var:pos_innen}};
 
   position: {{#var:pos_innen}};
 
   {{#var:margin}}top: {{{top|0}}}px;
 
   {{#var:margin}}top: {{{top|0}}}px;
Zeile 54: Zeile 57:
 
   {{#var:margin}}bottom: {{{b|0}}}px;
 
   {{#var:margin}}bottom: {{{b|0}}}px;
 
   {{#var:margin}}left: {{{l|{{{lr|0}}}}}}px;  
 
   {{#var:margin}}left: {{{l|{{{lr|0}}}}}}px;  
  '>[[Bild:{{#var:img}}|{{#var:rw}}px|ohne|link=]]</div>
+
  '><!--
 +
-->[[Bild:{{#var:img}}|{{#var:w}}|ohne|link=]]</div><!--
 +
-->[[Bild:{{#var:img}}|75x75px|thumb|{{#var:anm}}]]
 
</div>{{#var:text}}</div><!--   
 
</div>{{#var:text}}</div><!--   
 +
 +
CSS
  
 
-->{{#css:
 
-->{{#css:
Zeile 97: Zeile 104:
 
  | uzume-hokusai.jpg
 
  | uzume-hokusai.jpg
 
  | (text)
 
  | (text)
  | rw=standard/px
+
  | rw= [px]
  | rh=auto/standard/px
+
  | rh= [px]
 
  | top=
 
  | top=
 
  | l=
 
  | l=

Version vom 8. Dezember 2019, 20:17 Uhr

Dia

Testbild

Uzume-hokusai.jpg
Darstellung der Ame no Uzume.
Werk von Katsushika Hokusai. Edo-Zeit, 1816. Internet Archive, Birmingham Young University.

Parameter:

 {{DiaX.2
 | uzume-hokusai.jpg
 | (text)
 | rw= [px]
 | rh= [px]
 | top=
 | l=
 | r=
 | lr=
 | b=
 | hell=
 | class=
 | style= (CSS)
 }}