Difference between revisions of "Template:Balinese Word/Example"

(Pushed from BASAbaliWiki.)
(Pushed from BASAbaliWiki.)
Line 2: Line 2:
 
This template is used by the [[Template:Balinese Word|Balinese Word]] template to render the examples.
 
This template is used by the [[Template:Balinese Word|Balinese Word]] template to render the examples.
 
</noinclude><includeonly><div class="usage-example"><!--
 
</noinclude><includeonly><div class="usage-example"><!--
#VIDEO -->{{#if:{{{video|}}}|<div class="example-video">{{#tag:html5media|{{{video|}}}|height="120"|width="200"}}</div>}}<!--
+
#VIDEO -->{{#if:{{{video|}}}|<div class="example-video"><!--
 +
#set video count-->{{#set:Video count={{#expr:{{#if:{{#show: {{PAGENAME}} |? Video count}}|0}}+1}} }}<!--
 +
-->{{#tag:html5media|{{{video|}}}|height="120"|width="200"}}</div>}}<!--
 
#IMAGE-->{{#if:{{{image|}}}|<div class="example-image">[[File:{{{image|}}}|200px|link=]]</div>}}<!--
 
#IMAGE-->{{#if:{{{image|}}}|<div class="example-image">[[File:{{{image|}}}|200px|link=]]</div>}}<!--
 
--><div class="balinese">{{{ban|}}} {{#if:{{{ref|}}}|{{#tag: ref | {{{ref|}}} | group=example }} }}</div>
 
--><div class="balinese">{{{ban|}}} {{#if:{{{ref|}}}|{{#tag: ref | {{{ref|}}} | group=example }} }}</div>

Revision as of 11:16, 4 April 2017

This template is used by the Balinese Word template to render the examples.