Template:ClinicalStudyInfo/doc
This is a documentation subpage for Template:ClinicalStudyInfo. It may contain usage information, categories and other content that is not part of the original template page. |
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; {{ClinicalStudyInfo|Done}}
would output "Done" otherwise it displays the default text. Most templates allow authors to override the default text in this way.
Important: If you want to use other attributes for the table cells, e.g. colspan
or rowspan
, they need to be put before the template call and there must be no vertical bar |
in between them:
Usage example
[edit]Wikitext:
... |{{ClinicalStudyInfo}} |rowspan=2 {{ClinicalStudyInfo |phase=4}} |rowspan=2 {{ClinicalStudyInfo |phase=4 |'''Deployed'''}} |rowspan=2 {{ClinicalStudyInfo |phase=4 |align=mc |In use}} |- |{{ClinicalStudyInfo |phase=2 |endphase=3 |participants=1200 |references=<ref>{{cite journal |date=2016-06-23 |title=WRAP-IT |journal=Am Heart J. |volume=180 |pages=12-21}}</ref> |description=Randomized, placebo-controlled |status=Resumed after one ill patient recovered |whenwhere=Jul 2020{{snd}}Oct 2021, Germany, USA; Feb{{ndash}}Dec 2021, China}}}} ...
Result:
? |
Phase IV |
Deployed | In use |
Phase II–III (1,200) Randomized, placebo-controlled Resumed after one ill patient recovered Jul 2020 – Oct 2021, Germany, USA; Feb–Dec 2021, China |
Code
[edit]TemplateData
[edit]TemplateData for ClinicalStudyInfo
A template for styling individual table cells with standard contents and colors.
Parameter | Description | Type | Status | |
---|---|---|---|---|
text | 1 | text shown instead of autogenerated text
| Content | optional |
phase | phase | 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'
| Line | suggested |
end of phase range | endphase | last phase in a multiphase clinical study, either '1', '2', '3' or '4'
| Line | optional |
participants | participants | number of participants
| Number | suggested |
references | references | references shown on the top line
| Line | optional |
description | description | brief description of the study's design, ideally in a single line
| Line | optional |
status | status | brief description of the study's status or outcomes, ideally in a single line
| Line | optional |
durations and locations | whenwhere | brief list of duration and locations of the trial, usually in the format durationA, locationA1, locationA2, ...; durationB, locationB1, locationB2, ...
| Line | optional |
sort value | sortvalue | 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
| Line | optional |
alignment | align | 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)
| Line | optional |
background color | color | CSS color value or name to override the standard the cell background
| Line | optional |
style | style | semicolon separated list of CSS rules applied to the table cell
| Line | optional |
See also
[edit]Notes
[edit]- ^ "WRAP-IT". Am Heart J. 180: 12–21. 2016-06-23.