Difference between revisions of "DPL Example 026"

From FollowTheScore
Jump to: navigation, search
(New page: __NOTOC__ {{Example|Find out which parser functions are used in the pages of your wiki}} {{#dpl: |namespace= |titlematch=Test A% |include={#dpl}.list |format=, }})
 
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
 
{{Example|Find out which parser functions are used in the pages of your wiki}}
 
{{Example|Find out which parser functions are used in the pages of your wiki}}
 +
 +
=== Looking for a specific parser function ===
 +
 +
The syntax '{#xyz}.abc' can be used to call a surrogate template instead of a parser function. Our example uses
 +
  include={#dpl}.pfunc
 +
to find calls of DPL in some pages. The surrogate template only shows some selected parameters.
 +
 +
----
  
 
{{#dpl:
 
{{#dpl:
 
|namespace=
 
|namespace=
 
|titlematch=Test A%
 
|titlematch=Test A%
|include={#dpl}.list
+
|include={#dpl}.pfunc
 +
|format=,
 +
}}
 +
 
 +
=== Looking for all parser functions ===
 +
 
 +
A more generic version can be used to find all parser functions:
 +
  include={#.+}.pfunc
 +
Note that '.+' is considered to be a a regular expression.
 +
 
 +
The output may not always be correct as the search is based on fairly simple heuristics.
 +
In the following example the dpl call is not recognized ...
 +
 
 +
{{#dpl:
 +
|titlematch=DPL Example 013
 +
|include={#.+}.pfunc
 
|format=,
 
|format=,
 
}}
 
}}

Latest revision as of 05:34, 25 June 2009

back to list of examples

Find out which parser functions are used in the pages of your wiki

Looking for a specific parser function

The syntax '{#xyz}.abc' can be used to call a surrogate template instead of a parser function. Our example uses

 include={#dpl}.pfunc

to find calls of DPL in some pages. The surrogate template only shows some selected parameters.


 

Test Activity Query{{#vardefine:lastpage|Test Activity Query}}

#dpl
category = Test Activities 

Test Activity Query{{#vardefine:lastpage|Test Activity Query}}

#dpl
category = Test Activities 

Test Activity Query{{#vardefine:lastpage|Test Activity Query}}

#dpl
category = Test Activities 

Test Activity Query{{#vardefine:lastpage|Test Activity Query}}

#dpl
category = Test Activities 

Test Activity Query{{#vardefine:lastpage|Test Activity Query}}

#dpl
category = Test Activities 

Test Activity Query{{#vardefine:lastpage|Test Activity Query}}

#dpl
category = Test Activities 

Test Amp{{#vardefine:lastpage|Test Amp}}

#dpl
titlematch = DPL Example 026/% 

Test Amp/1{{#vardefine:lastpage|Test Amp/1}}

#dpl
category = AT&T 

Test Amp/1{{#vardefine:lastpage|Test Amp/1}}

#dpl
category = AT&T 

Test Amp/2{{#vardefine:lastpage|Test Amp/2}}

#dpl
category = Test3000

Looking for all parser functions

A more generic version can be used to find all parser functions:

 include={#.+}.pfunc

Note that '.+' is considered to be a a regular expression.

The output may not always be correct as the search is based on fairly simple heuristics. In the following example the dpl call is not recognized ...

 

DPL Example 013{{#vardefine:lastpage|DPL Example 013}}

#vardefine count
[1] = 10 

DPL Example 013{{#vardefine:lastpage|DPL Example 013}}

#var count 

DPL Example 013{{#vardefine:lastpage|DPL Example 013}}

#var count 

DPL Example 013{{#vardefine:lastpage|DPL Example 013}}

#var thispage 

DPL Example 013{{#vardefine:lastpage|DPL Example 013}}

#expr 0 + 1 

DPL Example 013{{#vardefine:lastpage|DPL Example 013}}

#var count 

DPL Example 013{{#vardefine:lastpage|DPL Example 013}}

#var count 

DPL Example 013{{#vardefine:lastpage|DPL Example 013}}

#var thispage 

DPL Example 013{{#vardefine:lastpage|DPL Example 013}}

#var thispage 

DPL Example 013{{#vardefine:lastpage|DPL Example 013}}

#var thispage 

DPL Example 013{{#vardefine:lastpage|DPL Example 013}}

#var thispage 

DPL Example 013{{#vardefine:lastpage|DPL Example 013}}

#var thispage 

DPL Example 013{{#vardefine:lastpage|DPL Example 013}}

#vardefine count
[1] = 10 

DPL Example 013{{#vardefine:lastpage|DPL Example 013}}

#var count 

DPL Example 013{{#vardefine:lastpage|DPL Example 013}}

#var count 

DPL Example 013{{#vardefine:lastpage|DPL Example 013}}

#var thispage 

DPL Example 013{{#vardefine:lastpage|DPL Example 013}}

#expr 0 + 1 

DPL Example 013{{#vardefine:lastpage|DPL Example 013}}

#var count 

DPL Example 013{{#vardefine:lastpage|DPL Example 013}}

#var count 

DPL Example 013{{#vardefine:lastpage|DPL Example 013}}

#var thispage 

DPL Example 013{{#vardefine:lastpage|DPL Example 013}}

#var thispage 

DPL Example 013{{#vardefine:lastpage|DPL Example 013}}

#var thispage 

DPL Example 013{{#vardefine:lastpage|DPL Example 013}}

#var thispage 

DPL Example 013{{#vardefine:lastpage|DPL Example 013}}

#var thispage