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

(Pushed from BASAbaliWiki.)
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
 
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"><!--
{{#if:{{{video|}}}|<!--
+
#VIDEO -->{{#if:{{{video|}}}|<div class="example-video">{{#tag:html5media|{{{video|}}}|height="120"|width="200"}}</div>}}<!--
--><div class="example-video">{{#set:Video count={{#expr:{{#if:{{#show: {{PAGENAME}} |? Video count}}|0}}+1}} }}<!--
+
#IMAGE-->{{#if:{{{image|}}}|<div class="example-image">[[File:{{{image|}}}|200px|link=]]</div>}}<!--
-->{{#tag:html5media|{{{video|}}}|height="120"|width="200"}}</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>
 
<div class="translation"><en>{{#if:{{{en|}}}|{{{en|}}}|{{int:basabali-word-examples-translationmissing}} }}</en><id>{{#if:{{{id|}}}|{{{id|}}}|{{int:basabali-word-examples-translationmissing}} }}</id></div><!--
 
<div class="translation"><en>{{#if:{{{en|}}}|{{{en|}}}|{{int:basabali-word-examples-translationmissing}} }}</en><id>{{#if:{{{id|}}}|{{{id|}}}|{{int:basabali-word-examples-translationmissing}} }}</id></div><!--
 
-->{{#if:{{{credit|}}}|<div class="credit">{{int: basabali-word-examples-credit | {{{credit}}} }}</div>}}
 
-->{{#if:{{{credit|}}}|<div class="credit">{{int: basabali-word-examples-credit | {{{credit}}} }}</div>}}
 
<hr></div></includeonly>
 
<hr></div></includeonly>

Revision as of 11:50, 25 March 2017

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