Vorlage:Bildquellen: Unterschied zwischen den Versionen

Zur Navigation springen Zur Suche springen
 
(49 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 1: Zeile 1:
 
{{#vardefine:copy
 
{{#vardefine:copy
| {{#switch: {{{1|}}}
+
| {{#ifeq: {{{1|}}} | Gemeinfrei
  | Gemeinfrei=cc
+
   |cc
   | Copyright bekannt=c
+
   |+
  | Copyright unbekannt=0
 
   | #default=+
 
 
   }}
 
   }}
 +
}}<!--
 +
-->{{#vardefine:collection
 +
| {{#ifeq:{{{1|}}}| Museen
 +
| [[Belongs to museum::+]]
 +
| [[Belongs_to_collection::+]]
 +
}}
 
}}<!--
 
}}<!--
 
-->{{#vardefine:q
 
-->{{#vardefine:q
| [[Bild:+]] [[Hat bildquelle::+]] [[Hat_copyrightinfo::{{#var:copy}}]]  
+
| [[Bild:+]] {{#var:collection}} [[collection_count::>3]] [[Hat_copyrightinfo::{{#var:copy}}]] [[Hat_zugriff::+]]
 
}}<!--
 
}}<!--
-->{{#vardefine:copyright
+
-->{{#arraydefine:listAll
| {{#ifeq:{{{1|}}}| Alle
+
| {{#ask:{{#var:q}}
| (alle)
+
  |? belongs_to_collection=
| („{{{1|}}}“)
+
  | mainlabel=-
 +
  | link=none 
 +
  | format=plain 
 +
  | sort=collection_count, belongs_to_collection
 +
  | order= desc
 +
  | searchlabel= 
 +
  |limit= 500
 +
  }}, {{#ask:{{#var:q}}
 +
  |? belongs_to_collection=
 +
  | mainlabel=-
 +
  | link=none 
 +
  | format=plain 
 +
  | sort=collection_count, belongs_to_collection
 +
  | order= desc
 +
  | searchlabel= 
 +
  | limit= 500
 +
  | offset= 500
 +
  }}
 +
}}<!--
 +
-->{{#vardefine:heading
 +
| {{#switch:{{{1|}}}
 +
  | Alle = (alle)
 +
  | Museen = (Museen und Bibliotheken)
 +
  | #default= („{{{1|}}}“)
 
  }}
 
  }}
 
}}<!--
 
}}<!--
 +
-->{{#vardefine:count_all
 +
| {{#arraysize:listAll}}
 +
}}<!--
 +
-->{{#arraydefine:listDomains
 +
| {{#arrayunique:listAll}} {{#arrayprint:listAll}}
 +
}}<!--
 
-->{{#vardefine:count
 
-->{{#vardefine:count
| {{#ask:{{#var:q}}|format= counter}}  
+
| {{#arraysize:listDomains}}  
 
}}<!--
 
}}<!--
--><div class=showResults><h2>Bildquellen {{#var:copyright}}</h2>
+
--><div class=showResults><h2>Bildquellen {{#var:heading}}</h2>
<p style="text-align:right">{{#var:count}} Einträge</p>
+
<p style="text-align:right">{{#var:count}} Domainadressen</p>  
<div class=link_results>
+
<div class='link_results'>
{{#ask:{{#var:q}}  
+
{{#arraymap:{{#arrayprint:listDomains}}|,|§
   |?Hat_bildquelle=  
+
| <div class= links-h3><h3 class=bildlink-domain>§</h3> ({{#ask: {{#var:q}} [[Hat_bildquellen_domain::§]]|format=count}} Bilder)</div>
   |?Hat_copyrightinfo=
+
{{#ask: {{#var:q}} [[Hat_bildquellen_domain::§]]
  |mainlabel=
+
   |? Hat_bildquelle=
  |format=ul 
+
   |? Hat_zugriff=
 
   |link=none
 
   |link=none
   |limit= 500
+
  |format=plain
   |sort= Hat_bildquelle
+
  |template=Bildlinks_ask
 +
   |limit= 5
 +
   |sort= Hat_zugriff
 +
  |order=desc
 +
  |intro=<div class=bildliste5>
 +
  |extro=</div>
 +
  }} </div>
 +
|
 
}}
 
}}
</div></div>
+
</div>

Aktuelle Version vom 17. November 2022, 17:47 Uhr

Bildquellen („“)

77 Domainadressen