Difference between revisions of "Template:livestream"

Ashes of Creation community empowered Wiki
Jump to navigation Jump to search
(Parameterize service)
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={{#regex:{{{2}}}|/:/|m}}s Livestream, {{{1}}} ({{#regex:{{{2}}}|/[hm]/|:}}).]
+
|[{{{4|https://youtu.be}}}/{{{3}}}?t={{#rmatch:{{{2}}}|/:/|m}}s Livestream, {{{1}}} ({{#rmatch:{{{2}}}|/[hm]/|:}}).]
|name=livestream-{{#regex:{{{1}}}|/ /|-}}-{{#regex:{{{2}}}|/[hm]/|:}}
+
|name=livestream-{{#rmatch:{{{1}}}|/ /|-}}-{{#rmatch:{{{2}}}|/[hm]/|:}}
 
}}</includeonly>
 
}}</includeonly>

Revision as of 07:42, 23 April 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)