Difference between revisions of "Template:Vod/doc"
Line 14: | Line 14: | ||
: Either the TLPD ID for the game (see above), or the full URL for the VOD. | : Either the TLPD ID for the game (see above), or the full URL for the VOD. | ||
;| novod=true | ;| novod=true | ||
− | : If you set '''novod=true''', the template will display a crossed out VOD image ([[Image:NoVod.png]]). | + | : If you set '''novod=true''', the template will display a crossed out VOD image ([[Image:NoVod.png|link=]]). |
=== Blank template for vods with Korean TLPD IDs === | === Blank template for vods with Korean TLPD IDs === |
Latest revision as of 16:59, 7 July 2015
This template produces a small image () that links to a vod.
Contents
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