Template:YouTube data display: Difference between revisions
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
{{#get_web_data:url=https://youtube.googleapis.com/youtube/v3/videos?part=snippet%2CcontentDetails%2Cstatistics&id={{#sub:{{PAGENAMEE}}|8}}&key=AIzaSyC-zQp-SoOYbKh64GrNhBK5D3g7H9oX7Zs|format=json}}{{DISPLAYTITLE:{{#external_value:title}}}} | <noinclude> | ||
{| class=" | This is the "YouTubeDataDisplay" template. | ||
Edit the page to see the template text. | |||
</noinclude><includeonly>{{#get_web_data:url=https://youtube.googleapis.com/youtube/v3/videos?part=snippet%2CcontentDetails%2Cstatistics&id={{#sub:{{PAGENAMEE}}|8}}&key=AIzaSyC-zQp-SoOYbKh64GrNhBK5D3g7H9oX7Zs|format=json}}{{DISPLAYTITLE:{{#external_value:title}}}} | |||
{| class="ludotable" style="margin: auto; font-size: medium;" | |||
!colspan="3"|{{YouTube|{{#external_value:id}}|big}} | !colspan="3"|{{YouTube|{{#external_value:id}}|big}} | ||
|- | |- | ||
| Line 12: | Line 16: | ||
| ⏱Duration: {{#replace:{{#replace:{{#sub:{{#external_value:duration}}|2|-1}}|M|:}}|H|:}} | | ⏱Duration: {{#replace:{{#replace:{{#sub:{{#external_value:duration}}|2|-1}}|M|:}}|H|:}} | ||
| | | | ||
|} | |}</includeonly> | ||
Revision as of 16:51, 2 February 2023
This is the "YouTubeDataDisplay" template.
Edit the page to see the template text.