Hey everyone
I recently started using DPL for my Wikia and now I want to furtherly automate it.
For example, I have this script that I use on the page https://nergensbeterdanthuis.fandom.com/nl/wiki/Claire_Bastiaens:
<dpl>
category = Afbeeldingen: Seizoen 30
namespace = File
titlematch = %Claire%
format = {{GalerijPersonage|,%PAGE%\n,,}}
count = 16
ordermethod = title
order = ascending
allowcachedresults = true
</dpl>
It returns all of the files in the category "Afbeeldingen: Seizoen 30" that contain the sequence "Claire" and put the first 16 files in the gallery from the template GalerijPersonage.
Now, this perfectly works. However, I want to implement this exact script on all of the character pages, so I could use a template like this: {{ImageSelector|season = 30|character = Claire}}. However, when I make the following template, it simply doesn't work:
<dpl>
category = Afbeeldingen: Seizoen {{{season}}}
namespace = File
titlematch = %{{{character}}}%
format = {{GalerijPersonage|,%PAGE%\n,,}}
count = 16
ordermethod = title
order = ascending
allowcachedresults = true
</dpl>
Anyone know if this is possible at all?