DPL Example 012

From FollowTheScore
Jump to: navigation, search

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;