Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Tardis talk:Don't over-categorise

Discussion page
Revision as of 22:35, 28 December 2021 by SOTO (talk | contribs)

DPL

This page says that, if I hypothetically wanted to get a list of stories that contained the word "blue" in the title, I could use DPL or SMW to get that. But I read both the linked pages and couldn't find anythig about how I would go about doing so on either of them. I found how to filter pages by various attributes, including how I would get a COMPLETE list of stories, but nothing about how to then further filter by a word in the title. Maybe it's just that I'm not very tech savvy but I really don't understand how one would do such a thing. NightmareofEden 21:57, 28 December 2021 (UTC)

It's titleregexp. So if you wanted a list of all pages in the main namespace which contain blue somewhere in their title, you'd use: {{#dpl:namespace = |titleregexp = .*[Bb]lue.*}}
Or if you wanted only pages with start with "Blue", you'd go for something like

{{#dpl:namespace = |titleregexp = ^Blue.*}}

There's plenty of documentation online, if you want to play around with it and learn how to manipulate the variables. Feel free to use a usersubpage (or Tardis:Sandbox) as you experiment.
×   SOTO  contribs ×°//]   °|💬| {/-//:\\ 22:35, 28 December 2021 (UTC)

Cookies help us deliver our services. By using our services, you agree to our use of cookies.