Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:DVD Data: Difference between revisions

Template page
Shane (talk | contribs)
Joe Beaudoin Jr. (talk | contribs)
+ worldcat
 
(26 intermediate revisions by 6 users not shown)
Line 1: Line 1:
<includeonly>
<includeonly>
{| class="toccolors" width="350px" style="float: right; margin: 0 0 1em 1em; width: 20em; font-size: 90%; clear:right; border: 1px solid #a60003;" align="center"
{| class="infobox" width="350px"
|- style="text-align: center;" class="hiddenStructure{{{image}}}"
|- style="text-align: center;" class="hiddenStructure{{{image|}}}"
| colspan=3 | [[Image:{{{image}}}|200px|{{{alt}}}]]
| colspan="3" | [[Image:{{{image}}}|200px|{{{alt|{{{title|{{PAGENAME}}}}}}}}]]
|- style="text-align: center;"
|- style="text-align: center;"
! style="background: #461919; color: #FFFFFF;" colspan=3|'''"{{{title}}}"'''<br />A [[:Category:Merchandise|DVD]] of the ''{{#switch: {{{series|}}}
! class="infoboxheader" colspan="3" |"'''{{{title}}}'''"<br />A [[:Category:Merchandise|DVD]] of {{#switch: {{{series|}}}
| tos = [[Battlestar Galactica (TOS)|the Original Series]]
| tos = the [[Battlestar Galactica (TOS)|Original Series]]
| 1980 = [[Galactica 1980]]
| 1980 = [[Galactica 1980]]
|#default = [[Battlestar Galactica (RDM)|The Re-imagined Series]]
| rdm
}}'' series
| #default = the [[Battlestar Galactica (RDM)|Re-imagined Series]]
}}
|- class="hiddenStructure{{{studio|}}}"
|- class="hiddenStructure{{{studio|}}}"
| style="white-space:nowrap;" | '''Studio'''
| style="white-space:nowrap;" | '''Studio'''
| colspan=2 | {{{studio}}}
| colspan="2" | {{{studio}}}
|- class="hiddenStructure{{{rating|}}}" valign="top"
|- class="hiddenStructure{{{rating|}}}" valign="top"
| style="white-space:nowrap;" | '''Rating'''
| style="white-space:nowrap;" | '''Rating'''
| colspan=2 | {{{rating}}}
| colspan="2" | {{{rating}}}
|- class="hiddenStructure{{{discs|}}}" valign="top"
|- class="hiddenStructure{{{discs|}}}" valign="top"
| style="white-space:nowrap;" | '''Discs'''
| style="white-space:nowrap;" | '''Discs'''
| colspan=2 | {{{discs}}}
| colspan="2" | {{{discs}}}
|- class="hiddenStructure{{{runtime|}}}" valign="top"
|- class="hiddenStructure{{{runtime|}}}" valign="top"
| style="white-space:nowrap;" | '''Running Time'''
| style="white-space:nowrap;" | '''Running Time'''
| colspan=2 | {{{runtime}}}
| colspan="2" | {{{runtime}}}
|- class="hiddenStructure{{{region|}}}" valign="top"
|- class="hiddenStructure{{{region|}}}" valign="top"
| style="white-space:nowrap;" | '''Region'''
| style="white-space:nowrap;" | '''Region'''
| colspan=2 | {{{region}}}
| colspan="2" | {{{region}}}
|- class="hiddenStructure{{{format|}}}" valign="top"
| style="white-space:nowrap;" | '''Format'''
| colspan="2" | {{{format}}}
|-class="hiddenStructure{{{released|}}}" valign="top"
|-class="hiddenStructure{{{released|}}}" valign="top"
| style="white-space:nowrap;" | '''Released'''
| style="white-space:nowrap;" | '''Released'''
|colspan=2 | {{{released}}}
| colspan="2" | {{{released}}}
|- style="text-align:center;"
|-class="hiddenStructure{{{upc|}}}" valign="top"
! style="background: #461919; color: #FFFFFF;" colspan="3" | Chronology
| style="white-space:nowrap;" | '''UPC'''
|- style="text-align:center; font-size:smaller;"  
| colspan="2" | {{{upc}}}
|style="width: 33%;" | Previous
{{#ifeq:{{#expr:({{#if:{{{prev|}}}|1|0}}+{{#if:{{{next|}}}|1|0}}) >= 1|1|0}}|1|
|style="width: 33%;" |
{{!}}- style="text-align:center;"
|style="width: 33%;" | Next
! class="infoboxheader" colspan="3" {{!}} Chronology
|- style="text-align:center; font-size:smaller;"  
{{!}}- style="text-align:center; font-size:smaller;"  
|style="width: 33%;" | {{{prev}}}
{{!}} style="width: 33%;" {{!}} Previous
|style="width: 33%;" | {{{title}}}
{{!}} style="width: 33%;" {{!}}
|style="width: 33%;" | {{{next}}}
{{!}} style="width: 33%;" {{!}} Next
{{!}}- style="text-align:center; font-size:smaller;"  
{{!}} style="width: 33%;" {{!}} {{{prev}}}
{{!}} style="width: 33%;" {{!}} {{{title}}}
{{!}} style="width: 33%;" {{!}} {{{next}}}
}}
|- class="hiddenStructure{{{upc|}}}"
| class="infoboxheader" colspan="3" style="text-align:center;" | '''DVD Version'''
|- class="hiddenStructure{{{amazon|}}}"
| "white-space:nowrap; text-align:center;" colspan="3" style="text-align:center;" {{!}} '''Available at [http://astore.amazon.com/battlestarwik-20 Amazon.com]''' – [http://astore.amazon.com/battlestarwik-20/detail/{{{amazon}}} Purchase]
<!-- Following code is to show the "DVD version" cell if amazon USA is not defined. -->
{{#if:{{{amazon}}}|
{{!}}- class="hiddenStructure{{{amazon-uk|}}}"
{{!}} class="infoboxheader" colspan="3" style="text-align:center;" {{!}} '''DVD Version'''|<!--blank-->
}}
|- class="hiddenStructure{{{amazon-uk|}}}"
| "white-space:nowrap; text-align:center;" colspan="3" style="text-align:center;" {{!}} '''Available at Amazon.co.uk''' – [http://www.amazon.co.uk/gp/product/B000026V8Z?ie=UTF8&tag=battlestarwik-21&linkCode=as2&camp=1634&creative=6738&creativeASIN={{{amazon-uk}}} Purchase]
|- class="hiddenStructure{{{circuit city|}}}"
| "white-space:nowrap; text-align:center;" colspan="3" style="text-align:center;" {{!}} '''Available at CircuitCity.com''' – [http://clickserve.cc-dt.com/link/click?lid={{{circuit city}}} Purchase]
|- class="hiddenStructure{{{upc|}}}"
| "white-space:nowrap; text-align:center;" colspan="3" style="text-align:center;" {{!}} '''Available at Half.com by eBay''' - [http://www.kqzyfj.com/click-2658714-1931291?UPC={{{upc}}} Purchase]
|-
| "white-space:nowrap; text-align:center;" colspan="3" style="text-align:center;" {{!}} Get this item '''[http://rover.ebay.com/rover/1/711-1751-2978-3/1?aid=5902069&pid=2658714 on eBay]''' or '''[http://www.jdoqocy.com/click-2658714-5596526 on Half.com]'''
|- class="hiddenStructure{{{worldcat|}}}"
| "white-space:nowrap; text-align:center;" colspan="3" style="text-align:center;" {{!}} [http://www.worldcat.org/search?qt=worldcat_org_dvv&q={{{worldcat|{{{title|{{PAGENAMEE}}}}}}}}&fq=fm:dvv Find this item via WorldCat]
|- class="hiddenStructure{{{itunes|}}}"
| class="infoboxheader" colspan="3" style="text-align:center;" | '''Download Version'''
|- class="hiddenStructure{{{itunes|}}}"
| "white-space:nowrap; text-align:center;" colspan="3" style="text-align:center;" {{!}} '''Available at [[iTunes]]''' – [{{{itunes}}} Purchase]
|}
|}
</includeonly>
</includeonly>
<noinclude>
<noinclude>
= Documentation =
= Documentation =
This template is used to place an DVD info pages on a ''Battlestar Wiki'' articles. It provides lower case parameters only.
This template is used to place DVD information pages onto ''Battlestar Wiki'' articles. It provides lower case parameters only.


== Usage ==
== Usage ==
Line 54: Line 86:
| runtime=
| runtime=
| region=
| region=
| format=
| released=
| released=
| upc=
| prev=
| prev=
| next=
| next=
| amazon=
| amazon-uk=
| circuit city=
| worldcat=
| itunes=
}}
}}
</pre>
</pre>
Line 62: Line 101:
=== Required parameters ===
=== Required parameters ===
* '''title''': The title.
* '''title''': The title.
* '''prev''': Prev DVD. Please wikify.
* '''next''': Next DVD. Please wikify.


=== Optional parameters ===
=== Optional parameters ===
* '''image''': Image of jpg. Just the filename.
* '''image''': Image of jpg. Just the filename.
* '''alt''': Alt. Text to show for the image.
* '''alt''': Alt. Text to show for the image.
* '''production''': Three Letter Number (e.x. 101, 102, 103)
* '''series''': Insert three letter code. Default is '''rdm'''.
* '''series''': Insert three letter code. Default is '''rdm'''.
** <code><nowiki>tos</nowiki></code> and <code><nowiki>1980</nowiki></code>.
** <code>tos</code> and <code>1980</code>.
* '''studio''': Produced Studio. Can wikify.
* '''studio''': Produced Studio. Can wikify.
* '''discs''': Number of discs included in the set
* '''discs''': Number of discs included in the set
* '''runtime''': Number of minutes that all the DVD discs run.
* '''runtime''': Number of minutes that all the DVD discs run.
* '''region''': Insert number of region.
* '''region''': Insert number of region.
* '''format''': PAL / NTSC
* '''released''': In [[Wikipedia:ISO 8601|ISO 8601]] YYYY-MM-DD format, e.g. ''2006-02-17''. Must not be wikilinked. This can also be a [[:Category:RDM DVD Release Dates|template]].
* '''released''': In [[Wikipedia:ISO 8601|ISO 8601]] YYYY-MM-DD format, e.g. ''2006-02-17''. Must not be wikilinked. This can also be a [[:Category:RDM DVD Release Dates|template]].
* '''rating''': Insert Rating Code ('''US''')
* '''rating''': Insert Rating Code ('''US''')
** <code><nowiki>R</nowiki></code>, <code><nowiki>PG13</nowiki></code>, <code><nowiki>PG</nowiki></code>, and <code><nowiki>G</nowiki></code>.
** <code><nowiki>R</nowiki></code>, <code><nowiki>PG13</nowiki></code>, <code><nowiki>PG</nowiki></code>, and <code><nowiki>G</nowiki></code>.
* '''upc''': Universal Product Cod (Barcode)
* '''prev''': Prev DVD. Please wikify.
* '''next''': Next DVD. Please wikify.
* '''amazon:''' The unique Amazon.com number.
* '''amazon-uk:''' The unique Amazon.co.uk number. ('''NOTE:''' This ''is'' usually different from the Amazon.com US number!)
* '''circuit city:''' The unique Circuit City id (generated by ConnectCommerce).
* '''worldcat:''' the search term used by [http://www.worldcat.org WorldCat&reg;] to find the item.
* '''itunes:''' The full iTunes link.
[[Category:Infobox|DVD]]
[[Category:Infobox|DVD]]
[[Category:Templates using ParserFunctions|{{PAGENAME}}]]
</noinclude>
</noinclude>

Latest revision as of 16:25, 24 March 2010


Documentation

This template is used to place DVD information pages onto Battlestar Wiki articles. It provides lower case parameters only.

Usage

{{DVD Data
| image=
| alt= 
| title=
| series=
| studio=
| rating=
| discs=
| runtime=
| region=
| format=
| released=
| upc=
| prev=
| next=
| amazon=
| amazon-uk=
| circuit city=
| worldcat=
| itunes=
}}

Required parameters

  • title: The title.

Optional parameters

  • image: Image of jpg. Just the filename.
  • alt: Alt. Text to show for the image.
  • series: Insert three letter code. Default is rdm.
    • tos and 1980.
  • studio: Produced Studio. Can wikify.
  • discs: Number of discs included in the set
  • runtime: Number of minutes that all the DVD discs run.
  • region: Insert number of region.
  • format: PAL / NTSC
  • released: In ISO 8601 YYYY-MM-DD format, e.g. 2006-02-17. Must not be wikilinked. This can also be a template.
  • rating: Insert Rating Code (US)
    • R, PG13, PG, and G.
  • upc: Universal Product Cod (Barcode)
  • prev: Prev DVD. Please wikify.
  • next: Next DVD. Please wikify.
  • amazon: The unique Amazon.com number.
  • amazon-uk: The unique Amazon.co.uk number. (NOTE: This is usually different from the Amazon.com US number!)
  • circuit city: The unique Circuit City id (generated by ConnectCommerce).
  • worldcat: the search term used by WorldCat® to find the item.
  • itunes: The full iTunes link.