Difference between revisions of "Examples of including a template"

From FollowTheScore
Jump to: navigation, search
 
Line 9: Line 9:
 
<nowiki>{{#dpl:category=African Union member states|includepage={Infobox Country or territory} dpl2}}</nowiki> gives:
 
<nowiki>{{#dpl:category=African Union member states|includepage={Infobox Country or territory} dpl2}}</nowiki> gives:
  
{{#dpl:category=African Union member states|includepage={Infobox Country or territory} dpl3}}
+
{{#dpl:category=African Union member states|includepage={Infobox Country or territory} dpl2}}

Latest revision as of 13: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: