Difference between revisions of "DPL Example 028"

From FollowTheScore
Jump to: navigation, search
(New page: __NOTOC__ {{Example|Find out which parser extensions are used in the pages of your wiki}} === Looking for a parser extension === The syntax '{~xyz}.abc' can be used to call a surrogate t...)
 
Line 12: Line 12:
 
{{#dpl:
 
{{#dpl:
 
|namespace=
 
|namespace=
|titlematch=Test A%
+
|titlematch=Test e%
 
|include={~dpl}.tag
 
|include={~dpl}.tag
 
|format=,
 
|format=,
 
}}
 
}}

Revision as of 07:50, 25 June 2009

back to list of examples

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

Looking for a parser extension

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

 include={~dpl}.tag

to find calls of <DPL> in some pages. The surrogate template shows the body of the function tag.


 

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

<dpl>
titlematch=%ak% 

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

<dpl>
titlematch=%ak% 

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

<dpl>
escapelinks= false

 titlematch=%ak%
 mode=userformat
 listseparators=,%PAGE%\n,, 

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

<dpl>
escapelinks= false

 titlematch=%ak%
 mode=userformat
 listseparators=,%PAGE%\n,, 

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

<dpl>
reset=all