Vorlage:Bildquellen: Unterschied zwischen den Versionen

Zur Navigation springen Zur Suche springen
 
(40 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 1: Zeile 1:
 
{{#vardefine:copy
 
{{#vardefine:copy
| {{#switch: {{{1|}}}
+
| {{#ifeq: {{{1|}}} | Gemeinfrei
  | Gemeinfrei=cc
+
   |cc
   | Copyright=c
+
   |+
  | Unbekannt=0
 
   | #default=+
 
 
   }}
 
   }}
 +
}}<!--
 +
-->{{#vardefine:collection
 +
| {{#ifeq:{{{1|}}}| Museen
 +
| [[Belongs to museum::+]]
 +
| [[Belongs_to_collection::+]]
 +
}}
 
}}<!--
 
}}<!--
 
-->{{#vardefine:q
 
-->{{#vardefine:q
| [[Bild:+]] [[Hat_bildquellen_domain::+]] [[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=count}}  
+
| {{#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_bildquellen_domain=  
+
| <div class= links-h3><h3 class=bildlink-domain>§</h3> ({{#ask: {{#var:q}} [[Hat_bildquellen_domain::§]]|format=count}} Bilder)</div>
   |mainlabel=-
+
{{#ask: {{#var:q}} [[Hat_bildquellen_domain::§]]
   |link=none  
+
   |? Hat_bildquelle=
   |format=plain   
+
   |? Hat_zugriff=
   |limit= 500
+
   |link=none
   |sort= Hat_bildquellen_domain
+
   |format=plain
 +
   |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