Difference between revisions of "Template:Vod"
(Created page with "<includeonly>{{#ifeq:{{lc:{{{novod|}}}}}|true|<span title="Help Liquipedia find this VOD">link=</span>|<span title="{{#if:{{{gamenum|}}}|Watch Game {{{game...") |
(No difference)
|
Latest revision as of 10:03, 24 June 2015
(view - edit) Documentation
This template produces a small image () that links to a vod.
Parameters
- | gamenum=
- Optional. If specified, this will populate the hoverover text for the VOD icon. If gamenum is between 1-5, image will have the number of the game over the icon.
- | source=
- Specify the source for the VOD. Acceptable arguments are:
- TLPD or TLPD-KR - Means vod= uses a TLPD ID that came from the TLPD BW Korean. E.G. Use source=TLPD if you're using vod=87233 from the link below:
- TLPD-INT - Means vod= uses a TLPD ID that came from the TLPD BW International. E.G. Use source=TLPD-INT if you're using vod=41528 from the link below:
- URL - Means vod= is a standard URL. E.G. Use source=URL if vod=http://www.youtube.com/bestVODever
- This is the default setting. If your source is a URL, source=URL is optional.
- | vod=
- Either the TLPD ID for the game (see above), or the full URL for the VOD.
- | novod=true
- If you set novod=true, the template will display a crossed out VOD image ().
Blank template for vods with Korean TLPD IDs
You can copy the code snippet below and fill in the parameters to customize this template. gamenum= is optional.
{{vod |gamenum= |vod= |source=tlpd }}
Blank template for vods with International TLPD IDs
You can copy the code snippet below and fill in the parameters to customize this template. gamenum= is optional.
{{vod |gamenum= |vod= |source=tlpd-int }}
Blank template for vods with SOSPA (Amateur) TLPD IDs
You can copy the code snippet below and fill in the parameters to customize this template. gamenum= is optional.
{{vod |gamenum= |vod= |source=tlpd-sospa }}
Blank template for vods that are not on TLPD
You can copy the code snippet below and fill in the parameters to customize this template. gamenum= is optional.
{{vod |gamenum= |vod= |source=url }}
Example 1
This code:
{{vod |gamenum=1 |vod=http://www.teamliquid.net |source=url }}
Example 2
This code:
{{vod |gamenum=2 |vod=41528 |source=tlpd-int }}
Produces this: File:Vod2.png
Example 3
This code:
{{vod |gamenum=2 |source=tlpd |vod=87233 }}
Produces this: File:Vod2.png