Template:YouTube data display: Difference between revisions

From LudoWiki
No edit summary
No edit summary
Line 6: Line 6:
<span class="ludohori"><span>&#x1F441; Views: [[Views::{{#external_value:viewcount}}]]</span><span>&#x2764; Likes: {{#external_value:likecount}}</span><span>&#x1F5E9; Comments: {{#external_value:commentcount}}</span><span>&#x1F4C5; Date: {{#time:d F Y|{{#external_value:publishedat}}}}</span><span>&#x23F1; Duration: {{#replace:{{#replace:{{#sub:{{#external_value:duration}}|2|-1}}|M|:}}|H|:}}</span></span>
<span class="ludohori"><span>&#x1F441; Views: [[Views::{{#external_value:viewcount}}]]</span><span>&#x2764; Likes: {{#external_value:likecount}}</span><span>&#x1F5E9; Comments: {{#external_value:commentcount}}</span><span>&#x1F4C5; Date: {{#time:d F Y|{{#external_value:publishedat}}}}</span><span>&#x23F1; Duration: {{#replace:{{#replace:{{#sub:{{#external_value:duration}}|2|-1}}|M|:}}|H|:}}</span></span>


{{#time: H:i:s|{{#external_value:duration}}}}
{{#time: H:i:s|{{#replace:{{#replace:{{#sub:{{#external_value:duration}}|2|-1}}|M|:}}|H|:}}}}


{{#set: Video title={{{Video title|{{#external_value:title}} }}} | YouTube video ID={{{YouTube video ID|}}} }}
{{#set: Video title={{{Video title|{{#external_value:title}} }}} | YouTube video ID={{{YouTube video ID|}}} }}

Revision as of 16:11, 6 February 2023

This is the "YouTubeDataDisplay" template.

Edit the page to see the template text.