编辑“︁
Template:Unichar/doc
”︁(章节)
跳转到导航
跳转到搜索
页面[[:Module:Message box/mbox.css|Module:Message box/mbox.css]]没有内容。
这是
Unichar
模板的
文档页面
。
警告:
您没有登录。如果您进行任何编辑,您的IP地址会公开展示。如果您
登录
或
创建账号
,您的编辑会以您的用户名署名,此外还有其他益处。
反垃圾检查。
不要
加入这个!
=== 參數 === The blank infobox, with all parameters, is as follows: <pre> {{unichar | <!-- hex value, code point (do not add the "U+") --> | <!-- Unicode name --> | ulink = | image = | cwith = | size = | use = | use2 = | nlink = | dec = | html = | note = }} </pre> * '''First parameter''', '''1=''' Unnamed, required (prefix "1=" may be omitted). The hexadecimal value of the code point, e.g. {{code|00A9}}. :''Notes'': The parameter accepts input like {{code|A9}}, {{code|a9}} and {{code|00A9}} as hexadecimal value. Decimal values are not detected being decimal, and will give unexpected results (see Error messages, below). * '''Second parameter''', '''2=''' Unnamed (prefix "2=" may be omitted). The Unicode name of the character. The template uses this input as the {{Smallcaps|name in small caps}}, forced into these small capitals whatever the input. This name may differ from the name of the corresponding Wikipedia article (see below: nlink=). * '''nlink=''' Optional.wikilink. Name of the Wikipedia page that will be linked to. If used, the Unicode name (second parameter) has a wikilink to the article. When the article name and the Unicode name are the same, using a straight "nlink=" without a name will do. <br/> ::For control characters using the ''nlink'' parameter, the Unicode name parameter is not used: the ''nlink'' parameter is displayed instead, without small caps. :''Note'': the name of the page is case sensitive as with all wikipages. :<code><nowiki>{{unichar|00A9|Copyright sign|nlink=Copyright symbol}}</nowiki></code> → {{unichar|00A9|Copyright sign|nlink=Copyright symbol}} :<code><nowiki>{{unichar|00A3|Pound sign|nlink=}}</nowiki></code> → {{unichar|00A3|Pound sign|nlink=}}. * '''ulink''' Optional. Creates a wikilink in the "U+" prefix. When used without name ({{code|ulink={{!}}}}), the default value, [[Unicode]] page, is used: [[Unicode|U+]]. * '''dec=''' Optional. Adds the decimal value to the text, in hte bracketed note. * '''html=''' Optional. Adds the HTML character reference to the text, like <code>&#160;</code> in the bracketed note. If a ''named character reference'' exists, like <code>"&nbsp;"</code>, that is added too. *'''use=''' Optional. Sets the font-hinting template to get the glyph, since the character may not be present in a regular browser font. Default is {{tl|unicode}}, other options are {{tl|IPA}}, {{tl|lang}} and {{tl|script}}. When setting "use=lang" or "use=script", '''use2''' should be used to set the language ("use2=fr") or the script ("use2=Cyrs"). A glyph may still not show as expected due to browser effects. For a detailed description, see the templates documentation. * '''image=''' Optional. Allows for a ''file'' (graphic image) to represent the glyph, overrules the font completely. The filename should include the extension like ".svg", but ''not'' the prefix "File:". * '''cwith=''' Optional. Useful when the Unicode character is ''combining''. Using {{code|1=cwith=}} adds a space before the character, allowing the combining effect. So when used with a character like {{code|1=cwith=a}}, the character will be combined with the letter "a". In Unicode, a general glyph used to place a combined is {{unichar|25CC|DOTTED CIRCLE|html=}}. * <code><nowiki>{{unichar|0485|COMBINING CYRILLIC DASIA PNEUMATA|cwith=}}</nowiki></code> → {{unichar|0485|COMBINING CYRILLIC DASIA PNEUMATA|cwith=}} * <code><nowiki>{{unichar|0485|COMBINING CYRILLIC DASIA PNEUMATA|cwith=|use=script|use2=Cyrs}}</nowiki></code> → {{unichar|0485|COMBINING CYRILLIC DASIA PNEUMATA|cwith=|use=script|use2=Cyrs}} * '''size=''' Optional. Can be used to set the size ''of the glyph''. By default "size=125%". For the font, all font-size style inputs are accepted: "7px", "150%", "2em", "larger". :<code><nowiki>{{unichar|0041|LATIN CAPITAL LETTER A|size=2em}}</nowiki></code> → {{unichar|0041|LATIN CAPITAL LETTER A|size=2em}} : When using an ''image'' (file) instead of a font, this size can only accept sizes in px like "12px". Default for images is "10px" . <pre> {{unichar | A9 | Copyright sign | ulink = Unicode character mapping | image = | size = 150% | nlink = Copyright symbol | note = Example }} </pre> Produces: * {{unichar | A9 | Copyright sign | ulink = Mapping of Unicode characters | image = | size = 150% | nlink = Copyright symbol | note = Example }}
摘要:
请注意,所有对Local Chinese Wikipedia的贡献均可能会被其他贡献者编辑、修改或删除。如果您不希望您的文字作品被随意编辑,请不要在此提交。
您同时也向我们承诺,您提交的内容为您自己所创作,或是复制自公共领域或类似自由来源(详情请见
Project:著作权
)。
未经许可,请勿提交受著作权保护的作品!
取消
编辑帮助
(在新窗口中打开)
导航菜单
个人工具
未登录
讨论
贡献
创建账号
登录
命名空间
模板
讨论
大陆简体
不转换
简体
繁體
大陆简体
香港繁體
澳門繁體
大马简体
新加坡简体
臺灣正體
查看
阅读
编辑
查看历史
更多
搜索
导航
首页
最近更改
随机页面
MediaWiki帮助
工具
链入页面
相关更改
特殊页面
页面信息