Template:TableYesNo/doc

Description
This template is used to do create answers to simple yes no questions to quickly convey information in tables. Template changes the background colour of the cell and has optional different display value. It's easy to do without this template as well, this is just for having everything the same...

Syntax
Place the template  in tables where you want to place a yes or no column.

To add extra styling options use the keyword-argument. You can also overwrite any other styles like the default.

To change the color put the keyword-argument  followed by a HTML-color, either a string or hexadecimal value.

To add classes or change the column or row span use the  keyword-argument or the third argument and put the code that you would usually put there. See the example below:

Samples
The table Can be created with the following code:

Templatedata
{	"description": "A template for creating table entries with background colours based on a display value.", "format": "inline", "params": { "1": {			"label": "yes/maybe/no", "description": "Determines color when color argument not given. Determines text when second positional argument not given", "example": "yes", "suggested": true },		"2": {			"label": "Substitute", "description": "The text to display instead of the first argument (yes/maybe/no)", "example": "Display text", "suggested": true },		"color": { "label": "Color", "description": "Use a custom colour as the background for the table entry.", "example": " #B8B8B8", "default": "Based on argument 1" },		"style": { "label": "Extra HTML style", "description": "Any extra html style for the specific table entry", "example": "text-align: right;" },		"extra": { "aliases": [ "3"			],			"description": "Any extra html code for the specific table entry", "example": "rowspan=\"3\"", "label": "Extra HTML tags" }	},	"paramOrder": [ "1",		"color", "2",		"style", "extra" ] }