Template:YouTube data display: Difference between revisions

From LudoWiki
No edit summary
No edit summary
Line 4: Line 4:
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=100%}}
</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%}}
== [[Video title::{{{Video title|{{#external_value:title}}}}}]] ==
{| 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"| {{#set: YouTube video ID={{{YouTube video ID|}}} }}
|-
|-
| &#x1F441; Views: [[Views::{{#external_value:viewcount}}]]
| &#x1F441; Views: [[Views::{{#external_value:viewcount}}]]

Revision as of 14:42, 6 February 2023

This is the "YouTubeDataDisplay" template.

Edit the page to see the template text.