Difference between revisions of "Template:Balinese Word"

(Pushed from BASAbaliWiki.)
(Apparently there were some problems with this change - reverting)
Line 3: Line 3:
  
 
Edit the page to see the template text.
 
Edit the page to see the template text.
</noinclude><includeonly>__NOTOC__{{#layout:word}}{{#movetoskin:hero|  
+
</noinclude><includeonly>__NOTOC__{{#layout:word}}{{#movetoskin:hero |  
 
<div class="container">
 
<div class="container">
<div class="word-header">
+
<div id="word-forms">
<div class="entry-title">
+
<div class="word-form media">
<h1 class="word">{{PAGENAME}} {{Edit link}}</h1>{{#if:{{{script image|}}}|<div class="script-image">[[File:{{{script image|}}}|150px|link=]]</div>}}
+
<div class="title">Media</div>
 +
<h1 class="word">{{#if: {{{media|}}} | [[Media form::{{{media}}}]] | [[Media form::{{PAGETITLE}}]] }}{{Edit link}}</h1><span class="aksara">{{{balinese word|}}}</span></div>
 +
<div class="word-form kasar">
 +
<div class="title">{{int:basabali-word-kasar-heading}}</div>
 +
<div class="word">{{#if:{{{kasar|}}} |[[Kasar form::{{{kasar|}}}]] | {{Missing word form|kasar}}  }}
 +
</div></div>
 +
<div class="word-form halus">
 +
<div class="title">{{int:basabali-word-halus-heading}}</div>
 +
<div class="word">{{#if:{{{halus|}}} | [[Halus form::{{{halus|}}}]] | {{Missing word form|halus}}  }}
 +
</div></div>
 +
<div class="word-form northern">
 +
<div class="title">{{int:basabali-word-northern-heading}}</div>
 +
<div class="word">{{#if:{{{northern|}}} | [[Northern form::{{{northern|}}}]] | {{Missing word form|northern}}  }}</div></div>
 
</div>
 
</div>
<div class="word-definitions"><!--  
+
<div id="word-definitions"><!--
 +
## set video count to 0
 +
## note: removed for now. we need to do this with a variable... need Extension:Variables
 +
--><!--  
 
## include definitions variable to set definitions as semantic properties
 
## include definitions variable to set definitions as semantic properties
 
-->{{{definitions|}}}{{#ask:
 
-->{{{definitions|}}}{{#ask:
Line 22: Line 37:
 
  | default= {{int:basabali-word-nodefinition}}
 
  | default= {{int:basabali-word-nodefinition}}
 
}}
 
}}
</div><!-- /.word-definitions -->
 
</div>
 
<div class="word-forms">
 
<div class="word-form media">
 
<div class="title">{{int:basabali-word-media-heading}}</div>
 
<div class="word">{{#if:{{{media|}}} |[[Media form::{{{media|}}}]] | {{Missing word form|media}}  }}
 
</div></div>
 
<div class="word-form kasar">
 
<div class="title">{{int:basabali-word-kasar-heading}}</div>
 
<div class="word">{{#if:{{{kasar|}}} |[[Kasar form::{{{kasar|}}}]] | {{Missing word form|kasar}}  }}
 
</div></div>
 
<div class="word-form halus">
 
<div class="title">{{int:basabali-word-halus-heading}}</div>
 
<div class="word">{{#if:{{{halus|}}} | [[Halus form::{{{halus|}}}]] | {{Missing word form|halus}}  }}
 
</div></div>
 
<div class="word-form northern">
 
<div class="title">{{int:basabali-word-northern-heading}}</div>
 
<div class="word">{{#if:{{{northern|}}} | [[Northern form::{{{root|}}}]] | {{Missing word form|northern}}  }}</div></div>
 
 
</div>
 
</div>
 
</div>
 
</div>
Line 56: Line 53:
 
{{#if:{{{root|}}}|
 
{{#if:{{{root|}}}|
 
<h2>{{int:basabali-word-root-heading}}</h2>
 
<h2>{{int:basabali-word-root-heading}}</h2>
[[Derived from root::{{{root|}}} ]]
+
{{#arraymap:{{{root|}}}|;|x|[[Derived from root::x]]}}
 
<h2>{{int:basabali-word-rootforms-heading|{{{root|}}} }}</h2>
 
<h2>{{int:basabali-word-rootforms-heading|{{{root|}}} }}</h2>
 
{{#ask:[[Derived from root::{{{root|}}} ]] |format=template | template=Balinese_Word/Related_word |link=none }}<div class="add-link">{{#forminput:form=Balinese Word|button text={{int:basabali-word-rootforms-addbuttontext}}|placeholder={{int:basabali-word-rootforms-placeholder}}|query string=Balinese Word[root]={{{root|}}} }}</div>
 
{{#ask:[[Derived from root::{{{root|}}} ]] |format=template | template=Balinese_Word/Related_word |link=none }}<div class="add-link">{{#forminput:form=Balinese Word|button text={{int:basabali-word-rootforms-addbuttontext}}|placeholder={{int:basabali-word-rootforms-placeholder}}|query string=Balinese Word[root]={{{root|}}} }}</div>
 
|<span class="none">{{int:basabali-word-rootforms-none}}</span>
 
|<span class="none">{{int:basabali-word-rootforms-none}}</span>
 
}}</div>
 
}}</div>
 +
<div id="origin">
 +
<h2>{{int:basabali-word-origin-heading}}</h2>{{#if: {{{origin|}}} | {{{origin|}}} | <span class="none">{{int:basabali-word-origin-none}}</span> }}
 +
</div>
 
<div id="synonyms">
 
<div id="synonyms">
 
<h2>{{int:basabali-word-synonyms-heading}}</h2>{{#if: {{{synonyms|}}} | {{{synonyms|}}} | <span class="none">{{int:basabali-word-synonyms-none}}</span> }}</div>
 
<h2>{{int:basabali-word-synonyms-heading}}</h2>{{#if: {{{synonyms|}}} | {{{synonyms|}}} | <span class="none">{{int:basabali-word-synonyms-none}}</span> }}</div>
Line 85: Line 85:
 
-->{{#set:Has form={{lc: {{{halus|}}} }} }}<!--
 
-->{{#set:Has form={{lc: {{{halus|}}} }} }}<!--
 
-->{{#set:Has form={{lc: {{{northern|}}} }} }}<!--
 
-->{{#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 04:04, 3 April 2017

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.