Difference between revisions of "Template:File information"

From PinataIsland.info, the Viva Piñata wiki
Jump to: navigation, search
m (rm bit that linked to wp image policy)
(add ifeq statement -> capabitility to display custom message to deprecate use of {{PVI}}. splitting off doc)
Line 41: Line 41:
 
{{{other_versions|{{{Other_versions|}}}}}}</td></tr>}}
 
{{{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></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>
 
+
<!-- Below are any parserFunctions that need to categorize the image and/or display extra info -->
 
+
{{#ifeq: type | Pinata Vision |  
 
+
<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>
--><noinclude>==Documentation==
+
[[Category:Piñata Vision image]] }}</includeonly><noinclude>{{/doc}}</noinclude>
Imagedesc is used to display an Infobox for images. Usage is as follows:
 
 
 
<pre>
 
{{User:Xenocidic/UX/Imagedesc
 
|description=
 
|game=
 
|type=
 
|date=
 
|source=
 
|permission=
 
}}
 
</pre>
 
 
 
This template uses the following parameters:
 
 
 
; ''description'' : a description of the image
 
 
 
; ''game'' : indicates which game or platform the image represents. Acceptable parameters for games includes "Classic", "Trouble in Paradise", "TiP - Standard", "TiP - Just for Fun", "Pocket Paradise", "Party Animals". if the image does not apply to one game in particular, platform parameters such as "Xbox 360", "Games for Windows", "Nintendo DS", "TV show" or "Other" can be supplied.
 
 
 
; ''type'' : acceptable types include "Species", "Variant", "Wildcard", "Plant", "Structure", "Character", "Pinata Vision", "Garden", "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
 
 
 
==Examples of different uses==
 
{|
 
|-
 
|<pre>
 
{{Imagedesc
 
|description=Closeup screenshot of a [[Reddhott]] on grass
 
|game=Classic
 
|type=Species
 
|date=00:18, 16 November 2006
 
|source=uploaded by [[User:Jimmcq]]
 
|permission=
 
}}</pre>
 
|[[Image:Reddhott.jpg|right]]
 
|}
 
{{User:Xenocidic/UX/Imagedesc
 
|description=Closeup screenshot of a [[Reddhott]] on grass
 
|game=Classic
 
|type=Species
 
|date=00:18, 16 November 2006
 
|source=uploaded by [[User:Jimmcq]]
 
|permission=
 
}}
 
{{clear}}
 
 
 
{|
 
|-
 
|<pre>
 
{{Imagedesc
 
|description=ProperVillain's [[wildcard]] [[cocoadile]]
 
|game=Classic
 
|type=Wildcard
 
|date=00:18, 16 November 2006
 
|source=photo taken and uploaded by [[User:LordRavenBlack]]
 
|permission=
 
}}</pre>
 
|[[Image:WildcardCocoadile.jpg]]
 
|}
 
{{User:Xenocidic/UX/Imagedesc
 
|description=ProperVillain's wildcard cocoadile
 
|game=Classic
 
|type=Wildcard
 
|date=00:18, 16 November 2006
 
|source=photo taken and uploaded by [[User:LordRavenBlack]]
 
|permission=
 
}}
 
 
 
{|
 
|-
 
|<pre>
 
{{Imagedesc
 
|description=Screenshot of two [[pengum]]s in the [[pinarctic]]
 
|game=Trouble in Paradise
 
|type=Species
 
|date=00:18, 16 November 2006
 
|source=photo taken and uploaded by [[User:LordRavenBlack]]
 
|permission=
 
}}</pre>
 
|[[Image:Vptrouble_03.jpg|200px]]
 
|}
 
{{User:Xenocidic/UX/Imagedesc
 
|description=Screenshot of two [[pengum]]s in the [[pinarctic]]
 
|game=Trouble in Paradise
 
|type=Species
 
|date=01:31, 25 May 2008
 
|source=Microsoft press kit. Uploaded by [[User:FeralKitty]]
 
|permission=
 
}}
 
</noinclude>
 

Revision as of 04:11, 25 August 2008

Template:/doc