Difference between revisions of "Template:Syllable Box"

m (Forced lowercase on pinyin, IPA, and Wade-Giles)
m (Added class to title)
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<div id="ibox" class="toc">
 
<div id="ibox" class="toc">
 +
{{#Widget: Syllable page audio|syllable={{PAGENAME}} }}
 +
<h2 class="ibox-title syllable-box-title">Syllable: <strong>"{{lc: {{PAGENAME}} }}"</strong></h2>
 
<ul class="ibox-list">
 
<ul class="ibox-list">
 
<li class="ibox-composition clearfix">
 
<li class="ibox-composition clearfix">
 
<div class="ibox-label">Composition</div>
 
<div class="ibox-label">Composition</div>
 
<div class="ibox-info">
 
<div class="ibox-info">
Initial: {{#show: {{PAGENAME}} | ?initial }} <br/>
+
Initial: {{lc: {{#show: {{PAGENAME}} | ?initial}} }} <br/>
 
Final: {{#show: {{PAGENAME}} | ?final }}
 
Final: {{#show: {{PAGENAME}} | ?final }}
 
</div>
 
</div>
Line 14: Line 16:
 
<li class="ibox-difficulty clearfix">
 
<li class="ibox-difficulty clearfix">
 
<div class="ibox-label">Difficulty for English speakers</div>
 
<div class="ibox-label">Difficulty for English speakers</div>
<div class="ibox-info"> {{#show: {{PAGENAME}} | ?difficulty }} </div>
+
<div class="ibox-info"> {{Difficulty Word|{{#show: {{PAGENAME}} | ?difficulty }} }} </div>
 
</li>
 
</li>
 
<li class="ibox-canbewritten clearfix">
 
<li class="ibox-canbewritten clearfix">
 
<div class="ibox-label">Can be written</div>
 
<div class="ibox-label">Can be written</div>
 
<div class="ibox-info">
 
<div class="ibox-info">
[[Pinyin]]: {{lc: {{PAGENAME}} }} <br/>
+
{{SIF Box Can Be Written}}
[[IPA]]: [{{lc: {{#show: {{PAGENAME}} | ?ipa | link=none }} }}] <br/>
+
</div>
[[Zhuyin]]: {{#show: {{PAGENAME}} | ?zhuyin | link=none }} <br/>
+
</li>
[[Wade-Giles]]: {{lc: {{#show: {{PAGENAME}} | ?wade-giles | link=none }} }}
+
<li class=ibox-linguisticdescription clearfix">
 +
<div class="ibox-label">Linguistic description</div>
 +
<div class="ibox-info">
 +
{{Describe Initial|{{#show:{{PAGENAME}}|?initial|link=none}} }}<br/>
 +
{{Describe Final|{{#show:{{PAGENAME}}|?final|link=none}} }}
 
</div>
 
</div>
 
</li>
 
</li>
 
</ul>
 
</ul>
 
</div>
 
</div>

Latest revision as of 01:09, 12 June 2015

Syllable: "syllable box"