Template:MedInfo: Difference between revisions
Appearance
MDElliottMD (talk | contribs) No edit summary |
Terminology: medicine → med (shorter form per user preference) |
||
| (6 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
<includeonly>{| class="wikitable" style="float:right; clear:right; max-width:26em; margin:0 0 1em 1em; font-size:92%;" | <includeonly>{| class="wikitable" style="float:right; clear:right; max-width:26em; margin:0 0 1em 1em; font-size:92%;" | ||
|+ style="font-size:115%;" | | |+ style="font-size:115%;" |'{{{PAGENAME}}} | ||
! colspan="2" style="background:#eef;" | " | ! colspan="2" style="background:#eef;" | "Med Information" | ||
|- | |- | ||
! style="width:9em; text-align:left;" | Generic name(s) | ! style="width:9em; text-align:left;" | Generic name(s) | ||
| Line 41: | Line 41: | ||
<templatedata> | <templatedata> | ||
{ | { | ||
"description": "Infobox + sections for a | "description": "Infobox + sections for a med entry. Short factual fields appear in a right-aligned infobox; longer prose fields render as full-width sections below.", | ||
"params": { | "params": { | ||
"generic": { "label": "Generic name(s)", "description": "Comma-separated if more than one. Defaults to the page name.", "type": "string" }, | "generic": { "label": "Generic name(s)", "description": "Comma-separated if more than one. Defaults to the page name.", "type": "string" }, | ||
"brand": { "label": "Brand name(s)", "description": "Comma-separated.", "type": "string" }, | "brand": { "label": "Brand name(s)", "description": "Comma-separated.", "type": "string" }, | ||
"class": { "label": "Classification(s)","description": " | "class": { "label": "Classification(s)","description": "Med class(es), e.g. SSRI, NSAID.", "type": "string" }, | ||
"uses": { "label": "Common uses", "type": "string" }, | "uses": { "label": "Common uses", "type": "string" }, | ||
"effects": { "label": "Effects", "description": "Therapeutic and side effects.", "type": "string" }, | "effects": { "label": "Effects", "description": "Therapeutic and side effects.", "type": "string" }, | ||
Latest revision as of 02:42, 16 May 2026
Usage
{{MedInfo
| generic =
| brand =
| class =
| uses =
| effects =
| titration =
| anecdotes =
}}
Infobox + sections for a med entry. Short factual fields appear in a right-aligned infobox; longer prose fields render as full-width sections below.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Generic name(s) | generic | Comma-separated if more than one. Defaults to the page name. | String | optional |
| Brand name(s) | brand | Comma-separated. | String | optional |
| Classification(s) | class | Med class(es), e.g. SSRI, NSAID. | String | optional |
| Common uses | uses | no description | String | optional |
| Effects | effects | Therapeutic and side effects. | String | optional |
| Titration strategies | titration | Wikitext; renders as a full-width section. | Content | optional |
| Personal anecdotes | anecdotes | Wikitext; renders as a full-width section. Auto-includes a 'not medical advice' disclaimer. | Content | optional |