Template:YouTube data display: Difference between revisions

From LudoWiki
No edit summary
No edit summary
Line 3: Line 3:


Edit the page to see the template text.
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={{{YouTube video ID|}}}&key=AIzaSyC-zQp-SoOYbKh64GrNhBK5D3g7H9oX7Zs|format=json}}{{#widget:YouTube|id={{{YouTube video ID|}}}|width=1280|height=720}}
</noinclude><includeonly>{{#get_web_data:url=https://youtube.googleapis.com/youtube/v3/videos?part=snippet%2CcontentDetails%2Cstatistics&id={{{YouTube video ID|}}}&key=AIzaSyC-zQp-SoOYbKh64GrNhBK5D3g7H9oX7Zs|format=json}}{{#widget:YouTube|id={{{YouTube video ID|}}}|width=100%}}
{| class="ludotable" style="margin: auto; font-size: medium;"
{| class="ludotable" style="margin: auto; font-size: medium;"
!colspan="3"| [[Video title::{{{Video title|{{#external_value:title}}}}}]] {{#set: YouTube video ID={{{YouTube video ID|}}} }}
!colspan="3"| [[Video title::{{{Video title|{{#external_value:title}}}}}]] {{#set: YouTube video ID={{{YouTube video ID|}}} }}

Revision as of 14:10, 6 February 2023

This is the "YouTubeDataDisplay" template.

Edit the page to see the template text.