Difference between revisions of "Template:Kana table"

From blackwiki
Jump to navigation Jump to search
imported>Crissov
m
imported>Crissov
m (◌)
Line 11: Line 11:
 
|----------------------------------------------------------------------
 
|----------------------------------------------------------------------
 
{{#ifexpr:{{{monograph|1}}}=1|
 
{{#ifexpr:{{{monograph|1}}}=1|
!width=8%{{!}} ''a'' !!width=8%{{!}} ''i'' !!width=8%{{!}} ''u'' !!width=8%{{!}} ''e'' !!width=8%{{!}} ''o''
+
!width=8%{{!}} ''a'' !!width=8%{{!}} ''i'' !!width=8%{{!}} ''u'' !!width=8%{{!}} ''e'' !!width=8%{{!}} ''o''
 
!width=8%{{!}} ∅
 
!width=8%{{!}} ∅
 
|}}
 
|}}
 
{{#ifexpr:{{{digraph|0}}}=1|
 
{{#ifexpr:{{{digraph|0}}}=1|
!width=8%{{!}} ''ya'' !!width=8%{{!}} ''yu'' !!width=8%{{!}} ''yo''
+
!width=8%{{!}} ''ya'' !!width=8%{{!}} ''yu'' !!width=8%{{!}} ''yo''
 
|}}
 
|}}
 
|----------------------------------------------------------------------
 
|----------------------------------------------------------------------

Revision as of 21:28, 19 December 2011

Template documentation[view] [edit] [history] [purge]

Parameters

Kana := Hira | Kata | Hrkt | ∅ if set with no value nothing is displayed, if not set both are displayed. It is handed through to {{Kana}}.
Latn := Hepburn | Kunrei | Nippon | . It is handed through to {{Kana}}.
IPA, a switch turning on the display of IPA
two, a switch turning on the second row for romanization and phonetic information. Don’t forget it!
iteration, a switch turning on the display of iteration marks in the table
Gojuon, a switch turning off monographs — not implemented yet!
Yoon, a switch turning on digraphs — not implemented yet!
Dakuten, a switch turning on diacritics — not implemented yet!

Most Hepburn character transcriptions will work as expected with {{Kana}}, but it is better to rely on identifiers derived from the “50 sound” table, e.g. tu instead of tsu.

Test

two=1|IPA=1|digraph=1|diacritics=1|gojuon=Gojūon|yoon=Yōon|dakuten=Dakuten

monograph|digraph|diacritics

Kana=Kata|two=true

Kana=Hira|two

Kana=Latn|two=0

Kana=IPA

two=true|Latn=Hepburn