「Template:Oldpua」:修訂間差異

出自希顶维基
跳至導覽 跳至搜尋
無編輯摘要
無編輯摘要
第1行: 第1行:
<includeonly>
<includeonly>
{{Sprites|pic=旧pua图.png|width=48px|height=48px|x={{#expr:({{#invoke:Str2code|string2xcode|{{{1|}}}}}-57344)/16*32}}px|y={{#expr:{{#invoke:Str2code|string2xcode|{{{1|}}}}}mod16*32}}px|style=transform: scale(0.6667,0.6667);}}
{{Sprites|pic=旧pua图.png|width=48px|height=48px|x={{#expr:({{#invoke:Str2code|string2xcode|{{{1|}}}}}-57344)/16*32}}px|y={{#expr:{{#invoke:Str2code|string2xcode|{{{1|}}}}}mod16*32}}px|style=transform: scale(0.6667,0.6667);}}
{{#expr:({{#invoke:Str2code|string2xcode|{{{1|}}}}}-57344)/16*32}}px {{#expr:{{#invoke:Str2code|string2xcode|{{{1|}}}}}mod16*32}}px
{{#expr:({{#invoke:Str2code|string2xcode|{{{1|}}}}}-57344) / 16 round 0 * 32}}px {{#expr:{{#invoke:Str2code|string2xcode|{{{1|}}}}} mod 16 * 32}}px
</includeonly><noinclude>{{Doc}}[[分类:技术性模板]]</noinclude>
</includeonly><noinclude>{{Doc}}[[分类:技术性模板]]</noinclude>

於 2023年4月15日 (六) 23:42 的修訂

模板文檔  [查看] [編輯] [歷史] [刷新]

簡介

該模板用於在頁面中添加基於模板:Sprites的[[希頂字母PUA編碼|舊PUA}}圖片字,一般用於展示舊PUA字符尤其是希呂字母的字形,避免在希頂維基中引入多餘的字體文件。

用法

要使用這個模板可以採取以下的輸入格式。

{{Oldpua
|你需要输入的字符
}}

示例

{{Oldpua|}}
<div style="margin-top:-表達式錯誤:預期外的數字。px;margin-left:-表達式錯誤:預期外的數字。px;">

表達式錯誤:預期外的數字。px 表達式錯誤:預期外的數字。px