模板:Unichar:修订间差异
来自 LNN的:not(博客)?
更多操作
无编辑摘要 |
无编辑摘要 |
||
| 第1行: | 第1行: | ||
<includeonly><span style="white-space: nowrap"><span class="lnnblog-font-monospace">U+{{{1}}}</span> </span>{{#ifeq:{{{nochar|0}}}|0|{{#tag:span|&#x{{{1}}};|style=font-size:125%;line-height:1em|class={{{cclass|}}}}} <nowiki/>}}{{#if:{{{2|}}}|<span style="text-transform: uppercase; font-size: 85%">{{{2}}}</span>}}</includeonly><noinclude>{{documentation}}</noinclude> | <includeonly><span style="white-space: nowrap"><span class="lnnblog-font-monospace">U+{{{1}}}</span> </span>{{#ifeq:{{{nochar|0}}}|0|{{#tag:span|{{#if:{{{cwith|}}}|{{{cwith}}}|{{#if:{{{cwith}}}| }}}}&#x{{{1}}};|style=font-size:125%;line-height:1em|class={{{cclass|}}}}} <nowiki/>}}{{#if:{{{2|}}}|<span style="text-transform: uppercase; font-size: 85%">{{{2}}}</span>}}</includeonly><noinclude>{{documentation}}</noinclude> | ||
2024年8月16日 (五) 08:08的版本
显示 Unicode 字符及编码。
模板数据
显示 Unicode 字符及编码。
| 参数 | 描述 | 类型 | 状态 | |
|---|---|---|---|---|
| 字符编码 | 1 | 十六进制字符编码
| 字符串 | 必需 |
| 字符名称 | 2 | 字符的英文名称,会以全大写字母显示。
| 字符串 | 可选 |
| 字符 CSS 类 | cclass | 字符预览的 CSS 类
| 字符串 | 可选 |
| 不显示字符预览 | nochar | 传入 1 或空白,则不会显示字符预览。 | 布尔 | 可选 |
| 前置字符 | cwith | 用于附标字符时,传入“◌”。
| 字符串 | 可选 |