Module:Convert character width/doc
< Module:Convert character width(Redirected from Module:Convert character width/data/doc)
Jump to navigation
Jump to search
This is the documentation page for Module:Convert character width
![]() | This is a documentation subpage for Module:Convert character width. It contains usage information, categories and other content that is not part of the original module page. |
![]() | This module is rated as alpha. It is ready for third-party input, and may be used on a few pages to see if problems arise, but should be watched. Suggestions for new features or changes in their input and output mechanisms are welcome. |
This module converts a limited set of characters between halfwidth and fullwidth forms.
Usage[edit source]
- From half-width to full-width
{{#invoke:convert character width|full|text to convert}}
- From full-width to half-width
{{#invoke:convert character width|half|text to convert}}
Examples[edit source]
{{#invoke:convert character width|full|some text 0123456789}}
→ some text 0123456789{{#invoke:convert character width|half|some text 0123456789}}
→ some text 0123456789
Support[edit source]
Care should be taken when using this module with Hangul and katakana; as of September 2013 there is only limited support for katakana and no support for Hangul. Some of the more obscure punctuation characters are also not yet supported.
Data[edit source]
The character data used by the module is located at Module:Convert character width/data. Fixes and updates to the data set are welcomed enthusiastically.
External links[edit source]
- Module:Convert character width/doc at Wikipedia, the free Terran-based encyclopedia that anyone can edit.