ਫਰਮਾ:***
This template uses a See H:DIVSPAN for details. |
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.
- style: where there is a need to specify the style of the text, an optional "style" parameter can be used, e.g.
{{***|style=font-size:110%}}
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|alt=*]]}}
- Variable star spacing
{{***|4|6em}}
****
- style settings
{{***|style=font-size:182%|3}}
***
{{***|style=font-size:182%|3|char=~}}
~~~
See also
[ਸੋਧੋ]- {{asterism}} for the "⁂" symbol.
- {{separator}} for a full-width divider using mid-dots
·(or any other character).
ਕੋਈ ਵੇਰਵਾ ਨਹੀਂ
| ਮਾਪਦੰਡ | ਵੇਰਵਾ | ਕਿਸਮ | ਦਰਜਾ | |
|---|---|---|---|---|
| 1 | 1 | Number of astersks to show. | Number | ਚੋਣਵਾਂ |
| 2 | 2 | Spacing between asterisks. | ਸਮੱਗਰੀ | ਚੋਣਵਾਂ |
| style | style | Additional CSS styles to apply. | Unknown | ਚੋਣਵਾਂ |
| char | char symbol | Character to use instead of * | ਸਮੱਗਰੀ | ਚੋਣਵਾਂ |