Template:VideoEmbed: Difference between revisions

Added Replace for older Twitch Clips
(Created page with "<includeonly>{{#ev:{{{service|}}}|{{{url|}}}|{{#if:{{{dimensions|}}}|{{{dimensions}}}|dimensions=304x171}}|{{#if:{{{alignment|}}}|{{{alignment}}}|alignment=inline}}|{{{description|}}}|{{{container|}}}|{{{urlArgs|}}}|{{{autoresize|}}}|{{{valignment|}}}|{{{poster|}}}|}}</includeonly><noinclude>Category:Formatting templates{{doc}}</noinclude>")
 
(Added Replace for older Twitch Clips)
 
Line 1: Line 1:
<includeonly>{{#ev:{{{service|}}}|{{{url|}}}|{{#if:{{{dimensions|}}}|{{{dimensions}}}|dimensions=304x171}}|{{#if:{{{alignment|}}}|{{{alignment}}}|alignment=inline}}|{{{description|}}}|{{{container|}}}|{{{urlArgs|}}}|{{{autoresize|}}}|{{{valignment|}}}|{{{poster|}}}|}}</includeonly><noinclude>[[Category:Formatting templates]]{{doc}}</noinclude>
<includeonly>{{#ev:{{{service|}}}|{{#ifeq:{{{service}}}|twitchclip|{{#replace:{{{url|}}}|https://clips.twitch.tv/|https://www.twitch.tv/piratesoftware/clip/}}|{{{url|}}}}}|{{#if:{{{dimensions|}}}|{{{dimensions}}}|dimensions=304x171}}|{{#if:{{{alignment|}}}|{{{alignment}}}|alignment=inline}}|{{{description|}}}|{{{container|}}}|{{{urlArgs|}}}|{{{autoresize|}}}|{{{valignment|}}}|{{{poster|}}}|}}</includeonly><noinclude>[[Category:Formatting templates]]{{doc}}</noinclude>