“模板:Dot”的版本间的差异
BallanceBug(讨论 | 贡献) (创建页面,内容为“<span style="display: inline-block; width: 0.4em; height: 0.4em; background: #26b; border-radius: 50%; vertical-align: middle; margin: 2px"> </span>”) (2个标签:移动版编辑、移动网页编辑) |
BallanceBug(讨论 | 贡献) 小 (2个标签:移动版编辑、移动网页编辑) |
||
(未显示同一用户的4个中间版本) | |||
第1行: | 第1行: | ||
− | <span style="display: inline-block; width: 0.4em; height: 0.4em; background: #26b; border-radius: 50%; vertical-align: middle; margin: 2px"> | + | <span style="display: inline-block; width: {{{1|0.4em}}}; height: {{{1|0.4em}}}; background: {{{2|#26b}}}; border-radius: 50%; -moz-border-radius: 50%; -webkit-border-radius: 50%; vertical-align: middle; margin: 2px 2px 4px; 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年10月30日 (三) 11:47的最新版本
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}}