Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:MedInfo: Difference between revisions

Template page
No edit summary
Tag: Reverted
Terminology: medicine → med (shorter form per user preference)
 
(3 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%;" |{{{PAGENAME}}}
|+ style="font-size:115%;" |'{{{PAGENAME}}}
! colspan="2" style="background:#eef;" | "Medication Information"
! 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 17: Line 17:
! style="text-align:left;" | Effects
! style="text-align:left;" | Effects
| {{{effects|—}}}
| {{{effects|—}}}
}}{{#if:{{{titration|}}}|
|}{{#if:{{{titration|}}}|
== Titration strategies ==
== Titration strategies ==
{{{titration}}}
{{{titration}}}
Line 41: Line 41:
<templatedata>
<templatedata>
{
{
   "description": "Infobox + sections for a medication entry. Short factual fields appear in a right-aligned infobox; longer prose fields render as full-width sections below.",
   "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": "Drug class(es), e.g. SSRI, NSAID.", "type": "string" },
     "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" },