[go: up one dir, main page]

বিষয়বস্তুতে চলুন

টেমপ্লেট:***

উইকিসংকলন থেকে
টেমপ্লেট নথি[দেখুন] [সম্পাদনা] [ইতিহাস] [শোধন]

Produces a centred row of asterisks or other characters. This is a common way of breaking passages of text (example).

  • 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.
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]]}}
  

Finally, any desired special HTML styling may be applied through the style parameter.

For example

{{rule|width=12em|height=1em|style=background-color:orange;border:1px solid black}}

produces


  • {{asterism}} for the "⁂" symbol.
  • {{separator}} for a full-width divider using periods (".").