Difference between revisions of "Template:File information"
(source: http://en.wikipedia.org/w/index.php?title=User:Xenocidic/sandbox&oldid=233932725 various elements from WP: & commons: templates) |
(rename platform to "game", documentation, examples) |
||
Line 1: | Line 1: | ||
+ | <includeonly> | ||
{| 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 16: | Line 17: | ||
! style="background: #ccf; text-align: right; padding-right: 0.4em" id="fileinfotpl_src" | Platform or game | ! style="background: #ccf; text-align: right; padding-right: 0.4em" id="fileinfotpl_src" | Platform or game | ||
| | | | ||
− | {{ #if: {{{ | + | {{ #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'' or ''platform'' 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]]''', '''TV show''', '''[[Xbox 360]]''', '''[[Games for Windows]]''', '''[[Nintendo DS]]'''.}} |
|- 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 | ||
Line 32: | Line 33: | ||
! style="background: #ccf; text-align: right; padding-right: 0.4em" id="fileinfotpl_perm" | Permission<br /><small>([[Commons:Reusing content outside Wikimedia|Reusing this image]])</small> | ! style="background: #ccf; text-align: right; padding-right: 0.4em" id="fileinfotpl_perm" | Permission<br /><small>([[Commons:Reusing content outside Wikimedia|Reusing this image]])</small> | ||
| | | | ||
− | {{ #if: {{{Permission|}}}{{{permission|}}} | {{{Permission|}}}{{{permission|}}} | | + | {{ #if: {{{Permission|}}}{{{permission|}}} | {{{Permission|}}}{{{permission|}}} | }} |
{{#switch: {{{other_versions|{{{Other_versions|}}}}}} | {{#switch: {{{other_versions|{{{Other_versions|}}}}}} | ||
| = | | = | ||
Line 40: | 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> | + | |}<!-- 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>==Documentation== | ||
+ | Imagedesc is used to display an Infobox for images. Usage is as follows: | ||
+ | |||
+ | <pre> | ||
+ | {{User:Xenocidic/UX/Imagedesc | ||
+ | |description= | ||
+ | |platform= | ||
+ | |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 | ||
+ | |||
+ | </noinclude> | ||
+ | |||
+ | ==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 | ||
+ | |platform=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= | ||
+ | }} |
Revision as of 11:51, 24 August 2008
Documentation
Imagedesc is used to display an Infobox for images. Usage is as follows:
{{User:Xenocidic/UX/Imagedesc |description= |platform= |type= |date= |source= |permission= }}
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
{{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= }} |
Description |
Closeup screenshot of a Reddhott on grass |
---|---|
Game | |
Platform |
Classic |
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 | |
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 | |
Type |
Species |
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 |