Difference between revisions of "Template:Balinese Word"

Line 37: Line 37:
 
</div>
 
</div>
 
<div id="synonyms">
 
<div id="synonyms">
<h2>Synonyms</h2>{{#arraymap:{{{synonyms|}}}|,|x|[[Synonymous with::x]]}}</div>
+
<h2>Synonyms</h2>{{#if: {{{synonyms|}}} | {{#arraymap:{{{synonyms|}}}|,|x|[[Synonymous with::x]]}} | <en>No synonyms listed</en><id>No synonyms listed</id><ban>No synonyms listed</ban>}}</div>
 
<div id="translations">
 
<div id="translations">
 
<h2>Translations</h2>
 
<h2>Translations</h2>
 
<h3>English</h3>
 
<h3>English</h3>
<div>{{#arraymap:{{{english translations|}}}|,|x|[[English equivalent:: {{lc:x}} ]]}}</div>
+
<div>{{#if: {{{english translations|}}} | {{#arraymap:{{{english translations|}}}|,|x|[[English equivalent:: {{lc:x}} ]]}} | <en>No translations listed</en><id>No translations listed</id><ban>No translations listed</ban>}}</div>
 
<h3>Indonesian</h3>
 
<h3>Indonesian</h3>
<div>{{#arraymap:{{{indonesian translations|}}}|,|x|[[Indonesian equivalent:: {{lc:x}} ]]}}</div>
+
<div>{{#if: {{{english translations|}}} | {{#arraymap:{{{indonesian translations|}}}|,|x|[[Indonesian equivalent:: {{lc:x}} ]]}} | <en>No translations listed</en><id>No translations listed</id><ban>No translations listed</ban>}}</div>
 
</div>
 
</div>
 
</div><!--/col--></div><!--/row-->
 
</div><!--/col--></div><!--/row-->

Revision as of 15:23, 12 February 2014

This is the "Balinese Word" template. It is used by the Balinese Word form to create new Balinese word definition pages.

Edit the page to see the template text.