模板: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=參數可選。

參見[編輯]