Template:YouTube data display: Difference between revisions

From LudoWiki
No edit summary
No edit summary
Line 5: Line 5:
</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}}}}
</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;"
{| class="ludotable" style="margin: auto; font-size: medium;"
!colspan="3"|{{YouTube|{{#external_value:id}}|big}}
!colspan="3"|{{YouTube|{{#external_value:id}}|big}}  
|-
|-
| [[Video title::{{{Video title|}}}]]
| [[Video title::{{{Video title|}}}]] [[YouTube video ID::{{{YouTube video ID|}}}]]
|-
|-
| &#x1F441; Views: [[Views::{{#external_value:viewcount}}]]
| &#x1F441; Views: [[Views::{{#external_value:viewcount}}]]

Revision as of 00:55, 6 February 2023

This is the "YouTubeDataDisplay" template.

Edit the page to see the template text.