Difference between revisions of "Template:UpdateVideo"

From Space Engineers Wiki
Jump to: navigation, search
m
(Updated to allow for game updates without videos (due to 1.183.2))
Line 1: Line 1:
{{#ev:youtube|{{#switch: {{{1}}}
+
{{#switch: {{{1|1.183.2}}}<!-- Check first if update is one without a video -->
 +
| 1.183.2=<!--null-->
 +
| #default={{#ev:youtube|{{#switch: {{{1}}}<!-- If update does have video, embed it -->
 
  | 1.183.1=kVpdCh0G65U
 
  | 1.183.1=kVpdCh0G65U
 
  | 1.183.0=_XvDL5zrReQ
 
  | 1.183.0=_XvDL5zrReQ
Line 7: Line 9:
 
  | #default=AEwhACpKH3o
 
  | #default=AEwhACpKH3o
 
}}|{{{2|560}}}}}
 
}}|{{{2|560}}}}}
 +
}}

Revision as of 04:21, 1 September 2017