Template:ClinicalStudyInfo/doc

This template is designed to be used in a table to make a cell with text in that cell, with an appropriately colored background. It can be used in comparison tables of clinical studies.

The text in the cell is taken from the first parameter;  would output "Done" otherwise it displays the default text. Most templates allow authors to override the default text in this way.

If you want to use other attributes for the table cells, e.g.  or , they need to be put before the template call and there must be no vertical bar   in between them:

Usage example
Wikitext: ... ...
 * rowspan=2
 * rowspan=2
 * rowspan=2
 * }}
 * }}
 * }}

Result:

TemplateData
{ "description": "A template for styling individual table cells with standard contents and colors.", "params": { "1": {     "label": "text", "description": "text shown instead of autogenerated text", "type": "content", "default": "?", "required": false, "suggested": false },   "phase": { "label": "phase", "description": "current phase of the clinical study, either 'discovery', 'pre' (for preclinical), '0', '1', '2', '3', '4', 'fail' or 'terminated'; see also 'end of phase range'", "default": "", "type": "line", "required": false, "suggested": true },   "endphase": { "label": "end of phase range", "description": "last phase in a multiphase clinical study, either '1', '2', '3' or '4'", "default": "", "type": "line", "required": false, "suggested": false },   "participants": { "label": "participants", "description": "number of participants", "default": "", "type": "number", "required": false, "suggested": true },   "references": { "label": "references", "description": "references shown on the top line", "default": "", "type": "line", "required": false, "suggested": false },   "description": { "label": "description", "description": "brief description of the study's design, ideally in a single line", "default": "", "type": "line", "required": false, "suggested": false },   "status": { "label": "status", "description": "brief description of the study's status or outcomes, ideally in a single line", "default": "", "type": "line", "required": false, "suggested": false },   "whenwhere": { "label": "durations and locations", "description": "brief list of duration and locations of the trial, usually in the format durationA, locationA1, locationA2, ...; durationB, locationB1, locationB2, ...", "default": "", "type": "line", "required": false, "suggested": false },   "sortvalue": { "label": "sort value", "description": "code for ordering instead of autogenerated code in the format 'phaseOrder-endPhase participants', where 'phaseOrder' is an alphanumeric code based on the value of 'phase' with values 'D0' (discovery), 'I0' (preclinical), 'B0' (failed), 'C0' (terminated), 'P0', 'P1', 'P2', 'P3' and 'P4' for each of the phases", "type": "line", "default": "A0", "required": false, "suggested": false },   "align": { "label": "alignment", "description": "text alignment inside the cell, either 'tl' (top left), 'tc' (top center), 'tr' (top right), 'ml' (middle left), 'mc' (middle center), 'mr' (middle right), 'bl' (bottom left), 'bc' (bottom center) or 'br' (bottom right)", "default": "tl", "type": "line", "required": false, "suggested": false },   "color": { "label": "background color", "description": "CSS color value or name to override the standard the cell background", "default": "eee", "type": "line", "required": false, "suggested": false },   "style": { "label": "style", "description": "semicolon separated list of CSS rules applied to the table cell", "default": "", "type": "line", "required": false, "suggested": false } },  "format": "inline" }