Difference between revisions of "Template:Media"

From Disobiki
Jump to navigation Jump to search
 
(7 intermediate revisions by the same user not shown)
Line 2: Line 2:
 
{{ #if: {{{type|}}} |
 
{{ #if: {{{type|}}} |
 
   {{ #switch: {{{type|}}}
 
   {{ #switch: {{{type|}}}
   | Album = [[Category:Album covers for {{{year|????}}}]][[Category:All album covers]]
+
   | Album   = [[Category:Album covers for {{{year|????}}}]][[Category:All album covers]]
 
   | Betamax = [[Category:Betamax covers for {{{year|????}}}]][[Category:All Betamax covers]]
 
   | Betamax = [[Category:Betamax covers for {{{year|????}}}]][[Category:All Betamax covers]]
 
   | Blu-ray = [[Category:Blu-ray covers for {{{year|????}}}]][[Category:All Blu-ray covers]]
 
   | Blu-ray = [[Category:Blu-ray covers for {{{year|????}}}]][[Category:All Blu-ray covers]]
   | DVD = [[Category:DVD covers for {{{year|????}}}]][[Category:All DVD covers]]
+
   | DVD     = [[Category:DVD covers for {{{year|????}}}]][[Category:All DVD covers]]
   | LD = [[Category:LD covers for {{{year|????}}}]][[Category:All LD covers]]
+
   | LD     = [[Category:LD covers for {{{year|????}}}]][[Category:All LD covers]]
   | VHS = [[Category:VHS covers for {{{year|????}}}]][[Category:All VHS covers]]
+
   | VHS     = [[Category:VHS covers for {{{year|????}}}]][[Category:All VHS covers]]
 
   }}
 
   }}
 
   {{ #switch: {{{type|}}}
 
   {{ #switch: {{{type|}}}
Line 19: Line 19:
 
| [[Category:Unknown media (type)]]
 
| [[Category:Unknown media (type)]]
 
}}{{ #switch: {{{type|}}}
 
}}{{ #switch: {{{type|}}}
| Album = This {{lc:{{{type}}}}} is for {{{film}}} ({{{year|????}}}).
+
| Album = This album is for {{{film}}} ({{{year|????}}}).
| Poster = This {{lc:{{{type}}}}} is for {{{film}}} ({{{year|????}}}).
+
| Poster = This poster is for {{{film}}} ({{{year|????}}}).
| Promo = This {{lc:{{{type}}}}}tional item is for {{{film}}} ({{{year|????}}}).
+
| Promo = This promotional item is for {{{film}}} ({{{year|????}}}).
| Still = This {{lc:{{{type}}}}} is for {{{film}}} ({{{year|????}}}).
+
| Still = This still is for {{{film}}} ({{{year|????}}}).
| Title = This {{lc:{{{type}}}}} card is for {{{film}}} ({{{year|????}}}).
+
| Title = This title card is for {{{film}}} ({{{year|????}}}).
 
| This {{{type|????}}} is for {{{film}}} ({{{year|????}}}).
 
| This {{{type|????}}} is for {{{film}}} ({{{year|????}}}).
}}{{AmazonVideoSearch|{{{film|}}}|Search for this film on Amazon.}}
+
}} {{AmazonVideoSearch|{{{film|}}}|Search for this film on Amazon.}}
 
{{ #if: {{{distributor|}}} | <br />Distributed by {{{distributor}}}. |
 
{{ #if: {{{distributor|}}} | <br />Distributed by {{{distributor}}}. |
 
   {{ #switch: {{{type|}}}
 
   {{ #switch: {{{type|}}}
   | Album = [[Category:Unknown media (distributor)]]
+
   | Album   = [[Category:Unknown media (distributor)]]
 
   | Betamax = [[Category:Unknown media (distributor)]]
 
   | Betamax = [[Category:Unknown media (distributor)]]
 
   | Blu-ray = [[Category:Unknown media (distributor)]]
 
   | Blu-ray = [[Category:Unknown media (distributor)]]
   | DVD = [[Category:Unknown media (distributor)]]
+
   | DVD     = [[Category:Unknown media (distributor)]]
   | LD = [[Category:Unknown media (distributor)]]
+
   | LD     = [[Category:Unknown media (distributor)]]
   | VHS = [[Category:Unknown media (distributor)]]
+
   | VHS     = [[Category:Unknown media (distributor)]]
 
   }}
 
   }}
 
}}}}{{ #if: {{{game|}}} |
 
}}}}{{ #if: {{{game|}}} |
This screenshot is for {{{game}}} ({{{year|????}}}).
+
{{ #switch: {{{type|}}}
[[Category:Screenshots]]
+
| Hidden object scene = This hidden object scene is for {{{game}}} ({{{year|????}}}).[[Category:Hidden object scenes]]
 +
| Location            = This location screenshot is for {{{game}}} ({{{year|????}}}).[[Category:Locations]]
 +
| Puzzle              = This puzzle is for {{{game}}} ({{{year|????}}}).[[Category:Puzzles and solutions]]
 +
| Solution            = This puzzle solution is for {{{game}}} ({{{year|????}}}).[[Category:Puzzles and solutions]]
 +
| Title              = This title screen is for {{{game}}} ({{{year|????}}}).[[Category:Title screens]]
 +
| Icon                = This icon is for {{{game}}} ({{{year|????}}}).
 +
| This screenshot is for {{{game}}} ({{{year|????}}}).
 +
}}[[Category:All screenshots]]
 
}}{{AutoDEFAULTSORT|namespace=1}}</includeonly><noinclude>
 
}}{{AutoDEFAULTSORT|namespace=1}}</includeonly><noinclude>
 
