模板:***
外觀
Usage
[編輯]Produces a centred row of asterisks or other characters. This is a common way of breaking passages of text (example).
Parameters
[編輯]- {{{1}}}: the number of asterisks (optional, default is 3)
- {{{2}}}: the spacing between asterisks (optional, default is 2em)
- {{{char}}}: the character used (optional, default is "*"). Images are also possible.
Examples
[編輯]- The code
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis.
{{***}}
Dis parturient montes, nascetur ridiculus mus. Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem.
- Gives
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis.
***
Dis parturient montes, nascetur ridiculus mus. Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem.
- Variable number of stars
{{***|6}}
******
- Variable star spacing
{{***|4|6em}}
****
- Different characters
{{***|char=~}}
~~~
- Using images
{{***|char=[[File:Five Pointed Star Solid.svg|15px]]}}
See also
[編輯]- {{asterism}} for the "⁂" symbol.
上述文件嵌入自Template:***/doc。 (編輯 | 歷史) 編者可以在本模板的沙盒 (建立 | 鏡像)和測試樣例 (建立)頁面進行實驗。 本模板的子頁面。 |