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
Terminology sweep (site-wide): drug/medication → medicine
Terminology: medicine → med (shorter form per user preference)
 
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;" | "Medicine 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 41: Line 41:
<templatedata>
<templatedata>
{
{
   "description": "Infobox + sections for a medicine 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": "Medicine 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" },