Модуль:Unicode data/templates/doc
Көрүнүш
This is the documentation page for Модуль:Unicode data/templates
Бул модуль Модуль:Unicode data бөлүмүндөгү айрым функцияларды шаблондордо колдонуунун жолдорун камсыз кылат.
Функциялар
[түзөтүү]lookup,is- Call one the functions starting with
lookupandis. Replace the first underscore in the function name with a pipe, and add the code point in hexadecimal base, or a bit of text, foris_valid_pagename, as the next parameter. For example,{{[[Template:#invoke:Unicode data/templates|#invoke:Unicode data/templates]]|lookup|name|61}}→ LATIN SMALL LETTER A;{{[[Template:#invoke:Unicode data/templates|#invoke:Unicode data/templates]]|is|valid_pagename|#}}→ false. has_aliases- Returns
trueif a code point has data in Module:Unicode data/aliases,falseotherwise. Used in Template:character info/save memory. For instance, for the space character (U+0020),{{[[Template:#invoke:Unicode data/templates|#invoke:Unicode data/templates]]|has_aliases|20}}→ true.