Help:Extension:ProofreadPage/Pages tag/ja

The  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:

Attributes:


 * The  attribute contains the name of the Index page whose pages are to be transcluded (without the 'Index:' prefix).
 * The  and   attributes contain the page numbers (or filenames; see note below) of the starting and ending pages, as they appear in the page names of the Page namespace. These are usually integers (for PDF or DjVu indexes) but can also be full filenames (for individual-file indexes).
 * The  attribute is used to only transclude every nth page between   and.
 * The  and   attributes take page ranges like those used in the Pagelist tag. The former can also be useful for only transcluding a single page.
 * The  and   attributes (only available if the  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). They allow the same types of values as   and.
 * The  attribute can be used to auto-generate a header. See below for more details.

Header template
If the  attribute is provided, the  will be loaded at the top of the output. This template will be passed the following parameters:


 * value — the value of the  attribute. Should be set to   for tables of contents; other values can be used depending on what the header template requires.
 * current
 * prev and next
 * from and to — formatted page numbers that were passed as the  and   attributes.
 * As well as all of the parameters from the Index page, such as title, author, etc.

Indexes of individual images
It's possible to not use the pagelist tag to list the pages of an Index, and instead list individual File NS page names. In this case, it's still possible to use the pages tag, but only with the,  ,   and   attributes.

For example, given an Index  (note that it doesn't have a file extension) with a page list that like this:



The second and third pages can be transcluded with the following:



関連項目

 * Help:Transclusion at English Wikisource