Difference between revisions of "Template:Demolink"

From QWiki
m
m (Debugging demo)
 
Line 1: Line 1:
 
<includeonly>{{#ifeq:{{lc:{{{novod|}}}}}|true|<span class="plainlinks" title="Help QWiki find this VOD">[[File:NoVod.png|link=]]</span>|<span class="plainlinks" title="{{#if:{{{gamenum|}}}|Download demo {{{gamenum}}}|{{{htext|Watch demo}}}}}">[[File:{{#if:{{{gamenum|}}}|{{#ifexpr: {{{gamenum|}}} <= 11|Demo-{{{gamenum|}}}.png|Demo-triangle.png}}|Demo-triangle.png}}|20px|link={{#if:{{{source|}}}|{{#switch: {{lc:{{{source}}}}}
 
<includeonly>{{#ifeq:{{lc:{{{novod|}}}}}|true|<span class="plainlinks" title="Help QWiki find this VOD">[[File:NoVod.png|link=]]</span>|<span class="plainlinks" title="{{#if:{{{gamenum|}}}|Download demo {{{gamenum}}}|{{{htext|Watch demo}}}}}">[[File:{{#if:{{{gamenum|}}}|{{#ifexpr: {{{gamenum|}}} <= 11|Demo-{{{gamenum|}}}.png|Demo-triangle.png}}|Demo-triangle.png}}|20px|link={{#if:{{{source|}}}|{{#switch: {{lc:{{{source}}}}}
 
|tlpd
 
|tlpd
|tlpd-kr=http://www.teamliquid.net/tlpd/sc2-korean/games/{{{vod|}}}/vod
+
|url={{{demo|}}}
|tlpd-int=http://www.teamliquid.net/tlpd/sc2-international/games/{{{vod|}}}/vod
+
}}|{{{demo|}}}}}]]</span>}}</includeonly><noinclude>{{documentation}}[[Category:Templates]]</noinclude>
|url={{{vod|}}}
 
}}|{{{vod|}}}}}]]</span>}}</includeonly><noinclude>{{documentation}}[[Category:Templates]]</noinclude>
 

Latest revision as of 14:23, 30 November 2022

Documentation (view - edit)

Cloned from Template:Vodlink.