Difference between revisions of "Template:livestream"

Ashes of Creation community empowered Wiki
Jump to navigation Jump to search
(Internationalize)
(3 intermediate revisions by the same user not shown)
Line 5: Line 5:
 
# BaseURL (default=https://youtu.be)
 
# BaseURL (default=https://youtu.be)
 
#* Use https://www.twitch.tv/videos for Twitch VODs</noinclude><includeonly>{{#tag:ref
 
#* Use https://www.twitch.tv/videos for Twitch VODs</noinclude><includeonly>{{#tag:ref
|[{{{4|https://youtu.be}}}/{{{3}}}?t={{#rmatch:{{{2}}}|pattern=:|then=m}}s Livestream, {{{1}}} ({{#rmatch:{{{2}}}|pattern=[hm]|then=:}}).]
+
|[{{{4|https://youtu.be}}}/{{{3}}}?t={{#rreplace:{{{2}}}|:|m|$0}}s {{INT:Livestream}}, {{#INTDATE:{{{1}}}}} ({{#rreplace:{{{2}}}|[hm]|:|$0}}).]
|name=livestream-{{#rmatch:{{{1}}}|pattern= |then=-}}-{{#rmatch:{{{2}}}|pattern=[hm]|then=:}}
+
|name=livestream-{{#rreplace:{{{1}}}| |-|$0}}-{{#rreplace:{{{2}}}|[hm]|:|$0}}
 
}}</includeonly>
 
}}</includeonly>

Revision as of 23:42, 29 July 2020

Parameters

  1. Date: 22 January 2018
  2. Time: 1h22m33 (note no s at the end!)
  3. ID: Abc87d9Re3
  4. BaseURL (default=https://youtu.be)