This template is used to describe '''uploaded media''' (images, videos, audio, etc.).
 
This template is used to describe '''uploaded media''' (images, videos, audio, etc.).
Line 58: Line 65:
 
  | game          = [[Mystery Chronicles: Murder Among Friends]]
 
  | game          = [[Mystery Chronicles: Murder Among Friends]]
 
  | year          = 2008
 
  | year          = 2008
 +
| type          = Hidden object scene
 
  }}
 
  }}
 
</pre>
 
</pre>
Line 64: Line 72:
 
Note: * denotes required fields.<br />
 
Note: * denotes required fields.<br />
  
{| class="wikitable"
+
{| class="wikitable" width="600"
 
! style="text-align: left" | Parameter
 
! style="text-align: left" | Parameter
 
! style="text-align: left" | Explanation
 
! style="text-align: left" | Explanation
Line 84: Line 92:
 
|}
 
|}
  
{| class="wikitable"
+
{| class="wikitable" width="600"
 
! style="text-align: left" | Parameter
 
! style="text-align: left" | Parameter
 
! style="text-align: left" | Explanation
 
! style="text-align: left" | Explanation
Line 93: Line 101:
 
| '''year'''
 
| '''year'''
 
| Insert the year the game was released (if unknown, leave blank).
 
| Insert the year the game was released (if unknown, leave blank).
 +
|-
 +
| '''type'''
 +
| One of Hidden object scene, Icon, Location, Puzzle, Solution, or Title.
 
|}
 
|}
  
 
[[Category:Templates]]</noinclude>
 
[[Category:Templates]]</noinclude>

Latest revision as of 22:13, 4 January 2011

This template is used to describe uploaded media (images, videos, audio, etc.).
Its primary purpose is to handle organizing of media in the proper categories.

Usage

 {{Media
 | film           = [[12 Monkeys]]
 | year           = 1995
 | type           = DVD
 | language       = French
 | distributor    = [[Company name]]
 }}
 {{Media
 | game           = [[Mystery Chronicles: Murder Among Friends]]
 | year           = 2008
 | type           = Hidden object scene
 }}

Parameters

Note: * denotes required fields.

Parameter Explanation
film Insert the full common name of the film (as a link).
year Insert the year the film was released (if unknown, leave blank).
type One of Album, Betamax, Blu-ray, DVD, LD, VHS, Poster, Promo, Still, or Title.
language If not English, the type of language on display (Italian, Thai, French, etc.).
distributor The distributor(s) for this DVD, VHS, LD, Album, etc. (as a link).
Parameter Explanation
game Insert the full common name of the game (as a link).
year Insert the year the game was released (if unknown, leave blank).
type One of Hidden object scene, Icon, Location, Puzzle, Solution, or Title.