Difference between revisions of "DPL Example 012"

From FollowTheScore
Jump to: navigation, search
(New page: __NOTOC__ {{Example|Chapter content with pattern match}} We show the content of a certain chapter for several pages. We only show articles where the content matches a given text pattern (...)
 
(No difference)

Latest revision as of 04:56, 28 April 2009

back to list of examples

Chapter content with pattern match

We show the content of a certain chapter for several pages. We only show articles where the content matches a given text pattern (in this case the word 'groups').

{{#dpl:
 |category=fictitious country
 |include=#Religion
 |includematch=/groups/
 |table=,,Religion
}}


The above DPL command produces the following output:


Content page Religion
Nigunda

some facts about religious groups in Nigunda; some other facts about religious groups in Nigunda;

Nigunda Test

some facts about religious groups in Nigunda; some other facts about religious groups in Nigunda Test;