Vorlage:Bild ns6: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Zeile 13: | Zeile 13: | ||
--><div class=bildseite>{{titel | --><div class=bildseite>{{titel | ||
|{{{titel|}}} | |{{{titel|}}} | ||
− | |{{#if: {{{archiv|}}} | Archivbildseite: | + | |{{#if: {{{archiv|}}} | Archivbildseite (Bild nicht in Verwendung oder nicht indiziert): |
| Bildseite: | | Bildseite: | ||
}} | }} | ||
Zeile 71: | Zeile 71: | ||
Verwandte Bilder | Verwandte Bilder | ||
− | -->{{# | + | -->{{#arraydefine: v_terms |
− | | {{# | + | |{{#show: {{FULLPAGENAME}} |?cites_term}}, {{#show: {{FULLPAGENAME}} |?gemacht_von}}, |
− | + | |, |unique, sort=rand | |
− | + | }}<!-- | |
− | + | ||
− | + | Bilderliste erzeugen | |
− | + | -->{{#arraydefine: img_terms | |
− | + | | {{#arrayprint: v_terms | |
− | + | |, |§ | |
− | + | |{{#ask: | |
− | -->{{# | + | [[cites_term::§]][[is_image_article::!{{PAGENAME}}]] OR |
− | |{{! | + | [[gemacht_von::§]][[is_image_article::!{{PAGENAME}}]] |
+ | | format=plain | ||
+ | | link= none | ||
+ | | limit= 9 | ||
+ | | searchlabel= | ||
}} | }} | ||
+ | }} | ||
+ | |, |unique, sort=rand | ||
}}<!-- | }}<!-- | ||
− | -->{{# | + | Bilder reduzieren |
− | | | + | -->{{#arrayslice:img_terms_short |
− | | | + | |img_terms|0|9 |
− | + | }}<!-- | |
− | + | Bilder anzeigen | |
− | + | -->{{#if: {{#arraysize:img_terms_short}} | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | }}<!-- | ||
− | |||
− | |||
− | |||
− | -->{{#if:{{# | ||
|<div class=verwandte_bilder> | |<div class=verwandte_bilder> | ||
<h3>Verwandte Bilder</h3> | <h3>Verwandte Bilder</h3> | ||
− | <div class='galerie_glossar b_liste'> | + | <div class='galerie_glossar b_liste'><!-- |
− | {{# | + | -->{{#arrayprint: img_terms_short||§ |
− | | | + | |<div class=b_bild>[[§|180x180px|class=noviewer]]</div> |
− | | <div class=b_bild> [[ | + | }} |
− | }} | ||
</div> | </div> | ||
− | </div> | + | </div> |
+ | }}<!-- | ||
Attribute | Attribute | ||
Zeile 139: | Zeile 135: | ||
|/[^,]*/}} | |/[^,]*/}} | ||
}} }}<!-- | }} }}<!-- | ||
+ | |||
+ | Attribut Quelle | ||
-->{{#set: hat_bildquellentext= {{#ifeq:{{{quelle|}}} | unbekannt |<!--do nothing--> | -->{{#set: hat_bildquellentext= {{#ifeq:{{{quelle|}}} | unbekannt |<!--do nothing--> | ||
| {{#var:quelle-text}} | | {{#var:quelle-text}} | ||
}}<!-- | }}<!-- | ||
+ | |||
Bildeintrag in Form eines Attributs erzeugen | Bildeintrag in Form eines Attributs erzeugen | ||
− | --> | + | -->|item-bilderliste= <div class='js-Glossar imgs-G-neu' <!-- |
− | |item-bilderliste= <div class='js-Glossar imgs-G-neu' <!-- | ||
DIV enthält Daten zur Bilderauswahl auf Metalog:Bilder | DIV enthält Daten zur Bilderauswahl auf Metalog:Bilder | ||
-->data-thema='{{{thema|}}}' data-medium='{{{medium|}}}' <!-- | -->data-thema='{{{thema|}}}' data-medium='{{{medium|}}}' <!-- |
Version vom 17. April 2025, 13:37 Uhr
Erstellt den Bildtext mit Daten von Vorlage:Bild.
Parameter | Beschreibung | Typ | Status | |
---|---|---|---|---|
Titel | titel | keine Beschreibung | Unbekannt | optional |
Info | info | keine Beschreibung | Unbekannt | optional |
Quelle | quelle | keine Beschreibung | Unbekannt | optional |
C | c | keine Beschreibung | Unbekannt | optional |
Zugriff | zugriff | keine Beschreibung | Unbekannt | optional |
Beschreibung | beschreibung | keine Beschreibung | Unbekannt | optional |
Thema | thema | keine Beschreibung | Unbekannt | optional |
Medium | medium | keine Beschreibung | Unbekannt | optional |
G-artist | g-artist | keine Beschreibung | Unbekannt | optional |
Zeitalter | zeitalter | keine Beschreibung | Unbekannt | optional |
Info_kurz | info_kurz | keine Beschreibung | Unbekannt | optional |