Difference between revisions of "Template:Vod"

From QWiki
(Created page with "<includeonly>{{#ifeq:{{lc:{{{novod|}}}}}|true|<span title="Help Liquipedia find this VOD">link=</span>|<span title="{{#if:{{{gamenum|}}}|Watch Game {{{gamen...")
 
(No difference)

Latest revision as of 14:05, 9 January 2017

Documentation (view - edit)

This template produces a small image (Vod.png) 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:
http://www.teamliquid.net/tlpd/korean/games/87233/vod
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:
http://www.teamliquid.net/tlpd/international/games/41528_Mondragon_vs_Tyler/vod
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 (File:NoVod.png).

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
}}

Produces this:Vod1.png

Example 2

This code:

{{vod
|gamenum=2
|vod=41528
|source=tlpd-int
}}

Produces this: Vod2.png

Example 3

This code:

{{vod
|gamenum=2
|source=tlpd
|vod=87233
}}

Produces this: Vod2.png


Adapted from Liquipedia