Difference between revisions of "Template:Table maps"

From comp.tf
Jump to navigation Jump to search
(Adding vod support)
m
 
(4 intermediate revisions by 2 users not shown)
Line 5: Line 5:
 
! Score
 
! Score
 
! Log
 
! Log
 +
! {{#if:{{{vod1|}}}||style="display: none;"}} | VOD
 
|-  
 
|-  
 
| {{{map1|}}}
 
| {{{map1|}}}
 
| {{#if:{{{score1|}}}|{{{team1}}} {{{score1}}} {{{team2}}}|''TBD''}}
 
| {{#if:{{{score1|}}}|{{{team1}}} {{{score1}}} {{{team2}}}|''TBD''}}
 
| {{#if:{{{log1|}}}|{{logs.tf|{{{log1}}}}}|}}
 
| {{#if:{{{log1|}}}|{{logs.tf|{{{log1}}}}}|}}
| {{#if:{{{vod1|}}}|{{YouTube video|{{{vod1}}}}}|}}
+
| {{#if:{{{vod1|}}}||style="display: none;"}} | {{YouTube video|{{{vod1}}}}}
 
|- {{#if:{{{map2|}}}||style="display: none;"}}
 
|- {{#if:{{{map2|}}}||style="display: none;"}}
 
| {{{map2|}}}
 
| {{{map2|}}}
 
| {{#if:{{{score2|}}}|{{{team1}}} {{{score2}}} {{{team2}}}|''TBD''}}
 
| {{#if:{{{score2|}}}|{{{team1}}} {{{score2}}} {{{team2}}}|''TBD''}}
 
| {{#if:{{{log2|}}}|{{logs.tf|{{{log2}}}}}|}}
 
| {{#if:{{{log2|}}}|{{logs.tf|{{{log2}}}}}|}}
| {{#if:{{{vod2|}}}|{{YouTube video|{{{vod2}}}}}|}}
+
| {{#if:{{{vod2|}}}||style="display: none;"}} | {{YouTube video|{{{vod2}}}}}
 
|- {{#if:{{{map3|}}}||style="display: none;"}}
 
|- {{#if:{{{map3|}}}||style="display: none;"}}
 
| {{{map3|}}}
 
| {{{map3|}}}
 
| {{#if:{{{score3|}}}|{{{team1}}} {{{score3}}} {{{team2}}}|''TBD''}}
 
| {{#if:{{{score3|}}}|{{{team1}}} {{{score3}}} {{{team2}}}|''TBD''}}
 
| {{#if:{{{log3|}}}|{{logs.tf|{{{log3}}}}}|}}
 
| {{#if:{{{log3|}}}|{{logs.tf|{{{log3}}}}}|}}
| {{#if:{{{vod3|}}}|{{YouTube video|{{{vod3}}}}}|}}
+
| {{#if:{{{vod3|}}}||style="display: none;"}} | {{YouTube video|{{{vod3}}}}}
 
|}
 
|}
 
</div>
 
</div>
 
</div>
 
</div>
<noinclude>[[Category:Template]]
+
<noinclude>
 +
'''Example:'''
 +
 
 +
<code><nowiki>
 +
{{Template:Table maps
 +
 
 +
| team1=HRG
 +
 
 +
| team2=iM
 +
 
 +
| map1=[[cp_granary]] | score1=3-2 | log1=81482 | vod1=ziwUiBe_SCE
 +
 
 +
| map2=[[cp_snakewater]] | score2=0-2 | log2=81500 | vod2=0xWBXJHFOVI
 +
 
 +
| map3=[[cp_badlands]] | score3=2-1 | log3=81517 | vod3=jG_5qmpgImY}}
 +
</nowiki></code>
 +
 
 +
'''Will yeld:''' (Click the expand link to see)
 +
 
 +
{{Template:Table maps
 +
| team1=HRG
 +
| team2=iM
 +
| map1=[[cp_granary]] | score1=3-2 | log1=81482 | vod1=ziwUiBe_SCE
 +
| map2=[[cp_snakewater]] | score2=0-2 | log2=81500 | vod2=0xWBXJHFOVI
 +
| map3=[[cp_badlands]] | score3=2-1 | log3=81517 | vod3=jG_5qmpgImY
 +
}}
 +
 
 +
[[Category:Template]]

Latest revision as of 05:13, 31 January 2015


Map Score Log VOD
TBD Youtube icon.png
TBD Youtube icon.png
TBD Youtube icon.png

Example:

{{Template:Table maps | team1=HRG | team2=iM | map1=[[cp_granary]] | score1=3-2 | log1=81482 | vod1=ziwUiBe_SCE | map2=[[cp_snakewater]] | score2=0-2 | log2=81500 | vod2=0xWBXJHFOVI | map3=[[cp_badlands]] | score3=2-1 | log3=81517 | vod3=jG_5qmpgImY}}

Will yeld: (Click the expand link to see)


Map Score Log VOD
cp_granary HRG 3-2 iM Logs.tf icon.png Youtube icon.png
cp_snakewater HRG 0-2 iM Logs.tf icon.png Youtube icon.png
cp_badlands HRG 2-1 iM Logs.tf icon.png Youtube icon.png