Using templates to display random videos

From semantic-mediawiki.org
< Demo:Examples‎ | Queries(Redirected from Using templates to display random videos)
ExamplesExamples/QueriesUsing templates 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]

Syntax
{{#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=plainlist
 |template=AskWidgetVideoList
 |introtemplate=AskWidgetVideoListIntro
 |outrotemplate=AskWidgetVideoListOutro
 |searchlabel= ... find more videos here 
}}
Result
Semantic MediaWiki powered by Blazegraph
Semantic MediaWiki for Exports (import vocabularies)
Update of Semantic MediaWiki using Composer
SMWCon Fall 2012 - Architectural knowledge management with SMW
Instalación de Semantic MediaWiki usando Composer
Muestra como usar la extensión Semantic Interlanguage Links (en ingles)


... find more videos here

Templates used to create the example[edit]