DPL Example 001
From FollowTheScore
back to list of examples
Create a table of articles based on template parameters
{{#dpl:
|category=Fictitious country
|include={Country}:capital:name
|table=,,Capital,Name
}}
The above DPL command produces the following output:
| Content page | Capital | Name |
|---|---|---|
| %TITLE% | ||
| %TITLE% | Bamitogoo | Republic of Nigunda |
| %TITLE% | Bamitogoo Test | Republic of Nigunda Test |
| %TITLE% | Aaaabququque | Somango Island |