Difference between revisions of "DPL Extension Testing Ground"

From Project: Gorgon Wiki
Jump to: navigation, search
m (Testing titlematch option of DPL.)
m
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 15: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.

dplreplace

This could be useful... (manual)

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

ABrakadABra

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).