Difference between revisions of "Template:File information"
m (move noinclude tag) |
FeralKitty (talk | contribs) (Replace hardcoded message with call to PV image message box.) |
||
(20 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 | ||
| | | | ||
− | {{ #if: {{{Description|}}}{{{description|}}} | {{{Description|}}}{{{description|}}} | | + | {{ #if: {{{Description|}}}{{{description|}}} | {{{Description|}}}{{{description|}}} | <div class="boilerplate metadata" id="cleanup" style="text-align: center; background: #ffe; margin: .75em 15%; padding: .5em; border: 1px solid #e3e3b0;"> This media has no '''description''', and may be lacking other information. <br> Example: Screenshot of [[reddhott]] variant 3 by [[User:???]]</div> }} |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | }} | ||
|- valign="top" | |- valign="top" | ||
− | ! style="background: #ccf; text-align: right; padding-right: 0.4em" id="fileinfotpl_src" | | + | ! 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 | + | {{ #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" | ||
+ | ! 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''', 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, | + | {{ #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 29: | 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}} |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
{{{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></includeonly | + | |}<!-- 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 image categorization parserFunctions --> | |
− | + | {{#if: {{{nocat|}}} | <!-- no cat is true, so do nothing --> | | |
− | + | {{#ifeq: {{{Pinata_vision|}}}{{{pinata_vision|}}}{{{PVI|}}}{{{pvi|}}} | yes | [[Category:Piñata Vision image]] | |
− | + | }} | |
− | |||
− | |||
− | |||
− | {{ | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | }} | ||
− | </ | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | {{ | ||
− | |||
− | |||
− | |||
− | |||
− | | | ||
− | |||
− | }}< | ||
− | | | ||
− | |||
− | {{ | ||
− | |||
− | |||
− | |||
− | |||
− | | | ||
− | |||
− | }} | ||
− | |||
− | |||
− | { | ||
− | |||
− | |||
− | {{ | ||
− | | | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | }} | ||
− | |||
− | |||
− | {{ | ||
− | | | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | }} | ||
− | |||
− | { | ||
− | |||
− | |||
− | {{ | ||
− | | | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | }} | ||
− | |||
− | |||
− | |||
− | | | ||
− | |||
− | |||
− | |||
− | | | ||
− | |||
}} | }} | ||
− |
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
![]() | This image can be scanned using the Piñata Vision feature of Viva Piñata: Trouble in Paradise using an Xbox Live Vision camera. |
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= }} |
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 |
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 |
Description | |
---|---|
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 |