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 সম্পাদনা কৰক

সাঁচ:Plainlist

Examples সম্পাদনা কৰক

Default সম্পাদনা কৰক

{{border|
[[File:Philadelphia blackletter.svg|125px||link=|alt=Philadelphia:]]

{{Mc}}CARTY & DAVIS, No. 171, MARKET STREET.
{{rule|3em}}
1834.
}}

Displays as:

Philadelphia:

সাঁচ:McCARTY & DAVIS, No. 171, MARKET STREET.


1834.


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:

Philadelphia:

সাঁচ:McCARTY & DAVIS, No. 171, MARKET STREET.


1834.


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:

Philadelphia:

সাঁচ: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:

Philadelphia:

সাঁচ:McCARTY & DAVIS, No. 171, MARKET STREET.


1834.


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:

Philadelphia:

সাঁচ:McCARTY & DAVIS, No. 171, MARKET STREET.


1834.

"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:

Philadelphia:

সাঁচ:McCARTY & DAVIS, No. 171, MARKET STREET.


1834.

{{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:

Philadelphia:

সাঁচ:McCARTY & DAVIS, No. 171, MARKET STREET.


1834.


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:

Philadelphia:

সাঁচ:McCARTY & DAVIS, No. 171, MARKET STREET.


1834.