DPL Example 012

From FollowTheScore
Revision as of 04:56, 28 April 2009 by Gero (talk | contribs) (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 (...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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;