Template:Master screencap: Difference between revisions

From Battlestar Wiki Media
m (fixing spelling for "Optional")
 
(45 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<noinclude>:'''Note''': A new version is currently been tested. If you see any template problems, please contact [[:en:User talk:Shane|Shane]].</noinclude>
<includeonly>{| align="center" class="messagebox" cellspacing="1"
<includeonly>{| align="center" class="messagebox"
|- style="text-align: center;"
| rowspan="{{rowcount link| default= | scaled={{{scaled}}} | cropped={{{cropped}}} | link={{{de|}}}{{{es|}}}{{{fr|}}}{{{tr|}}}{{{zh|}}} }}" style="padding-right: 4px; padding-left: 4px; vertical-align: top;" | {{type link| type={{{type}}} | image=Y }}
! class="infoboxheader" colspan="2" | {{type link| type={{{type}}} | image=Y }} {{type link| type={{{type}}} | episode={{{cepisode}}} | text=Y }}
| {{type link| type={{{type}}} | episode={{{cepisode}}} | text=Y }}
|- style="font-size: 90%"
|- style="font-size: 90%"
| The {{series link| series={{{series}}}}}, {{season link| series={{{series|}}} | season={{{season|}}}}} {{#if:{{{episode|}}}|episode {{episode link|main={{{episode}}}|cepisode={{{cepisode|}}}|de={{{de|}}}|es={{{es|}}}|fr={{{fr|}}}|tr={{{tr|}}}|zh={{{zh|}}}}}|from an unknown episode. <br/>Please help us identify the episode by updating this tag or discussing it on the [[Image talk:{{PAGENAME}}|talk page]]}}.
| colspan="2" | The {{series link| series={{{series}}}}}, {{season link| series={{{series|}}} | season={{{season|}}}}} {{#if:{{{episode|}}}|episode {{episode link|main={{{episode}}}|cepisode={{{cepisode|}}}|de={{{de|}}}|es={{{es|}}}|fr={{{fr|}}}|tr={{{tr|}}}|zh={{{zh|}}}}}|from an unknown episode. <br/>Please help us identify the episode by updating this tag or discussing it on the [[Image talk:{{PAGENAME}}|talk page]]}}.
{{copyright link| series={{{series}}}}}
|- style="font-size: 90%"
{{#if:{{{episode|}}}
| colspan="2" | {{copyright link| series={{{series}}} }}
| <!-- Timestamp Data -->
|- style="font-size: 90%"
{{#if:{{{timestamp|}}}
| colspan="2" | {{timestamp link| timestamp={{{timestamp}}} }}
{{#if:{{{episode}}}
| {{!}}- style="font-size: 90%"
| {{!}}- style="font-size: 90%"
{{!}} The timestamp of this capture is {{{timestamp}}}
{{!}} colspan="2" {{!}} {{res link| series={{{series}}} | type={{{type}}} | scaled={{{scaled}}} | cropped={{{cropped}}} }}
{{!}}- style="font-size: 90%"
{{!}} colspan="2" {{!}} {{aspect link| series={{{series}}} | type={{{type}}} | scaled={{{scaled}}} | cropped={{{cropped}}} }}
{{!}}- style="font-size: 90%"{{#ifeq:{{#expr:{{#expr:{{#if:{{{scaled|}}}|1|0}}+{{#if:{{{cropped|}}}|1|0}}}} >= 1}}|1|{{void}}| class="hiddenStructure"}}
{{!}} colspan="2" {{!}} {{cropped and aspect link| series={{{series}}} | type={{{type}}} | scaled={{{scaled}}} | cropped={{{cropped}}} }}
| {{void}}
}}
{{#ifeq:{{{type}}}|web
| {{void}}
| {{#if:{{{episode}}}
| {{!}}- style="font-size: 90%"
| {{!}}- style="font-size: 90%"
{{!}} The timestamp for this image is unknown. Please supply the time index for this capture. {{#ifeq:{{NAMESPACE}}|Image|{{#if:{{{timestamp|}}}|{{void}}|[[Category:Screen captures requiring timestamp]]}}}}
{{!}} colspan="2" {{!}} <!-- Future Place of Language Links -->
{{!}}-
{{!}} class="infoboxheader" align="center" colspan="2" {{!}} '''Date Information on {{episode link|main={{{episode}}}|cepisode={{{cepisode|}}}|de={{{de|}}}|es={{{es|}}}|fr={{{fr|}}}|tr={{{tr|}}}|zh={{{zh|}}}}}'''
{{!}}-
{{!}} width="50%" valign="top" {{!}} {{Episode Airtime Data| title={{{episode|{{{cepisode|}}}}}} }}
{{!}} width="50%" valign="top" {{!}} {{Episode Release Data| title={{{episode|{{{cepisode|}}}}}} }}
| {{void}}
}}
}}
<!-- Timestamp Data -->
<!-- Resolution Data -->
{{res link| series={{{series}}} | type={{{type}}} | scaled={{{scaled}}} | cropped={{{cropped}}} }}
<!-- Resolution Data -->
<!-- Broadcast Data -->
{{User:Shane/Testing Area 2| season={{{season}}} | episode={{{episode}}} | ignoreitunes={{{ignoreitunes|}}} | ignorentscb={{{ignorentscb|}}} | ignorepalb={{{ignorepalb|}}} | ignorentscdvd={{{ignorentscdvd|}}} | ignorepaldvd={{{ignorepaldvd|}}} | ignorehdtvb={{{ignorehdtvb|}}} | ignorehddvd={{{ignorehddvd|}}} | ignorebluraydvd={{{ignorebluraydvd|}}} | type={{{type}}} | dvdtype={{{dvdtype|}}} }}
<!-- Broadcast Data -->
<!-- Lang Links -->
{{lang link
  | en= {{{episode|}}}
  | es= {{{es|}}}
  | de= {{{de|}}}
  | fr= {{{fr|}}}
  | tr= {{{tr|}}}
  | zh= {{{zh|}}}
  | cen= {{#if:{{{cepisode|}}}|{{{cepisode}}}|{{{episode}}}}}
  | ces= {{#if:{{{ces|}}}|<!--THEN-->{{{ces}}}|<!--ELSE-->{{#if:{{{es|}}}|<!--THEN-->{{{es}}}|<!--ELSE-->{{{episode}}}}}}}
  | cde= {{#if:{{{cde|}}}|<!--THEN-->{{{cde}}}|<!--ELSE-->{{#if:{{{de|}}}|<!--THEN-->{{{de}}}|<!--ELSE-->{{{episode}}}}}}}
  | cfr= {{#if:{{{cfr|}}}|<!--THEN-->{{{cfr}}}|<!--ELSE-->{{#if:{{{fr|}}}|<!--THEN-->{{{fr}}}|<!--ELSE-->{{{episode}}}}}}}
  | ctr= {{#if:{{{ctr|}}}|<!--THEN-->{{{ctr}}}|<!--ELSE-->{{#if:{{{tr|}}}|<!--THEN-->{{{tr}}}|<!--ELSE-->{{{episode}}}}}}}
  | czh= {{#if:{{{czh|}}}|<!--THEN-->{{{czh}}}|<!--ELSE-->{{#if:{{{zh|}}}|<!--THEN-->{{{zh}}}|<!--ELSE-->{{{episode}}}}}}}
}}
}}
<!-- Lang Links -->
|}
| <!-- Episode is Unknown -->
{{#if:{{{cepisode|}}}|[[Category:{{{cepisode}}}]]|[[Category:{{{episode|Not attributed to a specific episode}}}]]}}
}}
[[en:{{FULLPAGENAME}}]]
|}</includeonly><noinclude>
[[de:{{FULLPAGENAME}}]]
[[fr:{{FULLPAGENAME}}]]
</includeonly><noinclude>
= Documentation =
= Documentation =
This template is designed to efficiently help create templates. This template usually is not independent, but dependent on being placed inside another template. Though this template can be used on an image, it is highly recommended that you use the sub templates. However, this template does not provide categorization of images. That is still done on the image tags. ([[#Live Examples|View Examples]]) This template does not exclude you from documenting the templates as well. Each template should be well documented. This documentation will show you these things.  
This template is designed to efficiently help create templates. This template usually is not independent, but dependent on being placed inside another template. Though this template can be used on an image, it is highly recommended that you use the sub templates. However, this template does not provide categorization of images. That is still done on the image tags. ([[#Live Examples|View Examples]]) This template does not exclude you from documenting the templates as well. Each template should be well documented. This documentation will show you these things.  
Line 56: Line 52:
  | scaled=
  | scaled=
  | cropped=
  | cropped=
| ignorentscb=
| ignorepalb=
| ignorentscdvd=
| ignorepaldvd=
| ignorehddvd=
| ignorebluraydvd=
| ignorehdtvb=
  | es=
  | es=
  | de=
  | de=
Line 79: Line 68:
=== Hard Coded ===
=== Hard Coded ===
* '''type''': This is the type parameter used for the certain type of image clip.
* '''type''': This is the type parameter used for the certain type of image clip.
** Current selections are <code>ntscdvd</code>, <code>ntscb</code>, <code>paldvd</code>, <code>palb</code>, <code>hdtv</code>, <code>hddvd</code>, <code>bluray</code>, and <code>unknown</code>.
** Current selections are <code>itunes</code>, <code>ntscdvd</code>, <code>ntscb</code>, <code>paldvd</code>, <code>palb</code>, <code>hdtv</code>, <code>hddvd</code>, <code>bluray</code>, and <code>unknown</code>.
* '''series''': These series that this image tag belongs too.
* '''series''': These series that this image tag belongs too.
** Current selections are <code>rdm</code>, <code>tos</code>, and <code>1980</code>
** Current selections are <code>rdm</code>, <code>tos</code>, and <code>1980</code>
Line 91: Line 80:
* '''cropped''': This should always be there.
* '''cropped''': This should always be there.


== Optionial ==
== Optional ==
* '''ignorentscb''':
* '''es''': Link to the episode on the ''Spanish Wiki''
* '''ignorepalb''':
* '''de''': Link to the episode on the ''German Wiki''
* '''ignorentscdvd''':
* '''fr''': Link to the episode on the ''French Wiki''
* '''ignorepaldvd''':
* '''tr''': Link to the episode on the ''Trukish Wiki''
* '''es''':
* '''zh''': Link to the episode on the ''Chinese Wiki''
* '''de''':
* '''fr''':
* '''tr''':
* '''zh''':
=== RDM and TOS Related Tags Only ===
=== RDM and TOS Related Tags Only ===
* '''ignorehddvd''':
* '''ces''': Link to the episode disambiguation name. Note: '''es''' still needs to be the episode name without disambiguation.
* '''ignorebluraydvd''':
* '''cde''': Link to the episode disambiguation name. Note: '''de''' still needs to be the episode name without disambiguation.
* '''ignorehdtvb''':
* '''cfr''': Link to the episode disambiguation name. Note: '''fr''' still needs to be the episode name without disambiguation.
* '''ces''':
* '''ctr''': Link to the episode disambiguation name. Note: '''tr''' still needs to be the episode name without disambiguation.
* '''cde''':
* '''czh''': Link to the episode disambiguation name. Note: '''zh''' still needs to be the episode name without disambiguation.
* '''cfr''':
* '''ctr''':
* '''czh''':


= Template Example =
= Template Example =
Line 118: Line 100:
  | type= ntcsb
  | type= ntcsb
  | series= 1980
  | series= 1980
| season= 1
  | episode= {{{episode}}}
  | episode= {{{episode}}}
  | timestamp= {{{timestamp|}}}
  | timestamp= {{{timestamp|}}}
Line 131: Line 114:
</pre>
</pre>
According to the documentation for  {{tl|1980 NTSC broadcast screencap}} — these are the basic and optional parameters needed to display the correct information.
According to the documentation for  {{tl|1980 NTSC broadcast screencap}} — these are the basic and optional parameters needed to display the correct information.
= Live Examples =
These are templates that have been outfitted with this method.
* {{tl|1980 NTSC broadcast screencap}}


= Example Output =
= Example Output =
These are live examples of the "Live Templates". Not all of them are listed here − only a few.
These are live examples of the "Live Templates". Not all of them are listed here − only a few.


;1980 NTSC - Episode '''Galactica Discovers Earth, Part I'''
;1980 NTSC - Episode "''Galactica Discovers Earth, Part I''"
{{1980 NTSC broadcast screencap
{{1980 NTSC broadcast screencap
  | episode= Galactica Discovers Earth, Part I
  | episode= Galactica Discovers Earth, Part I

Latest revision as of 01:08, 12 August 2019

Documentation

This template is designed to efficiently help create templates. This template usually is not independent, but dependent on being placed inside another template. Though this template can be used on an image, it is highly recommended that you use the sub templates. However, this template does not provide categorization of images. That is still done on the image tags. (View Examples) This template does not exclude you from documenting the templates as well. Each template should be well documented. This documentation will show you these things.

  1. The required and optional parameters of this templates
  2. How to use it inside another template

Master Usage

{{Master screencap
 | type=
 | episode=
 | cepisode=
 | season=
 | series=
 | timestamp= 
 | scaled=
 | cropped=
 | es=
 | de=
 | fr=
 | tr=
 | zh=
 | ces=
 | cde=
 | cfr=
 | ctr=
 | czh=
}}

Parameters

Required

Hard Coded

  • type: This is the type parameter used for the certain type of image clip.
    • Current selections are itunes, ntscdvd, ntscb, paldvd, palb, hdtv, hddvd, bluray, and unknown.
  • series: These series that this image tag belongs too.
    • Current selections are rdm, tos, and 1980

Inputable

  • episode: This should always be treated as the English Wiki episode article name.
  • cepisode: This should always be treated as the English Wiki disambiguation episode article name if disambiguation exists
  • season: This should be the season of the image.
  • timestamp: This should be the time stamp is ISO 8601 HH:MM:SS
  • scaled: This should always be there.
  • cropped: This should always be there.

Optional

  • es: Link to the episode on the Spanish Wiki
  • de: Link to the episode on the German Wiki
  • fr: Link to the episode on the French Wiki
  • tr: Link to the episode on the Trukish Wiki
  • zh: Link to the episode on the Chinese Wiki

RDM and TOS Related Tags Only

  • ces: Link to the episode disambiguation name. Note: es still needs to be the episode name without disambiguation.
  • cde: Link to the episode disambiguation name. Note: de still needs to be the episode name without disambiguation.
  • cfr: Link to the episode disambiguation name. Note: fr still needs to be the episode name without disambiguation.
  • ctr: Link to the episode disambiguation name. Note: tr still needs to be the episode name without disambiguation.
  • czh: Link to the episode disambiguation name. Note: zh still needs to be the episode name without disambiguation.

Template Example

The template demonstrated here is a simple one − {{1980 NTSC broadcast screencap}}

{{Master screencap
 | type= ntcsb
 | series= 1980
 | season= 1
 | episode= {{{episode}}}
 | timestamp= {{{timestamp|}}}
 | aspect= {{{aspect|}}}
 | scaled= {{{scaled|}}}
 | cropped= {{{cropped|}}}
 | de= {{{de|}}}
 | es= {{{es|}}}
 | fr= {{{fr|}}}
 | tr= {{{tr|}}}
 | zh= {{{zh|}}}
}}

According to the documentation for {{1980 NTSC broadcast screencap}} — these are the basic and optional parameters needed to display the correct information.

Example Output

These are live examples of the "Live Templates". Not all of them are listed here − only a few.

1980 NTSC - Episode "Galactica Discovers Earth, Part I"

NTSC Broadcast NTSC broadcast screen capture

The television series Galactica 1980 (fr), Season 1 (en) episode "Galactica Discovers Earth, Part I".
This capture is copyright by Universal Studios. Use of it here is believed to be fair use.
The timestamp for this image is unknown. Please supply the time index for this capture.
NTSC broadcasts are in fullscreen.
The vertical dimension of this image must be scaled to 540 pixels for aspect ratio purposes.
This image has been unaltered from its original dimensions.
Date Information on "Galactica Discovers Earth, Part I"


NTSC DVD - Episode "33"


NTSC DVD NTSC DVD screen capture

The re-imagined Battlestar Galactica (de) (en) (fr), Season 1 (en) (de) (zh) episode "33".
This capture is copyright by Universal Studios. Use of it here is believed to be fair use.
The timestamp for this image is unknown. Please supply the time index for this capture.
NTSC DVDs are in anamorphic widescreen, with a native resolution of 720 by 480 pixels.
The horizontal dimension of this image must be scaled to 853 pixels for aspect ratio purposes.
This image has been unaltered from its original dimensions.
Date Information on "33"


NTSC DVD - Episode Unknown


NTSC DVD NTSC DVD screen capture

The re-imagined Battlestar Galactica (de) (en) (fr), Season "Unknown" from an unknown episode.
Please help us identify the episode by updating this tag or discussing it on the talk page.
This capture is copyright by Universal Studios. Use of it here is believed to be fair use.
The timestamp for this image is unknown. Please supply the time index for this capture.


[[Category:]]


PAL DVD - Episode "The Hand of God"

PAL DVD PAL DVD screen capture

The re-imagined Battlestar Galactica (de) (en) (fr), Season 1 (en) (de) (zh) episode "The Hand of God".
This capture is copyright by Universal Studios. Use of it here is believed to be fair use.
The timestamp for this image is unknown. Please supply the time index for this capture.
PAL DVDs are in anamorphic widescreen, with a native resolution of 720 by 576 pixels.
The horizontal dimension of this image must be scaled to 1024 pixels for aspect ratio purposes.
This image has been unaltered from its original dimensions.
Date Information on "The Hand of God"