« Modèle:AskWidgetVideoList » : différence entre les versions

De Semantic MediaWiki - Sandbox

(upd)
(chg)
Ligne 1 : Ligne 1 :
<noinclude>Example of how to display videos via a widget [[Template:AskWidgetVideoListIntro]], [[Template:AskWidgetVideoListOutro]]
<noinclude>Example of how to display videos via a widget [[Template:AskWidgetVideoListIntro]], [[Template:AskWidgetVideoListOutro]]
<pre>
<pre>
<div style="padding: 2px; border: 0px solid rgb(22, 78, 175); border-radius: 5px; width: 31.5%; min-width: 220px; float: left; margin: 5px;">{{#widget:{{{Has video provider}}}
<div style="padding: 2px; border: 0px solid rgb(22, 78, 175); border-radius: 5px; width: 31.5%; min-width: 220px; float: left; margin: 5px;">{{#widget:
  |id={{{?Has video id}}}
{{{Has video provider}}}
  |id={{{Has video id}}}
  |width={{{width|220}}}
  |width={{{width|220}}}
  |height={{{height|220}}}
  |height={{{height|220}}}
}}</div></pre></noinclude><includeonly><div style="padding: 2px; border: 0px solid rgb(22, 78, 175); border-radius: 5px; width: 31.5%; min-width: 220px; float: left; margin: 5px;">{{#widget:{{{Has video provider}}}|id={{{?Has video id}}}|width={{{width|220}}}|height={{{height|220}}} }}<div style="font-size: 0.8em;">{{{?Has description}}}</div></div></includeonly>
}}
<div style="font-size: 0.8em;">
{{{Has description}}}
</div>
</div>
</pre></noinclude><includeonly><div style="padding: 2px; border: 0px solid rgb(22, 78, 175); border-radius: 5px; width: 31.5%; min-width: 220px; float: left; margin: 5px;">{{#widget:
{{{Has video provider}}}
|id={{{Has video id}}}
|width={{{width|220}}}
|height={{{height|220}}}
}}
<div style="font-size: 0.8em;">
{{{Has description}}}
</div>
</div></includeonly>

Version du 23 novembre 2019 à 19:01

Example of how to display videos via a widget Template:AskWidgetVideoListIntro, Template:AskWidgetVideoListOutro

<div style="padding: 2px; border: 0px solid rgb(22, 78, 175); border-radius: 5px; width: 31.5%; min-width: 220px; float: left; margin: 5px;">{{#widget:
 {{{Has video provider}}}
 |id={{{Has video id}}}
 |width={{{width|220}}}
 |height={{{height|220}}}
}}
<div style="font-size: 0.8em;">
{{{Has description}}}
</div>
</div>
Les cookies nous aident à fournir nos services. En utilisant nos services, vous acceptez notre utilisation de cookies.