Template:YT UNBOXING VIDEO: Difference between revisions

From Variscite Wiki
(Initial)
 
No edit summary
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><!--
<includeonly><!--


Usage: {{#var:YT_UNBOXING_VIDEO|<SOM>|<width>|<height>}}
Usage: {{YT_UNBOXING_VIDEO|<SOM>|<width>|<height>}}
-->{{#vardefine:SOM|{{{1}}}}}<!--
-->{{#vardefine:SOM|{{{1}}}}}<!--


Line 7: Line 7:
-->{{#vardefine:VIDEO_WIDTH|{{{2|260}}} }}<!--
-->{{#vardefine:VIDEO_WIDTH|{{{2|260}}} }}<!--
-->{{#vardefine:VIDEO_HEIGHT|{{{3|158}}} }}<!--
-->{{#vardefine:VIDEO_HEIGHT|{{{3|158}}} }}<!--
default YT_VIDEO_ID to empty
-->{{#vardefine:YT_VIDEO_ID|}}<!--
Determine Youtube ID
Determine Youtube ID
-->{{#switch:{{#var:SOM}}
-->{{#switch:{{#var:SOM}}
Line 12: Line 14:
| VAR-SOM-6UL={{#vardefine:YT_VIDEO_ID|U8bmUiy1z4Y&t=105s}}
| VAR-SOM-6UL={{#vardefine:YT_VIDEO_ID|U8bmUiy1z4Y&t=105s}}
| DART-MX8M={{#vardefine:YT_VIDEO_ID|OslLvzA1Ipg&t=2s}}
| DART-MX8M={{#vardefine:YT_VIDEO_ID|OslLvzA1Ipg&t=2s}}
| DART-MX8M-MINI={{#vardefine:YT_VIDEO_ID|2xf_dt2RPOkE}}
| DART-MX8M-MINI={{#vardefine:YT_VIDEO_ID|xf_dt2RPOkE}}
| VAR-SOM-MX8M-MINI={{#vardefine:YT_VIDEO_ID|aahVH-bHTyA}}
| VAR-SOM-MX8M-MINI={{#vardefine:YT_VIDEO_ID|aahVH-bHTyA}}
| DART-MX8M-PLUS={{#vardefine:YT_VIDEO_ID|hLtAnEffs5Y}}
| DART-MX8M-PLUS={{#vardefine:YT_VIDEO_ID|hLtAnEffs5Y}}
| VAR-SOM-MX8M-PLUS={{#vardefine:YT_VIDEO_ID|ui0FLcTYAjc}}
| VAR-SOM-MX8M-PLUS={{#vardefine:YT_VIDEO_ID|ui0FLcTYAjc}}
| VAR-SOM-MX6={{#vardefine:YT_VIDEO_ID|aCf3Py9oNXo}}
| VAR-SOM-MX6={{#vardefine:YT_VIDEO_ID|aCf3Py9oNXo}}
| VAR-SOM-SOLO/DUAL={{#vardefine:YT_VIDEO_ID|2017/12}}
| VAR-SOM-MX7={{#vardefine:YT_VIDEO_ID|HaC4dPeUktk}}
| VAR-SOM-MX7={{#vardefine:YT_VIDEO_ID| HaC4dPeUktk}}
| VAR-SOM-MX8={{#vardefine:YT_VIDEO_ID|QO8EgrEJxLU}}
| VAR-SOM-MX8={{#vardefine:YT_VIDEO_ID|QO8EgrEJxLU}}
| SPEAR-MX8={{#vardefine:YT_VIDEO_ID|xuoQWuTKiiE}}
| SPEAR-MX8={{#vardefine:YT_VIDEO_ID|xuoQWuTKiiE}}
| VAR-SOM-MX8M-NANO={{#vardefine:YT_VIDEO_ID|XeD_w_KMMhc}}
| VAR-SOM-MX8M-NANO={{#vardefine:YT_VIDEO_ID|XeD_w_KMMhc}}
| VAR-SOM-MX8X={{#vardefine:YT_VIDEO_ID|RYwQWz6MTpc}}
| VAR-SOM-MX8X={{#vardefine:YT_VIDEO_ID|RYwQWz6MTpc}}
| VAR-SOM-AM62= <!-- n/a -->
| VAR-SOM-SOLO/DUAL= <!-- n/a -->
| VAR-SOM-AM62=
| VAR-SOM-MX93=
| VAR-SOM-MX93=
| #default=
| #default=
}}<!--
}}<!--
and create the video frame:
and create the video frame, if YT_VIDEO_ID is not empty
-->{{#varexists:YT_VIDEO_ID|{{#tag:youtube|{{#var:YT_VIDEO_ID}}|width="{{#var:VIDEO_WIDTH}}"|height="{{#var:VIDEO_HEIGHT}}"}}}}
-->{{#if:{{#var:YT_VIDEO_ID}}|{{#tag:youtube|{{#var:YT_VIDEO_ID}}|width="{{#var:VIDEO_WIDTH}}"|height="{{#var:VIDEO_HEIGHT}}"}}<br>{{#var:SOM}} Unboxing video|}}
</includeonly>
</includeonly>

Latest revision as of 19:42, 25 June 2023