Template:Vodlink

From QWiki
Revision as of 16:46, 24 November 2017 by Meag (talk | contribs) (Created page with "<includeonly>{{#ifeq:{{lc:{{{novod|}}}}}|true|<span class="plainlinks" title="Help Liquipedia find this VOD">link=</span>|<span class="plainlinks" title="{{...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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-9, 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 SC2 Korean. E.G. Use source=TLPD if you're using vod=85720 from the link below:
http://www.teamliquid.net/tlpd/sc2-korean/games/85720/vod
TLPD-INT - Means vod= uses a TLPD ID that came from the TLPD SC2 International. E.G. Use source=TLPD-INT if you're using vod=86361 from the link below:
http://www.teamliquid.net/tlpd/sc2-international/games/86361/vod
URL - Means vod= is a standard URL. E.G. Use source=URL if vod=http://www.youtube.com/bestVODever
| vod=
Either the TLPD ID for the game (see above), or the full URL for the VOD.

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.

{{vodlink
|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.

{{vodlink
|gamenum=
|vod=
|source=tlpd-int
}}

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.

{{vodlink
|gamenum=
|vod=
|source=url
}}

Example 1

This code:

{{vodlink
|gamenum=1
|vod=http://www.teamliquid.net
|source=url
}}

Produces this:Vod1.png

Example 2

This code:

{{vodlink
|gamenum=2
|vod=86361
|source=tlpd-int
}}

Produces this: Vod2.png

Example 3

This code:

{{vodlink
|gamenum=2
|source=tlpd
|vod=86361
}}

Produces this: Vod2.png


Adapted from Liquipedia