Difference between revisions of "Template:Balinese Word/Example"
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=" | + | </noinclude><includeonly><!-- |
− | + | --><div class="bali-item-group"><!-- | |
− | + | ----><div class="bali-item-group__list"><!-- | |
− | --> | + | ------>{{#if:{{{video|}}}|<div class="bali-item"><!-- |
− | + | --------><div class="example-video">{{RenderVideo|{{{video|}}}}}</div><!-- | |
− | -- | + | ------></div>}}<!-- /item |
− | + | ------>{{#if:{{{image|}}}|<div class="bali-item"><!-- | |
− | -->{{#if:{{{ | + | --------><div class="bali-item__img">[[File:{{{image|}}}|250px|link=]]<p><en>{{#if:{{{en|}}}|{{{en|}}}|{{int:basabali-word-examples-translationmissing}}[[Missing en example::yes| ]] }}</en><id>{{#if:{{{id|}}}|{{{id|}}}|{{int:basabali-word-examples-translationmissing}} }}</id></p></div><!-- |
− | -->< | + | ------></div>}}<!-- /item |
− | --><!--{{#if:{{{ | + | ------><div class="bali-item"><!-- |
− | < | + | --------><div class="bali-item__left">Balinese</div><!-- |
+ | --------><div class="bali-item__right">{{#if:{{{ban|}}}|{{{ban}}}| - }}</div><!-- | ||
+ | ------></div><!-- / item ban | ||
+ | ------><div class="bali-item"><!-- | ||
+ | --------><div class="bali-item__left">English</div><!-- | ||
+ | --------><div class="bali-item__right">{{#if:{{{en|}}}|{{{en}}}| - }}</div><!-- | ||
+ | ------></div><!-- / item en | ||
+ | ------><div class="bali-item"><!-- | ||
+ | --------><div class="bali-item__left">Indonesian</div><!-- | ||
+ | --------><div class="bali-item__right">{{#if:{{{id|}}}|{{{id}}}| - }}</div><!-- | ||
+ | ------></div><!-- / item id | ||
+ | ----></div><!-- / list | ||
+ | --></div><!-- / group | ||
+ | --><!-- | ||
+ | -->{{#set:Video count={{#expr:{{#if:{{#show: {{PAGENAME}} |? Video count}}|0}}+1}} }}<!-- | ||
-->[[Word example text id::{{{id|}}}| ]]<!-- | -->[[Word example text id::{{{id|}}}| ]]<!-- | ||
-->[[Word example text ban::{{{ban|}}}| ]]<!-- | -->[[Word example text ban::{{{ban|}}}| ]]<!-- | ||
-->[[Word example text en::{{{en|}}}| ]]<!-- | -->[[Word example text en::{{{en|}}}| ]]<!-- | ||
− | |||
-->{{#subobject: | -->{{#subobject: | ||
|Word example word={{PAGENAME}} | |Word example word={{PAGENAME}} |
Latest revision as of 12:55, 30 April 2024
This template is used by the Balinese Word template to render the examples.