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

(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">
{{#if:{{{video|}}}|<div class="example-video">{{#tag:html5media|{{{video|}}}|height="120"|width="200"}}</div>}}<!--
+
{{#if:{{{video|}}}|<!--
 +
--><div class="example-video">{{#set:Video count={{#expr:{{#if:{{#show: {{PAGENAME}} |? Video count}}|0}}+1}} }}<!--
 +
-->{{#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 08:16, 6 February 2017

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