Difference between revisions of "Examples of including a template"

From FollowTheScore
Jump to: navigation, search
(simple example)
 
 
(2 intermediate revisions by the same user not shown)
(No difference)

Latest revision as of 12:34, 12 April 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: