Template:Master screencap: Difference between revisions
m (→Hard Coded) |
mNo edit summary |
||
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> | <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" | <includeonly>{| align="center" class="messagebox" cellspacing="2" | ||
|- style="text-align: center;" colspan="2" | |||
! class="infoboxheader" colspan="2" | {{type link| type={{{type}}} | image=Y }} {{type link| type={{{type}}} | episode={{{cepisode}}} | text=Y }} | |||
|- style="font-size: 90%" | |- style="font-size: 90%" 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]]}}. | | 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%" colspan="2" | ||
| colspan="2" | {{copyright link| series={{{series}}}}} | |||
|- style="font-size: 90%" colspan="2" | |||
| colspan="2" | {{timestamp link| timestamp={{{timestamp|}}} }} | |||
| | |- style="font-size: 90%" colspan="2" | ||
{{ | | colspan="2" | {{res link| series={{{series}}} | type={{{type}}} | scaled={{{scaled}}} | cropped={{{cropped}}} }} | ||
| | |- colspan="2" | ||
| colspan="2" | {{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}}}}}}} | |||
{{res link| series={{{series}}} | type={{{type}}} | scaled={{{scaled}}} | cropped={{{cropped}}} }} | }} | ||
|- | |||
| 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" | <!-- Airdate/Broadcast Date Information --> {{Episode Airtime Data| title={{{cepisode|{{{episode|}}}}}} }} | |||
| width="50%" valign="top" | <!-- Release Date Infomation --> {{Episode Release Data| title={{{cepisode|{{{episode|}}}}}} }} | |||
{{lang link | |||
}} | |||
<!-- | |||
| <!-- | |||
}} | |||
|}</includeonly><noinclude> | |}</includeonly><noinclude> | ||
= Documentation = | = Documentation = |
Revision as of 08:42, 28 January 2008
- Note: A new version is currently been tested. If you see any template problems, please contact Shane.
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.
- The required and optional parameters of this templates
- How to use it inside another template
Master Usage
{{Master screencap | type= | episode= | cepisode= | season= | series= | timestamp= | scaled= | cropped= | ignorentscb= | ignorepalb= | ignorentscdvd= | ignorepaldvd= | ignorehddvd= | ignorebluraydvd= | ignorehdtvb= | 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
ntscdvd
,ntscb
,paldvd
,palb
,hdtv
,hddvd
,bluray
, andunknown
.
- Current selections are
- series: These series that this image tag belongs too.
- Current selections are
rdm
,tos
, and1980
- Current selections are
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.
Optionial
- ignorentscb:
- ignorepalb:
- ignorentscdvd:
- ignorepaldvd:
- es:
- de:
- fr:
- tr:
- zh:
RDM and TOS Related Tags Only
- ignorehddvd:
- ignorebluraydvd:
- ignorehdtvb:
- ces:
- cde:
- cfr:
- ctr:
- czh:
Template Example
The template demonstrated here is a simple one − {{1980 NTSC broadcast screencap}}
{{Master screencap | type= ntcsb | series= 1980 | 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.
Live Examples
These are templates that have been outfitted with this method.
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 DVD - Episode "33"
- NTSC DVD - Episode Unknown
- PAL DVD - Episode "The Hand of God"