Difference between revisions of "Template:Balinese Word"

(Pushed from BASAbaliWiki.)
(Pushed from BASAbaliWiki.)
Line 24: Line 24:
 
## include definitions variable to set definitions as semantic properties
 
## include definitions variable to set definitions as semantic properties
 
-->{{{definitions|}}}{{#ask:
 
-->{{{definitions|}}}{{#ask:
[[definition::+]][[language::{{int:lang}}]]
+
[[definition of::{{PAGENAME}}]] [[definition::+]][[language::{{int:lang}}]]
 
  | mainlabel=-
 
  | mainlabel=-
 
  |? definition
 
  |? definition
Line 32: Line 32:
 
  | format=template
 
  | format=template
 
  | template=Balinese_Word/Definition
 
  | template=Balinese_Word/Definition
}}<!--
+
  | default= {{int:basabali-word-nodefinition}}
##English definitions query
+
}}
<en>{{#if: {{#show: {{PAGENAME}} |? English definition }} | {{#arraymap: {{#ask: [[{{PAGENAME}}]] |mainlabel=- |? English definition | format = array | manysep=:::}}|:::|x|* x| \n}} | {{int:basabali-word-nodefinition}} }}</en><!--
+
##Balinese definitions query
+
<ban>{{#if: {{#show: {{PAGENAME}} |? Balinese definition }} |  {{#arraymap: {{#ask: [[{{PAGENAME}}]] |mainlabel=- |? Balinese definition | format = array | manysep=:::}}|:::|x|* x| \n}} | {{int:basabali-word-nodefinition}} }}</ban><!--
+
##Indonesian definitions query
+
<id>{{#if: {{#show: {{PAGENAME}} |? Indonesian definition }} |  {{#arraymap: {{#ask: [[{{PAGENAME}}]] |mainlabel=- |? Indonesian definition | format = array | manysep=:::}}|:::|x|* x| \n}} | {{int:basabali-word-nodefinition}} }}</id>-->
+
 
</div>
 
</div>
 
</div>
 
</div>
Line 62: Line 57:
 
<div id="synonyms">
 
<div id="synonyms">
 
<h2>{{int:basabali-word-synonyms-heading}}</h2>{{#if: {{{synonyms|}}} | {{{synonyms|}}} | {{int:basabali-word-synonyms-none}} }}</div>
 
<h2>{{int:basabali-word-synonyms-heading}}</h2>{{#if: {{{synonyms|}}} | {{{synonyms|}}} | {{int:basabali-word-synonyms-none}} }}</div>
<div id="atonyms">
+
<div id="antonyms">
<h2>{{int:basabali-word-atonyms-heading}}</h2>{{#if: {{{atonyms|}}} | {{#arraymap:{{{atonyms|}}}|;|x|[[Atonymous with::x]]}} | {{int:basabali-word-atonyms-none}} }}</div>
+
<h2>{{int:basabali-word-antonyms-heading}}</h2>{{#if: {{{antonyms|}}} | {{{antonyms|}}} | {{int:basabali-word-antonyms-none}} }}</div>
 
<div id="related-words">
 
<div id="related-words">
 
<h2>{{int:basabali-word-related-heading}}</h2>{{#if: {{{related words|}}} | {{#arraymap:{{{related words|}}}|;|x|[[Related to word::x]]}} | {{int:basabali-word-related-none}} }}</div>
 
<h2>{{int:basabali-word-related-heading}}</h2>{{#if: {{{related words|}}} | {{#arraymap:{{{related words|}}}|;|x|[[Related to word::x]]}} | {{int:basabali-word-related-none}} }}</div>
Line 78: Line 73:
 
</div><!--/#translations-->
 
</div><!--/#translations-->
 
</div><!--/col--></div><!--/row-->
 
</div><!--/col--></div><!--/row-->
[[Category:Balinese Words]]
+
[[Category:Balinese Words]]{{#if:{{{is root|}}}|[[Category:Roots]]}}
 
{{#set:Has form={{lc: {{{media|}}} }} }}<!--
 
{{#set:Has form={{lc: {{{media|}}} }} }}<!--
 
-->{{#set:Has form={{lc: {{{kasar|}}} }} }}<!--
 
-->{{#set:Has form={{lc: {{{kasar|}}} }} }}<!--
 
-->{{#set:Has form={{lc: {{{halus|}}} }} }}<!--
 
-->{{#set:Has form={{lc: {{{halus|}}} }} }}<!--
-->{{#set:Has form={{lc: {{{root|}}} }} }}<!--
+
-->{{#set:Has form={{lc: {{{northern|}}} }} }}<!--
 
-->{{#arraymap:{{{english translations|}}}|;|x|{{#set: English equivalent={{lc:x}} }} }}<!--
 
-->{{#arraymap:{{{english translations|}}}|;|x|{{#set: English equivalent={{lc:x}} }} }}<!--
 
-->{{#arraymap:{{{indonesian translations|}}}|;|x|{{#set: Indonesian equivalent={{lc:x}} }} }}</includeonly>
 
-->{{#arraymap:{{{indonesian translations|}}}|;|x|{{#set: Indonesian equivalent={{lc:x}} }} }}</includeonly>

Revision as of 10:28, 17 September 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.