Gebruiker:Bmulckhu/kladblok26

Uit TheaterEncyclopedie
Ga naar: navigatie, zoeken

Werkt het {{{#rownumber}}}-variabele ook in Semantic Compound Queries ??

Voorbeeld vanuit test:Sjabloon:Lijst van fotos NA

{{#ask:[[Categorie:Foto uit Nationaal Archief]] [[Locatie::{{PAGENAME}}]] OR [[Categorie:Foto uit Nationaal Archief]] [[Persoon::{{PAGENAME}}]] OR [[Categorie:Foto uit Nationaal Archief]] [[Productie::{{PAGENAME}}]]
|?HeeftNAFotoID # - = 
|introtemplate=Lijst_van_fotos_NA/header
|template=Lijst_van_fotos_NA/row
|outrotemplate=Lijst_van_fotos_NA/footer
|format=plainlist
}}

Voorbeeld met twee willekeurige theaterlocaties:

{{#compound_query: [[Category:Stores]] [[Has type::Clothing]] ;?Has country=Country
 |[[Category:Restaurants]][[Has cuisine::Fast food]] ;?Has country=Country
 |format=table
}}

{{#compound_query: [[Category:Foto uit Nationaal Archief]] [[Locatie::De_Kleine_Komedie,_Amsterdam]] ;?HeeftNAFotoID # - = 
 |[[Category:Foto uit Nationaal Archief]] [[Locatie::Stadsschouwburg,_Haarlem]] ;?HeeftNAFotoID # - = 
 |introtemplate=Lijst_van_fotos_NA/header
 |template=Lijst_van_fotos_NA/row
 |outrotemplate=Lijst_van_fotos_NA/footer
 |format=plainlist
}}

DIT LAATSTE WERKT GOED: De regelnummers vormen 1 oplopende reeks ! 

test:Gebruiker:Bmulckhu/kladblok 26

Compound query icm array map

Voorbeeld: Sjabloon:Overzicht persoon/Uitgebreid werkt op een andere manier (niet met compound query...)

Test 1

https://bla.com/706ffa4f-5928-4dc0-8055-c75c28baee77;https://bla.com/214caa18-3e0f-478a-bb6a-dd27ab7462a7

Test 2

https://service.archief.nl/gaf/api/file/v1/default/706ffa4f-5928-4dc0-8055-c75c28baee77;?HeeftNAFotoURI # - = ;?Locatie ;?Persoon;?Productie ;?Titel;?HeeftNAFotoRecordID| https://service.archief.nl/gaf/api/file/v1/default/214caa18-3e0f-478a-bb6a-dd27ab7462a7;?HeeftNAFotoURI # - = ;?Locatie ;?Persoon;?Productie ;?Titel;?HeeftNAFotoRecordID

Combinatie van compound query en arraymap werkt niet ... BM: 17-10-2023