সাঁচ:Rule/doc
এয়া হৈছে ‘সাঁচ:Rule’ শীৰ্ষক সাঁচটোৰ নথিকৰণৰ উপপৃষ্ঠা। ইয়াত সাঁচটো ব্যৱহাৰৰ তথ্য, শ্ৰেণীসমূহ, আন্তঃৱিকি সংযোগবোৰ আৰু অন্য সমল থাকে, যিবোৰ মূল সাঁচ পৃষ্ঠাটোৰ অংশ নহয়। |
Usage
[সম্পাদনা কৰক]This template inserts a black horizontal rule. It should be used in transcriptions in preference to wiki syntax "----", which inserts a rule but in a lighter colour. Furthermore there can be no certainty that the rendering of "----" will not change in the future. Please check for any [X]HTML 5 issues as well.
For example
{{rule}}
produces
The common case of a double-rule can be achieved by
{{rule}}{{rule}}
which produces
Width
[সম্পাদনা কৰক]A width may optionally be provided, in em or by % in which case a black horizontal rule of that width is centered on the line.
For example
{{rule|width=12em}}
and
{{rule|12em}}
both produce
Height
[সম্পাদনা কৰক]Height is provided by the named সাঁচ:Parameter parameter:
{{rule|height=3px}}
Alignment
[সম্পাদনা কৰক]In rare cases where the left or right alignment is required, the align parameter may be used.
For example
{{rule|6em|align=left}}
produces
Style
[সম্পাদনা কৰক]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
Redirects
[সম্পাদনা কৰক]- {{Hline}}
See also
[সম্পাদনা কৰক]- {{separator}} for a row of dots
- {{Custom rule}} for a customized decorative rule
- {{Longdash}} for an inline long dash
- {{Bar}} for an inline, user specified length of the dash