Vorlage:Bildquellen: Unterschied zwischen den Versionen

Zur Navigation springen Zur Suche springen
 
(15 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:+]] [[belongs_to_collection::+]] [[collection_count::+]] [[Hat_copyrightinfo::{{#var:copy}}]] [[Hat_zugriff::+]]
+
| [[Bild:+]] {{#var:collection}} [[collection_count::>3]] [[Hat_copyrightinfo::{{#var:copy}}]] [[Hat_zugriff::+]]
}}<!--
 
-->{{#vardefine:copyright
 
| {{#ifeq:{{{1|}}}| Alle
 
| (alle)
 
| („{{{1|}}}“)
 
}}
 
 
}}<!--
 
}}<!--
-->{{#vardefine:listAll
+
-->{{#arraydefine:listAll
| {{#regex: {{#ask:{{#var:q}}  
+
| {{#ask:{{#var:q}}  
 
   |? belongs_to_collection=
 
   |? belongs_to_collection=
   |mainlabel=-
+
   | mainlabel=-
   |link=none   
+
   | link=none   
   |format=plain   
+
   | format=plain   
   | sort=collection_count
+
   | sort=collection_count, belongs_to_collection
 
   | order= desc
 
   | order= desc
 
   | searchlabel=   
 
   | searchlabel=   
Zeile 28: Zeile 26:
 
   }}, {{#ask:{{#var:q}}  
 
   }}, {{#ask:{{#var:q}}  
 
   |? belongs_to_collection=
 
   |? belongs_to_collection=
   |mainlabel=-
+
   | mainlabel=-
   |link=none   
+
   | link=none   
   |format=plain   
+
   | format=plain   
   | sort=collection_count
+
   | sort=collection_count, belongs_to_collection
 
   | order= desc
 
   | order= desc
 
   | searchlabel=   
 
   | searchlabel=   
   |limit= 500  
+
   | limit= 500  
   |offset= 500  
+
   | offset= 500
   }}, {{#ask:{{#var:q}}  
+
   }}
   |? belongs_to_collection=
+
}}<!--
   |mainlabel=-
+
-->{{#vardefine:heading
   |link=none 
+
| {{#switch:{{{1|}}}
  |format=plain 
+
   | Alle = (alle)
  | sort=collection_count
+
   | Museen = (Museen und Bibliotheken)
  | order= desc
+
   | #default= („{{{1|}}}“)
  | searchlabel=  
+
  }}
  |limit= 500 
+
}}<!--
  |offset= 1000
+
-->{{#vardefine:count_all
  }}  
+
| {{#arraysize:listAll}}  
|/([^,]+),(?=\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}} Domainadressen</p>  
 
<p style="text-align:right">{{#var:count}} Domainadressen</p>  
 
<div class='link_results'>
 
<div class='link_results'>
{{#arraymap:{{#var:listAll}}|,|§
+
{{#arraymap:{{#arrayprint:listDomains}}|,|§
| <div class=bildlink-domain>§</div> <div class=bildliste4>{{#ask: {{#var:q}} [[Hat_bildquellen_domain::§]]
+
| <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_bildquelle=
 
   |? Hat_zugriff=
 
   |? Hat_zugriff=
Zeile 64: Zeile 63:
 
   |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>
 +
  |extro=</div>
 
   }} </div>
 
   }} </div>
 
|
 
|
 
}}
 
}}
</div></div>
+
</div>

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

Bildquellen („“)

77 Domainadressen