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

Template:MedTemplate: Difference between revisions

Template page
Palette sweep: MedTemplate summary-table section headers all to #7c3aed purple (was blue + green, off-palette per the strict 4-color rule)
Tag: Reverted
Revert palette sweep: restore tri-color section headers (Summary blue, Pharmacy green, Pharmacology purple) -- the distinction-by-section was deliberate
Tag: Manual revert
Line 2: Line 2:
<caption style="font-size:120%; padding:0.4em; font-weight:bold;">{{{generic|{{PAGENAME}}}}}</caption>
<caption style="font-size:120%; padding:0.4em; font-weight:bold;">{{{generic|{{PAGENAME}}}}}</caption>
{{#if:{{{structure|}}}|<tr><td colspan="2" style="padding:0.8em; text-align:center;">[[File:{{{structure}}}|frameless|{{{structuresize|240px}}}|alt=Structure of {{{generic|{{PAGENAME}}}}}]]<br><small>'''Structure'''</small></td></tr>}}
{{#if:{{{structure|}}}|<tr><td colspan="2" style="padding:0.8em; text-align:center;">[[File:{{{structure}}}|frameless|{{{structuresize|240px}}}|alt=Structure of {{{generic|{{PAGENAME}}}}}]]<br><small>'''Structure'''</small></td></tr>}}
<tr><th colspan="2" style="background:#7c3aed; color:#fff; padding:0.4em; text-align:left;">Summary</th></tr>
<tr><th colspan="2" style="background:#2563eb; color:#fff; padding:0.4em; text-align:left;">Summary</th></tr>
{{#if:{{{brand|}}}|<tr><th style="text-align:left; width:9em;">Brand name(s)</th><td>{{{brand}}}</td></tr>}}
{{#if:{{{brand|}}}|<tr><th style="text-align:left; width:9em;">Brand name(s)</th><td>{{{brand}}}</td></tr>}}
{{#if:{{{classes|}}}|<tr><th style="text-align:left;">Classes</th><td>{{{classes}}}</td></tr>}}
{{#if:{{{classes|}}}|<tr><th style="text-align:left;">Classes</th><td>{{{classes}}}</td></tr>}}
{{#if:{{{uses|}}}|<tr><th style="text-align:left;">Common uses</th><td>{{{uses}}}</td></tr>}}
{{#if:{{{uses|}}}|<tr><th style="text-align:left;">Common uses</th><td>{{{uses}}}</td></tr>}}
<tr><th colspan="2" style="background:#7c3aed; color:#fff; padding:0.4em; text-align:left;">Pharmacy</th></tr>
<tr><th colspan="2" style="background:#16a34a; color:#fff; padding:0.4em; text-align:left;">Pharmacy</th></tr>
{{#if:{{{starting_dose|}}}|<tr><th style="text-align:left;">Starting dose</th><td>{{{starting_dose}}}</td></tr>}}
{{#if:{{{starting_dose|}}}|<tr><th style="text-align:left;">Starting dose</th><td>{{{starting_dose}}}</td></tr>}}
{{#if:{{{preparations|}}}|<tr><th style="text-align:left;">Preparations</th><td>{{{preparations}}}</td></tr>}}
{{#if:{{{preparations|}}}|<tr><th style="text-align:left;">Preparations</th><td>{{{preparations}}}</td></tr>}}