Difference between revisions of "Template:File information"

From PinataIsland.info, the Viva Piñata wiki
Jump to: navigation, search
m (tweak)
(Replace hardcoded message with call to PV image message box.)
 
(14 intermediate revisions by one other user not shown)
Line 1: Line 1:
 
<includeonly>
 
<includeonly>
 +
{{#ifeq: {{{Pinata_vision|}}}{{{pinata_vision|}}}{{{PVI|}}}{{{pvi|}}} | yes |{{PVI|nocat}}}}
 +
<!-- Above are any parserFunctions that display extra info above the below infobox -->
 
{| summary="A standardized table providing complete information about the file, including description of what it shows and how it was made, copyright status and source." class="toccolours" style="width: 100%" cellpadding="2"
 
{| summary="A standardized table providing complete information about the file, including description of what it shows and how it was made, copyright status and source." class="toccolours" style="width: 100%" cellpadding="2"
 
! style="background: #ccf; text-align: right; vertical-align: top; padding-right: 0.4em; width: 15%" id="fileinfotpl_desc" |Description
 
! style="background: #ccf; text-align: right; vertical-align: top; padding-right: 0.4em; width: 15%" id="fileinfotpl_desc" |Description
Line 7: Line 9:
 
! style="background: #ccf; text-align: right; padding-right: 0.4em" id="fileinfotpl_src" | Game
 
! style="background: #ccf; text-align: right; padding-right: 0.4em" id="fileinfotpl_src" | Game
 
|
 
|
{{ #if: {{{Game|}}}{{{game|}}} | {{{Game|}}}{{{game|}}} | <div class="boilerplate metadata" id="cleanup" style="text-align: center; background: #ffe; margin: .75em 15%; padding: .5em; border: 1px solid #e3e3b0;">This media is lacking ''game'' information. Please provide ''one'' from the following list: '''[[Viva Pinata Classic|Classic]]''', '''[[Trouble in Paradise]]''', '''TiP - Standard''', '''TiP - Just for Fun''', '''[[Pocket Paradise]]''', '''[[Party Animals]]''', All, N/A}}
+
{{ #if: {{{Game|}}}{{{game|}}} | {{{Game|}}}{{{game|}}} | <div class="boilerplate metadata" id="cleanup" style="text-align: center; background: #ffe; margin: .75em 15%; padding: .5em; border: 1px solid #e3e3b0;">This media is lacking ''game'' information. Please provide ''one'' from the following list: '''[[Viva Piñata: Classic|Classic]]''', '''[[Trouble in Paradise]]''', '''[[Pocket Paradise]]''', '''[[Party Animals]]''', Other, Not applicable</div>
 +
}}
 
|- valign="top"
 
|- valign="top"
 
! style="background: #ccf; text-align: right; padding-right: 0.4em" id="fileinfotpl_src" | Platform
 
! style="background: #ccf; text-align: right; padding-right: 0.4em" id="fileinfotpl_src" | Platform
 
|
 
|
{{ #if: {{{Platform|}}}{{{platform|}}} | {{{Platform|}}}{{{platform|}}} | <div class="boilerplate metadata" id="cleanup" style="text-align: center; background: #ffe; margin: .75em 15%; padding: .5em; border: 1px solid #e3e3b0;">This media is lacking ''platform'' information. Please provide ''one'' from the following list: '''[[Xbox 360]]''', '''[[Games for Windows]]''', '''[[Nintendo DS]]''',  '''TV show''', All, N/A}}
+
{{ #if: {{{Platform|}}}{{{platform|}}} | {{{Platform|}}}{{{platform|}}} | <div class="boilerplate metadata" id="cleanup" style="text-align: center; background: #ffe; margin: .75em 15%; padding: .5em; border: 1px solid #e3e3b0;">This media is lacking ''platform'' information. Please provide ''one'' from the following list: '''[[Xbox 360]]''', '''[[Games for Windows]]''', '''[[Nintendo DS]]''',  '''TV show''', Unknown, Not applicable</div>
 
+
}}
 
|- valign="top"
 
|- valign="top"
 
! style="background: #ccf; text-align: right; padding-right: 0.4em" id="fileinfotpl_src" | Type
 
! style="background: #ccf; text-align: right; padding-right: 0.4em" id="fileinfotpl_src" | Type
 
|
 
|
{{ #if: {{{Type|}}}{{{type|}}} | {{{Type|}}}{{{type|}}} | <div class="boilerplate metadata" id="cleanup" style="text-align: center; background: #ffe; margin: .75em 15%; padding: .5em; border: 1px solid #e3e3b0;">This media is lacking ''type'' information. Please provide ''one'' from the following list: Species, Variant, Wildcard, Plant, Structure, Character, Pinata Vision, Screenshot, Logo, Photo, Video, Other }}
+
{{ #if: {{{Type|}}}{{{type|}}} | {{{Type|}}}{{{type|}}} | <div class="boilerplate metadata" id="cleanup" style="text-align: center; background: #ffe; margin: .75em 15%; padding: .5em; border: 1px solid #e3e3b0;">This media is lacking ''type'' information. Please provide ''one'' from the following list: Species, Variant, Wildcard, Wildcard Variant, Plant, Structure, Character, Garden item, Screenshot, Logo, Photo, Video, Other</div>
 +
}}
 
|- valign="top"
 
|- valign="top"
 
! style="background: #ccf; text-align: right; padding-right: 0.4em; white-space: nowrap" id="fileinfotpl_date" | Date
 
! style="background: #ccf; text-align: right; padding-right: 0.4em; white-space: nowrap" id="fileinfotpl_date" | Date
Line 24: Line 28:
 
! style="background: #ccf; text-align: right; padding-right: 0.4em" id="fileinfotpl_aut" | Source
 
! style="background: #ccf; text-align: right; padding-right: 0.4em" id="fileinfotpl_aut" | Source
 
|
 
|
{{ #if: {{{Source|}}}{{{source|}}} | {{{Source|}}}{{{source|}}} | <div class="boilerplate metadata" id="cleanup" style="text-align: center; background: #ffe; margin: .75em 15%; padding: .5em; border: 1px solid #e3e3b0;"> This media lacks a '''source''' - i.e. ''Self'', ''Website'', etc. If it was taken from another website with permission, the website or URL should be included.</div> }}
+
{{ #if: {{{Source|}}}{{{source|}}} | {{{Source|}}}{{{source|}}} | <div class="boilerplate metadata" id="cleanup" style="text-align: center; background: #ffe; margin: .75em 15%; padding: .5em; border: 1px solid #e3e3b0;"> This media lacks a '''source''' - i.e. ''Self'', ''Website'', etc. If it was taken from another website with permission, the website or URL should be included.</div>
 +
}}
 
|- valign="top"
 
|- valign="top"
 
! style="background: #ccf; text-align: right; padding-right: 0.4em" id="fileinfotpl_perm" | Permission
 
! style="background: #ccf; text-align: right; padding-right: 0.4em" id="fileinfotpl_perm" | Permission
 
|
 
|
{{ #if: {{{Permission|}}}{{{permission|}}} | {{{Permission|}}}{{{permission|}}} | }}
+
{{ #if: {{{Permission|}}}{{{permission|}}} | {{{Permission|}}}{{{permission|}}} | Most items are created and/or used under Microsoft’s '''[http://www.xbox.com/en-us/community/developer/rules.htm Game Content Usage Rules]''' using assets from the Viva Piñata series of video games © Microsoft Corporation}}
{{#switch: {{{other_versions|{{{Other_versions|}}}}}}
 
|  =
 
| - =
 
| none =
 
| #default = <tr valign="top"><td style="background: #ccf; text-align: right; padding-right: 0.4em; font-weight: bold" id="fileinfotpl_ver">Other versions</td><td>
 
{{{other_versions|{{{Other_versions|}}}}}}</td></tr>}}
 
 
{{{other_fields|}}}
 
{{{other_fields|}}}
|}<!-- Do not remove the following code. It is included for machine readability --><span id="field-description" title="{{urlencode:{{{Description|}}}{{{description|}}}}}"></span><span id="field-source" title="{{urlencode:{{{Source|}}}{{{source|}}}}}"></span><span id="field-date" title="{{urlencode:{{{Date|}}}{{{date|}}}}}"></span><span id="field-author" title="{{urlencode:{{{Author|}}}{{{author|}}}}}"></span><span id="field-permission" title="{{urlencode:{{{Permission|}}}{{{permission|}}}}}"></span><span id="field-otherversions" title="{{urlencode:{{{other_versions|{{{Other_versions|}}}}}}}}"></span>
+
|}<!-- Do not remove the following code. It is included for machine readability --><span id="field-description" title="{{urlencode:{{{Description|}}}{{{description|}}}}}"></span><span id="field-source" title="{{urlencode:{{{Source|}}}{{{source|}}}}}"></span><span id="field-date" title="{{urlencode:{{{Date|}}}{{{date|}}}}}"></span><span id="field-author" title="{{urlencode:{{{Author|}}}{{{author|}}}}}"></span><span id="field-permission" title="{{urlencode:{{{Permission|}}}{{{permission|}}}}}"></span><span id="field-otherversions" title="{{urlencode:{{{other_versions|{{{Other_versions|}}}}}}}}"></span></includeonly><noinclude>{{Template:File information/doc}}</noinclude>
<!-- Below are any parserFunctions that need to categorize the image and/or display extra info -->
+
<!-- Below are image categorization parserFunctions -->
{{#ifeq: {{{type}}} | Pinata Vision |
+
{{#if: {{{nocat|}}} | <!-- no cat is true, so do nothing --> |
<div style="background:#FFFFCC; padding:10px; border-color: #FFD700; border-style: solid; ">This image can be scanned using the [[Piñata Vision]] feature of [[Viva Piñata: Trouble in Paradise]] using an [[Xbox Live Vision]] camera.</div>
+
  {{#ifeq: {{{Pinata_vision|}}}{{{pinata_vision|}}}{{{PVI|}}}{{{pvi|}}} | yes | [[Category:Piñata Vision image]]
<!-- [[Category:Piñata Vision image]] --> }}</includeonly><noinclude>{{/doc}}</noinclude>
+
  }}
 +
}}

Latest revision as of 10:00, 27 September 2009

This documentation is transcluded from Template:File information/doc

Documentation

File information is used to display an Infobox for images, videos, and other media files. Usage is as follows:

{{File information
|description=
|game=
|platform=
|pinata_vision=
|type=
|date=
|source=
|permission=
}}

This template uses the following parameters:

description 
a description of the image
game 
indicates which game the image is from. Acceptable parameters include "Classic", "Trouble in Paradise", "Pocket Paradise", "Party Animals". also acceptable are "Unknown" or "Not applicable" (i.e. TV show, concept art, etc.)
platform 
indicates which platform the image is from. Acceptable parameters include "Xbox 360", "Games for Windows", "Nintendo DS", "TV show", "Unknown" or "Not applicable"
pinata_vision 
yes or no (boolean) used to flag the file as a Piñata Vision image
type 
acceptable types include "Species", "Variant", "Wildcard", "Wildcard Variant", "Plant", "Structure", "Character", "Screenshot", "Logo", "Photo", "Video", "Other"
date 
date of upload or date of event if a real world-photo
source 
i.e. "self" or "website: http://vivapinata.com"
permission 
copyright status of image - may be left blank and the standard Microsoft game content usage rules will be shown

Examples of different uses

{{File information
|description=Pinata Vision card for Galagoogoo by Neil J
|game=Trouble in Paradise
|platform=Xbox 360
|pinata_vision=yes
|type=Variant
|date=18:44, 18 August 2008
|source=uploaded by [[User:Jimmcq]]
|permission=
}}
27-GalagoogooPV.jpg
Description

Pinata Vision card for Galagoogoo by Neil J

Game

Trouble in Paradise

Platform

Xbox 360

Type

Variant

Date

18:44, 18 August 2008

Source

uploaded by User:Jimmcq

Permission

Most items are created and/or used under Microsoft’s Game Content Usage Rules using assets from the Viva Piñata series of video games © Microsoft Corporation

{{File information
|description=Closeup screenshot of a [[Reddhott]] on grass
|game=Classic
|pinata_vision=no
|platform=Xbox 360
|type=Species
|date=00:18, 16 November 2006
|source=uploaded by [[User:Jimmcq]]
|permission=
}}
Reddhott.jpg


Description

Closeup screenshot of a Reddhott on grass

Game

Classic

Platform

Xbox 360

Type

Species

Date

00:18, 16 November 2006

Source

uploaded by User:Jimmcq

Permission

Most items are created and/or used under Microsoft’s Game Content Usage Rules using assets from the Viva Piñata series of video games © Microsoft Corporation

{{File information
|description=ProperVillain's [[wildcard]] [[cocoadile]]
|game=Classic
|platform=Xbox 360
|pinata_vision=no
|type=Wildcard
|date=00:18, 16 November 2006
|source=photo taken and uploaded by [[User:LordRavenBlack]]
|permission=
}}
WildcardCocoadile.jpg


Description

ProperVillain's wildcard cocoadile

Game

Classic

Platform

Xbox 360

Type

Wildcard

Date

00:18, 16 November 2006

Source

photo taken and uploaded by User:LordRavenBlack

Permission

Most items are created and/or used under Microsoft’s Game Content Usage Rules using assets from the Viva Piñata series of video games © Microsoft Corporation


{{File information
|description=Screenshot of two [[pengum]]s in the [[pinarctic]]
|game=Trouble in Paradise
|platform=Xbox 360
|pinata_vision=no
|type=Screenshot
|date=00:18, 16 November 2006
|source=photo taken and uploaded by [[User:LordRavenBlack]]
|permission=
}}
Vptrouble 03.jpg


Description

Screenshot of two pengums in the pinarctic

Game

Trouble in Paradise

Platform

Xbox 360

Type

Screenshot

Date

01:31, 25 May 2008

Source

Microsoft press kit. Uploaded by User:FeralKitty

Permission

Most items are created and/or used under Microsoft’s Game Content Usage Rules using assets from the Viva Piñata series of video games © Microsoft Corporation