Vorlage:Bildquellen: Unterschied zwischen den Versionen

Zur Navigation springen Zur Suche springen
 
(19 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::+]]
 +
}}<!--
 +
-->{{#arraydefine:listAll
 +
| {{#ask:{{#var:q}}
 +
  |? belongs_to_collection=
 +
  | 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:copyright
+
-->{{#vardefine:heading
| {{#ifeq:{{{1|}}}| Alle
+
| {{#switch:{{{1|}}}
| (alle)
+
  | Alle = (alle)
| („{{{1|}}}“)
+
  | Museen = (Museen und Bibliotheken)
 +
  | #default= („{{{1|}}}“)
 
  }}
 
  }}
 
}}<!--
 
}}<!--
-->{{#vardefine:listAll
+
-->{{#vardefine:count_all
| {{#regex: {{#ask:{{#var:q}}
+
| {{#arraysize:listAll}}  
  |?Hat_bildquellen_domain=
 
  |mainlabel=-
 
  |link=none 
 
  |format=plain 
 
  |limit= 500
 
  |sort= Hat_bildquellen_domain
 
  |searchlabel= 
 
  }}, {{#ask:{{#var:q}}
 
  |?Hat_bildquellen_domain=
 
  |mainlabel=-
 
  |link=none 
 
  |format=plain 
 
  |limit= 500
 
  |offset= 500
 
  |sort= Hat_bildquellen_domain
 
  |searchlabel=
 
  }}, {{#ask:{{#var:q}}
 
  |?Hat_bildquellen_domain=
 
  |mainlabel=-
 
  |link=none 
 
  |format=plain 
 
  |limit= 500
 
  |offset= 1000
 
  |sort= Hat_bildquellen_domain
 
  }}, {{#ask:{{#var:q}}
 
  |?Hat_bildquellen_domain=
 
  |mainlabel=-
 
  |link=none 
 
  |format=plain 
 
  |limit= 500
 
  |offset= 1500
 
  |sort= Hat_bildquellen_domain
 
  }}
 
|/([^,]+),(?=\1(,{{!}}$))/
 
|
 
}}
 
 
}}<!--
 
}}<!--
 +
-->{{#arraydefine:listDomains
 +
| {{#arrayunique:listAll}} {{#arrayprint:listAll}}
 +
}}<!--
 
-->{{#vardefine:count
 
-->{{#vardefine:count
| {{#arraydefine:all|{{#var:listAll}}|,}}{{#arraysize:all}}  
+
| {{#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'>
{{#arraymap:{{#var:listAll}}|,|§
+
{{#arraymap:{{#arrayprint:listDomains}}|,|§
| '''§''': {{#ask: [[Bild:+]] [[Hat_bildquellen_domain::§]] [[Hat_copyrightinfo::{{#var:copy}}]]
+
| <div class= links-h3><h3 class=bildlink-domain>§</h3> ({{#ask: {{#var:q}} [[Hat_bildquellen_domain::§]]|format=count}} Bilder)</div>
 +
{{#ask: {{#var:q}} [[Hat_bildquellen_domain::§]]
 +
  |? Hat_bildquelle=
 
   |? Hat_zugriff=
 
   |? Hat_zugriff=
 
   |link=none
 
   |link=none
 
   |format=plain
 
   |format=plain
 
   |template=Bildlinks_ask  
 
   |template=Bildlinks_ask  
   |limit= 500
+
   |limit= 5
 
   |sort= Hat_zugriff
 
   |sort= Hat_zugriff
 
   |order=desc
 
   |order=desc
   }}  
+
  |intro=<div class=bildliste5>
|<br>
+
  |extro=</div>
 +
   }} </div>
 +
|
 
}}
 
}}
</div></div>
+
</div>

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

Bildquellen („“)

77 Domainadressen