User:Aldyron/Tutorial/DPL parameters

This page aims to be a tutorial on DPL parameters generating a single, specific query. What's here can be applied to most DPL applications, but it won't be an exhaustive tutorial: there's a dedicated web site available, too.

Primary target audience is myself, a few months from now: I'm likely to eventually forget the specifics of how to do most of what I've done here, so this page will serve me first and foremost to quickly regain proficiency in case of need.

Hopefully, then, it will be helpful to anyone else with the slightly masochistic desire to dip their feet in DPL waters. To you all I say: good luck, and may the god of queries never spit on your selections!

Query code
This DPL query will access several other pages (monsters, quests, adventure packs), use some templates, hack, slash, mix, knead and bake text and links found there, and produce a sortable table as its output.

This table is an overgrown subset of the Monster Manual experiment I'm currently working on, and from this moment on it will live its own life (meaning it is not part of the MM experiment, it is just a tutorial on DPL parameters).

Part of the data presented in the table is redundant or pointless in itself, but it's an escuse to show certain parameters in action.

Please, keep in mind that the following parameter breakdown shows how to configure the parser function for this query. In all likelihood, different queries will be configured in different ways.

DPL parameter breakdown
'WARNING! Parts of this section were written while under kobold menace. I was distracted. If you believe I made mistakes somewhere, maybe I did. Feel free to tell me (or ask, if in doubt).'

This just concludes the query statement.

The resulting dpl-generated table itself
(Placeholder: the legend goes here)