সাঁচ:Border
{{{1}}}
Usage
সম্পাদনা কৰকThis specialized template creates a box to display text or combined text/images in; it creates a border around whatever you would like. Each property has a default so you do not need to define the setting if what you want is already the default.
You can embed other templates within this one (e.g. {{rule}} or {{sc}} or even another {{border}})
Note: If you place images inside this box, be sure to define it so that the box is larger than the image.
Basic template
সম্পাদনা কৰকThis template is without the optional parameters.
{{border|Your content here}}
Full template
সম্পাদনা কৰকThis template includes all optional parameters. Note that you may need to delete unused parameters for the template to work correctly.
{{border |2= |3= |4= |5= |6= |7= |8= |9= |style= | Content }}
{{border |maxwidth= |bstyle= |bthickness= |color= |bgcolor= |align= |position= |padding= |style= | Content }}
Parameters
সম্পাদনা কৰকExamples
সম্পাদনা কৰকDefault
সম্পাদনা কৰক{{border| [[File:Philadelphia blackletter.svg|125px||link=|alt=Philadelphia:]] {{Mc}}CARTY & DAVIS, No. 171, MARKET STREET. {{rule|3em}} 1834. }}
Displays as:
Example 1
সম্পাদনা কৰক{{border|maxwidth=200px|bstyle=dashed|bthickness=5px|color=black|align=center| [[File:Philadelphia blackletter.svg|125px|link=|alt=Philadelphia:]] {{Mc}}CARTY & DAVIS, No. 171, MARKET STREET. {{rule|3em}} 1834. }}
Displays as:
Example 2
সম্পাদনা কৰক{{border|maxwidth=400px|color=black|position=right|padding=40px| [[File:Philadelphia blackletter.svg|125px|link=|alt=Philadelphia:]] {{right|{{Mc}}CARTY & DAVIS, No. 171, MARKET STREET.}} }}
Displays as:
সাঁচ:McCARTY & DAVIS, No. 171, MARKET STREET.
Example 3
সম্পাদনা কৰক{{border|maxwidth=25%|bthickness=2px|color=#FF0000|bgcolor=aqua|position=left| [[File:Philadelphia blackletter.svg|125px|link=|alt=Philadelphia:]] {{Mc}}CARTY & DAVIS, No. 171, MARKET STREET. {{rule|3em}} 1834. }}
Displays as:
Example 4
সম্পাদনা কৰক{{border|maxwidth=400px|bstyle=ridge|bthickness=10px|color=navy|bgcolor=#66FF99|align=center|padding=20px|style=border-radius:25px| [[File:Philadelphia blackletter.svg|125px|link=|alt=Philadelphia:]] {{Mc}}CARTY & DAVIS, No. 171, MARKET STREET. {{rule|3em}} 1834. }}
Displays as:
"Double Border"
সম্পাদনা কৰকStandard
সম্পাদনা কৰকThere are two ways to make a double border. One is to use the standard "double border" feature of CSS. It is simple and only requires that parameter 3 be equal to double. Here is what this will look like:
{{border|maxwidth=400px|bstyle=double|bthickness=8px|align=center|padding=20px| [[File:Philadelphia blackletter.svg|125px|link=|alt=Philadelphia:]] {{Mc}}CARTY & DAVIS, No. 171, MARKET STREET. {{rule|3em}} 1834. }}
Displays as:
{{border|maxwidth=400px|bstyle=double|bthickness=20px|align=center|padding=20px| [[File:Philadelphia blackletter.svg|125px|link=|alt=Philadelphia:]] {{Mc}}CARTY & DAVIS, No. 171, MARKET STREET. {{rule|3em}} 1834. }}
Displays as:
Creative / Controllable
সম্পাদনা কৰকHowever, for more control, you may wish to use a border within another border:
{{border|maxwidth=400px|bthickness=2px|position=center|padding=7px| {{border|bthickness=5px|bgcolor=#FFEFD5|align=center|padding=20px| [[File:Philadelphia blackletter.svg|125px|link=|alt=Philadelphia:]] {{Mc}}CARTY & DAVIS, No. 171, MARKET STREET. {{rule|3em}} 1834. }}}}
Displays as:
The above documentation is transcluded from সাঁচ:Border/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |