# வார்ப்புரு:Box/doc



## Basic usage
<code>box|*Contents*}}</code> produces:  

## Parameters
**Special parameters**

| The type of box | , or |
| --- | --- |
| Uses span tags instead of div tags |  |
| Set the box to be as wide as the page/table |  |
| Set the box to be inline | text text text text text text |
| Adds an **optional** header |  |
| Add a shadow to the box | } |

**CSS parameters**

| <code>"content"</code> | The contents of the box (**Necessary**) |  |  |
| --- | --- | --- | --- |
| &nbsp;

&nbsp; | The color of the background of the box | White | background-color |
| The alignment of the box (, , ) (**Recommended**) | float |  |  |
| The inner padding of the | padding |  |  |
| The style of the | Solid | -style |  |
| The color of the | Black | -color |  |
| The size of the | -width |  |  |
| The alignment of the text (**Recommended**) | text-align |  |  |
| The spacing of the letters | letter-spacing |  |  |
| The font of the box's text | font-family |  |  |
| The font size of the box's text | font-size |  |  |
| The color of the text | black | text-color |  |
| The outer margin of the box (Only does horizontal when type isn't <code>inline-block</code> or <code>block</code>) | margin |  |  |
| The type of box (inline, inline-block, block) | inline-block | display |  |
| The height of the box | height |  |  |
| The width of the box | (The width of the text) | width |  |
| Any Additional CSS you want to add
(**make sure to add ; to end**) | } |  |  |

| The top outer margin of the box (Only does horizontal when type isn't <code>inline-block</code> or <code>block</code>) | margin-top |  |
| --- | --- | --- |
| The bottom outer margin of the box (Only does horizontal when type isn't <code>inline-block</code> or <code>block</code>) | margin-bottom |  |
| The outer margin of the box (Only does horizontal when type isn't <code>inline-block</code> or <code>block</code>) | margin- |  |
| The outer margin of the box (Only does horizontal when type isn't <code>inline-block</code> or <code>block</code>) | margin- |  |
| The top inner padding of the | padding-top |  |
| The bottom inner padding of the | padding-bottom |  |
| The inner padding of the | padding- |  |
| The inner padding of the | padding- |  |
| Border radius | 0 |  |
| The maximum height of the box | max-height |  |
| The minimum height of the box | min-height |  |
| The maximum width of the box | max-width |  |
| The minimum width of the box | min-width | } |

## Examples

<syntaxhighlight lang="wikitext">  

</syntaxhighlight>  

---

<syntaxhighlight lang="wikitext"></syntaxhighlight>  

---

<syntaxhighlight lang="wikitext"></syntaxhighlight>  

## TemplateData

<templatedata>  
{  
"params": {  
"1": {  
"description": "The contents of the box",  
"example": "Hello, world!",  
"suggested": true  
},  
"header": {  
"description": "A heading for the box",  
"example": "Warning",  
"suggested": true  
},  
"align": {  
"description": "The alignment of the box",  
"example": "",  
"default": "",  
"suggested": true  
},  
"box type": {  
"description": "The type of box (css display) (block, inline-block or inline)",  
"example": "block",  
"autovalue": "inline-block"  
},  
"wide": {  
"description": "If set to yes the box will be wide",  
"example": "yes",  
"type": "boolean",  
"default": "no",  
"autovalue": ""  
},  
"inline": {  
"description": "Set to yes for the box type to be inline",  
"example": "yes",  
"type": "boolean",  
"default": "no"  
},  
"style": {  
"description": "The style of the ",  
"default": "solid"  
},  
"padding": {  
"description": "The padding of the box",  
"default": ""  
},  
"top padding": {  
"description": "The top padding of the box"  
},  
"bottom padding": {  
"description": "The bottom padding of the box"  
},  
" padding": {  
"description": "The padding of the box"  
},  
" padding": {  
"description": "The padding of the box"  
},  
" color": {  
"description": "The color of the box ",  
"example": "red",  
"type": "string",  
"default": "black"  
},  
"radius" : {  
"description": "Border corner radius",  
"example": "5em",  
"default": "0"  
},  
"type": {  
"description": "The type of box (black,white,transparent)",  
"example": "black"  
},  
" size": {  
"description": "The size of the ",  
"default": ""  
},  
"color": {  
"aliases": [  
"background"  
],  
"description": "The color of background",  
"example": "black",  
"default": "white"  
},  
"text color": {  
"description": "The color of the text",  
"example": "green",  
"default": "black"  
},  
"text align": {  
"description": "The alignment of the text (css text-align)",  
"example": "",  
"default": ""  
},  
"spacing": {  
"description": "The spacing of the letters"  
},  
"font": {  
"description": "The font of the text"  
},  
"font size": {  
"aliases": [  
"text size"  
],  
"description": "The size of the text"  
},  
"margin": {  
"description": "The size of the box's margin",  
"example": "",  
"default": ""  
},  
"top margin": {  
"description": "The size of the box's top margin"  
},  
"bottom margin": {  
"description": "The size of the box's bottom margin"  
},  
" margin": {  
"description": "The size of the box's margin"  
},  
" margin": {  
"description": "The size of the box's margin"  
},  
"height": {  
"description": "The height of the box",  
"example": "",  
"default": "*the height of the contents plus the margin*"  
},  
"max-height": {  
"description": "The maximum height of the box",  
"example": ""  
},  
"min-height": {  
"description": "The minimum height of the box",  
"example": ""  
},  
"width": {  
"description": "The width of the box",  
"default": "*the width of the text plus the margin or padding*"  
},  
"max-width": {  
"description": "The maximum width of the box"  
},  
"min-width": {  
"description": "The minimum width of the box"  
},  
"CSS": {  
"description": "Any additional CSS to use"  
}  
},  
"description": "This template produces a variety of boxes from preset options and from CSS.",  
"format": "inline"  
}  
</templatedata>  

## Tracking category
-