Template:PVI

From PinataIsland.info, the Viva Piñata wiki
Revision as of 07:26, 28 September 2009 by FeralKitty (talk | contribs) (Specify PAGENAME default sort key to sort images by page title, instead of namespace.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
This documentation is transcluded from Template:PVI/doc

Usage

This template should be added to all Piñata Vision images that contain a scannable barcode.

By default, including this template in an image article will add the article to Category:Piñata Vision image. Calling this template with an optional unnamed parameter nocat will suppress the category tag.

nocat 
Suppress category tag (optional, boolean)

Example

{{PVI|nocat}} gives

Notes

  1. Prior to recategorizing PV images, all images were in a common category. To maintain backwards compatibility for images that haven't been re-categorized, the template's default behavior still categorizes PV images in the old category. Newly uploaded images should specify nocat, to continue displaying the message box, but not place the image in the old category.
  2. Default sort key {{PAGENAME}} is specified, to sort the image article by page title (instead of by namespace).