模板:Zh-em2

維基文庫,自由的圖書館

着重文字

文档图示 模板文档[查看] [编辑] [历史] [清除缓存]

本模板通过CSS实现着重号的显示。参考了ja:テンプレート:傍点的实现。

用法[编辑]

{{Zh-em2|强调部分|style=}}

|style=可指定类型为filled(实心)/open(空心),符号为dot(•)/circle(●)/double-circle(◉)/triangle(▲)/sesame(﹅):

实心
filled
空心
open

dot
{{Zh-em2|style=filled dot|强调部分}}
强调部分
{{Zh-em2|style=open dot|强调部分}}
强调部分

circle
{{Zh-em2|style=filled circle|强调部分}}
强调部分
{{Zh-em2|style=open circle|强调部分}}
强调部分
双圆
double-circle
{{Zh-em2|style=filled double-circle|强调部分}}
强调部分
{{Zh-em2|style=open double-circle|强调部分}}
强调部分
三角形
triangle
{{Zh-em2|style=filled triangle|强调部分}}
强调部分
{{Zh-em2|style=open triangle|强调部分}}
强调部分
芝麻点
sesame
{{Zh-em2|style=filled sesame|强调部分}}
强调部分
{{Zh-em2|style=open sesame|强调部分}}
强调部分

除上述符号外,也可使用自定义字符作强调符号,如:{{Zh-em2|style='×'|强调部分}}强调部分

另有|position=|color=参数可选。

参见[编辑]