<pages /> tag is used to transclude content from the Page namespace into other 'presentation' namespaces (usually the main namespace).
The syntax for the tag is as follows:
<pages index="Index Name.pdf" from="first page" to="last page" step="integer" include="pagelist range" exclude="pagelist range" fromsection="section name" tosection="section name" onlysection="section name" />
indexattribute contains the name of the Index page whose pages are to be transcluded (without the 'Index:' prefix).
toattributes contain the page numbers of the starting and ending pages, as they appear in the page names of the Page namespace.
stepattribute is used to only transclude every nth page between
excludeattributes take page ranges like those used in the Pagelist tag. The former can also be useful for only transcluding a single page.
- The 'section' attributes (only available if the Labeled Section Transclusion extension is installed) allow for the transclusion of only part of a page (e.g. when a chapter ends on the page on which the next chapter begins).
- Help:Transclusion at English Wikisource