Monday, October 28, 2013

Wiktionary - Recent changes [en]: Template:ja-r/documentation

Wiktionary - Recent changes [en]
Track the most recent changes to the wiki in this feed. // via fulltextrssfeed.com 
Learn Adobe Illustrator CS6 Master Techniques from an Adobe Guru!

With over 25 years of experience teaching, Robert Farrell has been a trusted instructor for individuals and companies who want to improve their Adobe skills.
From our sponsors
Template:ja-r/documentation
Oct 28th 2013, 07:10, by Haplology

Line 11: Line 11:
 

# '''gloss''' (''Optional'') same as the gloss field of l.

 

# '''gloss''' (''Optional'') same as the gloss field of l.

 

# '''caps''' (''Optional'') set to any value to capitalize the first letters of each word (for proper nouns)

 

# '''caps''' (''Optional'') set to any value to capitalize the first letters of each word (for proper nouns)

  +

# '''linkto''' (''Optional'') Make the link point to this. Useful for -na adjectives or suru verbs where you want the link to point to the lemma but be displayed as the form plus ''suru'' or ''-na'', e.g. {{ja-r|入手する|にゅうしゅ する|linkto=入手}} which displays 入手する with ruby but points to 入手.

   
 

For example, <nowiki>{{ja-r|猿も木から落ちる|さる も き から おちる}}</nowiki> produces {{ja-r|猿も木から落ちる|さる も き から おちる}}.

 

For example, <nowiki>{{ja-r|猿も木から落ちる|さる も き から おちる}}</nowiki> produces {{ja-r|猿も木から落ちる|さる も き から おちる}}.


Edit-copy green.svg Documentation for Template:ja-r. [edit]
This page contains usage information, categories, interwiki links and other content describing the template.

This is a wrapper for {{l}} that does two things:

  1. automatic romanization (which is italicized here and put in l's tr parameter)
  2. placing of furigana aka ruby over the linked term (the term with furigana is put in l's third unnamed parameter)

The "r" stands for "ruby."

Parameters:

  1. 1: the term itself that we want to link to (which is put directly into l's second unnamed parameter)
  2. 2: (if the first term contains non-kana characters) the term written entirely in kana with regular ASCII spaces between words (so that there will be spaces in the romanization, not relevant to the placing of furigana)
  3. gloss (Optional) same as the gloss field of l.
  4. caps (Optional) set to any value to capitalize the first letters of each word (for proper nouns)
  5. linkto (Optional) Make the link point to this. Useful for -na adjectives or suru verbs where you want the link to point to the lemma but be displayed as the form plus suru or -na, e.g. 入手 (にゅうしゅ)する (nyūshu suru) which displays 入手する with ruby but points to 入手.

For example, {{ja-r|猿も木から落ちる|さる も き から おちる}} produces  (さる) ()から ()ちる (saru mo ki kara ochiru).

Known bug[edit]

The automatic placement of ruby fails in rare cases. It's possible to force the ruby to align correctly by placing spaces between words in the term (in addition to the kana version.) The spaces won't be displayed in the link.

You are receiving this email because you subscribed to this feed at blogtrottr.com.

If you no longer wish to receive these emails, you can unsubscribe from this feed, or manage all your subscriptions