“模板:Dot”的版本间的差异

来自Ballance Wiki
跳转至: 导航搜索
2个标签移动版编辑移动网页编辑
2个标签移动版编辑移动网页编辑
第1行: 第1行:
<span style="display: inline-block; width: 6.4px; height: 6.4px; background: #26b; border-radius: 50%; vertical-align: middle; margin: 2px"></span>
+
<span style="display: inline-block; width: {{{1|0.4em}}}; height: {{{1|0.4em}}}; background: {{{2|#26b}}}; border-radius: 50%; vertical-align: middle; margin: 2px; border: {{{3|none}}}"></span><noinclude>
 +
 
 +
== Usage ==
 +
 
 +
<nowiki>{{</nowiki>Dot | Size {{Resize|(default 0.4em)}} | Color {{Resize|(default #26b)}} | Border style {{Resize|(default none)}}<nowiki>}}</nowiki>
 +
 
 +
== Samples ==
 +
 
 +
<nowiki>{{Dot}}</nowiki>
 +
{{Dot}}
 +
 
 +
<nowiki>{{Dot|2em}}</nowiki>
 +
{{Dot|2em}}
 +
 
 +
<nowiki>{{Dot|1em|red}}</nowiki>
 +
{{Dot|1em|red}}
 +
 
 +
<nowiki>{{Dot|1em|lightgreen|1px solid #999}}</nowiki>
 +
{{Dot|1em|lightgreen|1px solid #999}}

2019年8月22日 (四) 22:01的版本

Usage

{{Dot | Size (default 0.4em) | Color (default #26b) | Border style (default none)}}

Samples

{{Dot}}

{{Dot|2em}}

{{Dot|1em|red}}

{{Dot|1em|lightgreen|1px solid #999}}