Difference between revisions of "Template:Afbeelding"

From Venlo Samenwerkingswijzer
(Undo revision 1878 by Admin (talk))
Tag: Undo
Line 30: Line 30:
 
|Coordinates={{{Coordinaten|}}}
 
|Coordinates={{{Coordinaten|}}}
 
}}}}<!---
 
}}}}<!---
<div class="d-none d-md-block">{{#var:@imagemapdefault}}</div>
+
---><div class="hidden-xs hidden-sm">{{#var:@imagemapdefault}}</div><!---
<!--- --->
+
---><div class="hidden-lg hidden-md hidden-xs">{{#var:@imagemapsm}}</div><!---
<div class="hidden-xs d-md-none d-block">{{#var:@imagemapsm}}</div>
+
---><div class="hidden-lg hidden-md hidden-sm">{{#var:@imagemapxs}}</div>
<!--- --->
+
|{{#vardefine:@imagedefault|[[File:{{PAGENAME:{{{Bestand|}}}}} |{{{Afmetingen|}}} |class=img-responsive |link={{#if:{{{Link|}}}|{{{Link|}}}| }} |{{#if:{{{Titel|}}}|{{{Titel|}}}}} |{{#if:{{{Positie|}}}|{{{Positie|}}}}} |{{#if:{{{Alt|}}}|alt={{{Alt|}}}}} ]] }}<!--
<div class="hidden-sm d-md-none d-block">{{#var:@imagemapxs}}</div>|{{#vardefine:@imagedefault|[[File:{{PAGENAME:{{{Bestand|}}}}}
+
--->{{#vardefine:@imagesm |[[File:{{PAGENAME:{{{Bestand|}}}}} |600px |link={{#if:{{{Link|}}}|{{{Link|}}}| }} |{{#if:{{{Titel|}}}|{{{Titel|}}}}} |{{#if:{{{Positie|}}}|{{{Positie|}}}}} |{{#if:{{{Alt|}}}|alt={{{Alt|}}}}} ]]}}<!--
|{{{Afmetingen|}}} |class=img-fluid |link={{#if:{{{Link|}}}|{{{Link|}}}|
+
--->{{#vardefine:@imagexs |[[File:{{PAGENAME:{{{Bestand|}}}}} |300px |link={{#if:{{{Link|}}}|{{{Link|}}}| }} |{{#if:{{{Titel|}}}|{{{Titel|}}}}} |{{#if:{{{Positie|}}}|{{{Positie|}}}}} |{{#if:{{{Alt|}}}|alt={{{Alt|}}}}} ]] }}<!---
}} |{{#if:{{{Titel|}}}|{{{Titel|}}}}} |{{#if:{{{Positie|}}}|{{{Positie|}}}}}
+
---><div class="hidden-xs hidden-sm">{{#var:@imagedefault}}</div><!---
|{{#if:{{{Alt|}}}|alt={{{Alt|}}}}} ]] }}
+
---><div class="hidden-lg hidden-md hidden-xs">{{#var:@imagesm}}</div><!---
<!-- --->{{#vardefine:@imagesm |[[File:{{PAGENAME:{{{Bestand|}}}}} |600px |link={{#if:{{{Link|}}}|{{{Link|}}}|
+
---><div class="hidden-lg hidden-md hidden-sm">{{#var:@imagexs}}</div><!---
}} |{{#if:{{{Titel|}}}|{{{Titel|}}}}} |{{#if:{{{Positie|}}}|{{{Positie|}}}}}
 
|{{#if:{{{Alt|}}}|alt={{{Alt|}}}}} ]]}}
 
<!-- --->{{#vardefine:@imagexs |[[File:{{PAGENAME:{{{Bestand|}}}}} |300px |link={{#if:{{{Link|}}}|{{{Link|}}}|
 
}} |{{#if:{{{Titel|}}}|{{{Titel|}}}}} |{{#if:{{{Positie|}}}|{{{Positie|}}}}}
 
|{{#if:{{{Alt|}}}|alt={{{Alt|}}}}} ]] }}
 
<!--- --->
 
<div class="d-none d-md-block">{{#var:@imagedefault}}</div>
 
<!--- --->
 
<div class="hidden-xs d-md-none d-block">{{#var:@imagesm}}</div>
 
<!--- --->
 
<div class="hidden-sm d-md-none d-block">{{#var:@imagexs}}</div>
 
<!--- -->
 
  
 
--->}}</includeonly>
 
--->}}</includeonly>

Revision as of 11:30, 18 March 2021

{{Afbeelding
|Bestand=Naam van bestand
|Coordinaten=Coordinaten als van imagemap gebruik gemaakt wordt
|Afmetingen=
|Link=Link voor gewone afbeeldingen (niet voor imagemap)
|Titel=Titel voor 'hover'-tekst
|Positie=e.g. left
|Alt= 
}}