Template:vi-ruby/documentation

This template displays the given Hán or Nôm text, with the given quốc ngữ annotations as ruby text above it. Use the following syntax:

which produces:



There should be the same number of Han characters as quốc ngữ words. If the page title appears in the string of Han characters, each occurrence is highlighted using the HTML5  tag. Alternatively, the character to mark may be specified in the  parameter:



Because very few Nôm characters have been encoded into the Unicode standard, it is often necessary to give an image or Unicode ideographic description sequence in lieu of the actual character. In the first parameter, place an asterisk where the character would be. Then specify the replacement content in the  parameter:





In the event that multiple replacements are needed, use a single asterisk for each in the first parameter, and specify all the replacements in the  parameter, separated by spaces. (Use underscores instead of spaces in image names.)