DPL Extension Testing Ground: Difference between revisions

From Project Gorgon
Jump to navigation Jump to search
Gorgonzola (talk | contribs)
m Testing titlematch option of DPL.
Gorgonzola (talk | contribs)
mNo edit summary
Line 2: Line 2:


==Using Titlematch==
==Using Titlematch==
Pulling all news article for 2014 only.
Pulling all news article for 2014 only. '''Note!''' : titlematch can create inefficient queries, and should not be necessary if categories can do it.


{{ #dpl:
{{ #dpl:
Line 19: Line 19:


==uses (pulling pages using certain templates)==
==uses (pulling pages using certain templates)==
A list of all the map articles that use [[Template:MAP infobox]]. DOESNT WORK.
This is the main way we could handle skills/recipes tables with DPL and templating. WORK IN PROGRESS (trying to figure out the templating  of table rows with DPL).


{{ #dpl:
{{ #dpl:
| uses = Template:MAP infobox
| uses = Template:MAP infobox
}}
}}

Revision as of 19:57, 24 October 2014

This page is used for testing the DPL extension (it should be an orphan page). See DPL Manual.

Using Titlematch

Pulling all news article for 2014 only. Note! : titlematch can create inefficient queries, and should not be necessary if categories can do it.

{{ #dpl: | titlematch = Game updates/2014-% | ordermethod = title | order = descending }}

dplreplace

This could be useful... (manual)

 {{#dplreplace:abrakadabra|ab|AB}}

{{#dplreplace:abrakadabra|ab|AB}}

uses (pulling pages using certain templates)

This is the main way we could handle skills/recipes tables with DPL and templating. WORK IN PROGRESS (trying to figure out the templating of table rows with DPL).

{{ #dpl: | uses = Template:MAP infobox }}