Template:YouTube: Difference between revisions

From LudoWiki
No edit summary
No edit summary
Line 3: Line 3:
{{#widget:YouTube|id={{{1}}}|width={{#switch:{{{2}}}|small=356|medium=560|big=640|large=854|100%}}}}
{{#widget:YouTube|id={{{1}}}|width={{#switch:{{{2}}}|small=356|medium=560|big=640|large=854|100%}}}}
<!-- mandatory properties for google rich snippets -->
<!-- mandatory properties for google rich snippets -->
<meta itemprop="name" content="{{#ask: [[YouTube video ID::{{{1|{{#external_value:title}}}}}]]}}"/>
<meta itemprop="name" content="{{#ask: [[Category:YouTube videos]] [[YouTube video ID::M0xKjGJl_sw]] |link=none |default={{#external_value:title}} }}"/>
<meta itemprop="uploadDate" content="{{#external_value:publishedat}}" />
<meta itemprop="uploadDate" content="{{#external_value:publishedat}}" />
<!-- non-mandatory properties for google rich snippets -->
<!-- non-mandatory properties for google rich snippets -->

Revision as of 01:21, 11 February 2023