Difference between revisions of "Template:Media"

From Disobiki
Jump to navigation Jump to search
 
(14 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{ #if: {{{type|}}} |
+
<includeonly>{{ #if: {{{film|}}} |
 +
{{ #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|}}}
 
   | Promo = [[Category:Promotional items]]
 
   | Promo = [[Category:Promotional items]]
 
   | Still = [[Category:Still images]]
 
   | Still = [[Category:Still images]]
   | Title = [[Category:Still images]] [[Category:Title cards]]
+
   | Title = [[Category:Title cards]]
 
   | [[Category:Posters and covers for {{{year|????}}}]]  
 
   | [[Category:Posters and covers for {{{year|????}}}]]  
 
     [[Category:{{{language|English}}}-language posters and covers]]
 
     [[Category:{{{language|English}}}-language posters and covers]]
Line 17: Line 18:
 
   }}
 
   }}
 
| [[Category:Unknown media (type)]]
 
| [[Category:Unknown media (type)]]
}}
+
}}{{ #switch: {{{type|}}}
{{ #if: {{{film|}}} |
+
| Album = This album is for {{{film}}} ({{{year|????}}}).
  {{ #switch: {{{type|}}}
+
| Poster = This poster is for {{{film}}} ({{{year|????}}}).
  | Album = This {{lc:{{{type}}}}} is for {{{film}}} ({{{year|????}}}).
+
| Promo = This promotional item is for {{{film}}} ({{{year|????}}}).
  | Poster = This {{lc:{{{type}}}}} is for {{{film}}} ({{{year|????}}}).
+
| Still = This still is for {{{film}}} ({{{year|????}}}).
  | Promo = This {{lc:{{{type}}}}}tional item is for {{{film}}} ({{{year|????}}}).
+
| Title = This title card is for {{{film}}} ({{{year|????}}}).
  | Still = This {{lc:{{{type}}}}} is for {{{film}}} ({{{year|????}}}).
+
| This {{{type|????}}} is for {{{film}}} ({{{year|????}}}).
  | Title = This {{lc:{{{type}}}}} card is for {{{film}}} ({{{year|????}}}).
+
}} {{AmazonVideoSearch|{{{film|}}}|Search for this film on Amazon.}}
  | This {{{type|????}}} is for {{{film}}} ({{{year|????}}}).
 
  }}
 
{{AmazonVideoSearch|{{{film|}}}|Search for this film on Amazon.}}
 
| [[Category:Unknown media (film)]]
 
}}
 
 
{{ #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)]]
 
   }}
 
   }}
}}</includeonly><noinclude>
+
}}}}{{ #if: {{{game|}}} |
 +
{{ #switch: {{{type|}}}
 +
| 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>
 
This template is used to describe '''uploaded media''' (images, videos, audio, etc.).
 
This template is used to describe '''uploaded media''' (images, videos, audio, etc.).
 
<br />Its primary purpose is to handle organizing of media in the proper categories.
 
<br />Its primary purpose is to handle organizing of media in the proper categories.
Line 47: Line 53:
 
<pre>
 
<pre>
 
  {{Media
 
  {{Media
  | film          =
+
  | film          = [[12 Monkeys]]
  | year          =
+
  | year          = 1995
  | type          =
+
  | type          = DVD
  | language      =
+
  | language      = French
  | distributor    =
+
  | distributor    = [[Company name]]
 +
}}
 +
</pre>
 +
 
 +
<pre>
 +
{{Media
 +
| game          = [[Mystery Chronicles: Murder Among Friends]]
 +
| year          = 2008
 +
| type          = Hidden object scene
 
  }}
 
  }}
 
</pre>
 
</pre>
Line 58: 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 78: Line 92:
 
|}
 
|}
  
==Examples==
+
{| class="wikitable" width="600"
 
+
! style="text-align: left" | Parameter
<pre>
+
! style="text-align: left" | Explanation
{{Media
+
|-
| film          = [[Baberellas]]
+
| '''game'''
| year           = 2003
+
| Insert the full common name of the game (as a link).
| type          = Poster
+
|-
}}
+
| '''year'''
</pre>
+
| Insert the year the game was released (if unknown, leave blank).
 
+
|-
<pre>
+
| '''type'''
{{Media
+
| One of Hidden object scene, Icon, Location, Puzzle, Solution, or Title.
| film          = [[12 Monkeys]]
+
|}
| year          = 1995
 
| type          = DVD
 
| language      = French
 
}}
 
</pre>
 
  
 
[[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.