Jump to content

Module:ja-ruby/documentation

Wiktionary වෙතින්

This module handles ruby texts. It converts between the following 4 forms:

  1. Wikitext
    [[振る|<ruby><rt></rt></ruby>り]][[仮名|<ruby><rt></rt></ruby><ruby><rt></rt></ruby>]]
    
    ()
  2. Texts of the term and the ruby
    [[振る|振り]][[仮%名]]
    
    ふりが%な
    
  3. []() markup
    [[振る|[振](ふ)り]][[仮名|[仮](が)[名](な)]]
    
  4. Lua table, used by modules
    local example_ruby_table = {
        {
            text = {
                {text = '振', ruby = 'ふ'},
                {text = 'り'},
            }, linkto = "振る"
        },
        {
            text = {
                {text = '仮', ruby = 'か'},
                {text = '名', ruby = 'な'},
            }, linkto = "仮名"
        },
    }
    

(The generated documentation is located at the module page.)

"https://si.wiktionary.org/w/index.php?title=Module:ja-ruby/documentation&oldid=36643" වෙතින් සම්ප්‍රවේශනය කෙරිණි