Difference between revisions of "DPL Example 016"

From FollowTheScore
Jump to: navigation, search
(New page: == Show ''Issues'' which were updated recently == <pre><nowiki> {{#dpl: |namespace=Issue |addeditdate=true |ordermethod=lastedit |order=descending |count=10 }} </nowiki></pre> ------...)
 
 
(8 intermediate revisions by 2 users not shown)
Line 37: Line 37:
 
  |ordermethod=lastedit
 
  |ordermethod=lastedit
 
  |count=10
 
  |count=10
 +
}}
 +
 +
== Show all revisions of ''Issues'' which have an edit date later or equal to April 15, 2009 ==
 +
 +
<pre><nowiki>
 +
{{#dpl:
 +
|namespace=Issue
 +
|addeditdate=true
 +
|allrevisionssince=2009-04-15
 +
|order=ascending
 +
|count=7
 +
}}
 +
</nowiki></pre>
 +
------------------------
 +
You will get the following result:
 +
{{#dpl:
 +
|namespace=Issue
 +
|addeditdate=true
 +
|allrevisionssince=2009-04-15
 +
|order=ascending
 +
|count=7
 +
}}
 +
 +
== Show the last revision of ''Issues'' that were edited after July 1, 2010 ==
 +
 +
<pre><nowiki>
 +
{{#dpl:
 +
|namespace=Issue
 +
|addeditdate=true
 +
|allrevisionssince=2010-07-01
 +
|ordermethod=lastedit
 +
|order=ascending
 +
}}
 +
</nowiki></pre>
 +
------------------------
 +
You will get the following result:
 +
{{#dpl:
 +
|namespace=Issue
 +
|addeditdate=true
 +
|allrevisionssince=2010-07-01
 +
|ordermethod=lastedit
 +
|order=ascending
 
}}
 
}}

Latest revision as of 14:07, 5 February 2011

Show Issues which were updated recently

{{#dpl:
 |namespace=Issue
 |addeditdate=true
 |ordermethod=lastedit
 |order=descending
 |count=10
}}

You will get the following result:

Show Issues which have not been touched for a long time

{{#dpl:
 |namespace=Issue
 |addeditdate=true
 |ordermethod=lastedit
 |count=10
}}

You will get the following result:

Show all revisions of Issues which have an edit date later or equal to April 15, 2009

{{#dpl:
 |namespace=Issue
 |addeditdate=true
 |allrevisionssince=2009-04-15
 |order=ascending
 |count=7
}}

You will get the following result:

Extension:DynamicPageList (DPL), version 3.2.1: Error: The paramater 'addeditdate=true' must be used with 'ordermethod=[ firstedit | lastedit ]'


Extension:DynamicPageList (DPL), version 3.2.1: Warning: No results.

Show the last revision of Issues that were edited after July 1, 2010

{{#dpl:
 |namespace=Issue
 |addeditdate=true
 |allrevisionssince=2010-07-01
 |ordermethod=lastedit
 |order=ascending
}}

You will get the following result: