Template:Top

From Wikispooks
Jump to navigation Jump to search
Template documentation[create]

TemplateData

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.

TemplateData for Top

<templatedata> {

   "description": "Starts a two column table, must be followed by |}

| width=1% class="multicol-gutter" | |bgcolor=transparent valign=top width=48%|

|}.",

   "params": {
       "width": {
           "label": "width",
           "description": "Width of the whole table.",
           "type": "string",
           "default": "100%",
           "required": false
       },
       "width2": {
           "label": "width2",
           "description": "Width of first column.",
           "type": "string",
           "default": "48%",
           "required": false
       },
       "border": {
           "label": "border",
           "description": "Border of table, in pixels e.g. '1'.",
           "type": "number",
           "default": "0",
           "required": false
       },
       "bgcolor": {
           "label": "bgcolor",
           "description": "Background colour.",
           "type": "string",
           "default": "transparent",
           "aliases": ["bgColor"],
           "required": false
       }
   }

} </templatedata>