The template format used to display random videos

From semantic-mediawiki.org
(Redirected from Examples/Queries/Template to display random videos)
ExamplesExamples/QueriesThe template format used to display random videos
Templates for displaying videos
This page shows an example for the template format used to display a set of random videos.
Format
Keywords
Table of Contents

Example[edit]

{{#ask:
 [[Has video provider::Vimeo||YouTube]]
 |?Has video provider
 |?Has video id
 |?Has description
 |limit=6
 |link=none
 |order=random
 |sort=Has video id
 |named args=yes
 |format=template
 |template=AskWidgetVideoList
 |introtemplate=AskWidgetVideoListIntro
 |outrotemplate=AskWidgetVideoListOutro
 |searchlabel= ... find more videos here 
}}
Result
Error in [[Widget:{{{?Has video provider}}}|widget {{{?Has video provider}}}]]: Unable to load template 'wiki:{{{?Has video provider}}}'
{{{?Has description}}}
Error in [[Widget:{{{?Has video provider}}}|widget {{{?Has video provider}}}]]: Unable to load template 'wiki:{{{?Has video provider}}}'
{{{?Has description}}}
Error in [[Widget:{{{?Has video provider}}}|widget {{{?Has video provider}}}]]: Unable to load template 'wiki:{{{?Has video provider}}}'
{{{?Has description}}}
Error in [[Widget:{{{?Has video provider}}}|widget {{{?Has video provider}}}]]: Unable to load template 'wiki:{{{?Has video provider}}}'
{{{?Has description}}}
Error in [[Widget:{{{?Has video provider}}}|widget {{{?Has video provider}}}]]: Unable to load template 'wiki:{{{?Has video provider}}}'
{{{?Has description}}}
Error in [[Widget:{{{?Has video provider}}}|widget {{{?Has video provider}}}]]: Unable to load template 'wiki:{{{?Has video provider}}}'
{{{?Has description}}}


... find more videos here

Templates used to create the example[edit]