This template is used to produce a link in a box to a subject.


{{Subject box|Name|image=Image|size=Size|left=yes|margin=Margin}}
The name of the subject.

The following additional parameters are available. They are all optional; the default values are chosen to give a good look and feel across the project.

The image to use for the subject's icon. This defaults to an image that is specified in Template:Subject box/Images/SubjectName for the subject or a generic image. There is a list of all such images.
The width of the icon, as an integer. This is in units of pixels. The default is 32. The icon is also constrained to be at most 28 pixels high.
Float the box to the left instead of to the right.
The margin around the box. By default, the box is surrounded by a margin of width 0.5em, but this can be customized using |margin=top right bottom left (e.g., |margin=0.25em 0 0.25em 0.25em) or removed using |margin=0 (zero).


{{Subject box|Books by subject}}
{{Subject box|Science}}
{{Subject box|Science|Conical flask stylised.svg}}
{{Subject box|Science|size=15}}
{{Subject box|Science|left=yes}}
"සැකිල්ල:Subject_box/උපදෙස්&oldid=20893" වෙතින් සම්ප්‍රවේශනය කෙරිණි