Difference between revisions of "Examples of including a template"
From FollowTheScore
(simple example) |
(No difference)
|
Revision as of 10:52, 18 February 2007
Just listing the members of a category:
{{#dpl:category=African Union member states}} gives:
For each page in this set we can add the result of calling Template:Infobox Country or territory dpl2 with the same parameters as those with which Template:Infobox Country or territory is called in the page. "Template:Infobox Country or territory dpl2" does not necessarily use all parameters; it actually uses only two out of many, in this case:
{{#dpl:category=African Union member states|includepage={Infobox Country or territory} dpl2}} gives: