Difference between revisions of "Template:PVI"
From PinataIsland.info, the Viva Piñata wiki
FeralKitty (talk | contribs) m (I broke the spacing) |
FeralKitty (talk | contribs) (Specify PAGENAME default sort key to sort images by page title, instead of namespace.) |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | < | + | <includeonly>{{DEFAULTSORT:{{PAGENAME}}}}<table class="plainlinks imbox imbox-notice"><!-- |
− | == | + | --><tr><td class="mbox-image">[[Image:Imbox notice.png|40x40px]]</td><td class="mbox-text">This image can be scanned using the [[Piñata Vision]] feature of [[Viva Piñata: Trouble in Paradise]] using an [[Xbox Live Vision]] camera.</td></tr></table><!-- |
− | This | + | -->{{#ifeq:{{{1| }}}|nocat|<!--true, do not categorize-->|[[Category:Piñata Vision image]]}}<!-- |
− | + | ||
− | + | --></includeonly><noinclude> | |
+ | {{PVI/doc}} | ||
+ | <!-- Add categories and interwikis to the /doc subpage, not here! --> | ||
</noinclude> | </noinclude> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− |
Latest revision as of 07:26, 28 September 2009
- 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
![]() | This image can be scanned using the Piñata Vision feature of Viva Piñata: Trouble in Paradise using an Xbox Live Vision camera. |
Notes
- 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.
- Default sort key {{PAGENAME}} is specified, to sort the image article by page title (instead of by namespace).