User:Eirikr/Janoun

An idea, possibly mistaken, for the Template:janoun page to better handle categories.

''' (, ')

== Usage ==

This template is intended for Japanese nouns where the entry includes kanji. Under the Noun subheading, simply enter the template as shown below, with the hiragana reading of the word as the first parameter and the rőmaji as the second parameter.

=== Noun === ひらがな

Don't forget the subst: prefix -- this replaces the template with the corresponding Wikicode when you hit the Save page button. This makes it easier to edit later on, and also reduces the load on the Wiki servers.

For 彼, for instance, the template will generate the following Wikicode:

彼 (かれ, kare)

The bolded term is taken from the page title; this makes this template inappropriate for hiragana entries, as we would get the following if we used this template on the かれ page:

かれ (かれ, kare)

Problem is if this is used on more than just kanji-headed entries. Eg, if we see usage on hiragana-headed entries, my idea above would wind up indexing the term under the kanji rendering, which doesn't sort correctly for Japanese -- I think it goes by the Chinese radical + stroke order convention, rather than あいうえお順. Hmm. Eiríkr Útlendi | Tala við mig 22:11, 6 April 2006 (UTC)