MedTemplate: Difference between revisions
Template page
More actions
MDElliottMD (talk | contribs) No edit summary |
MDElliottMD (talk | contribs) No edit summary |
||
| Line 5: | Line 5: | ||
{{#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:#16a34a; color:#fff; padding:0.4em; text-align:left;"> | <tr><th colspan="2" style="background:#16a34a; color:#fff; padding:0.4em; text-align:left;">Pharmacy</th></tr> | ||
{{#if:{{{ | {{#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>}} | |||
<tr><th colspan="2" style="background:#7c3aed; color:#fff; padding:0.4em; text-align:left;">Pharmacology</th></tr> | <tr><th colspan="2" style="background:#7c3aed; color:#fff; padding:0.4em; text-align:left;">Pharmacology</th></tr> | ||
{{#if:{{{routes|}}}|<tr><th style="text-align:left;">Routes</th><td>{{{routes}}}</td></tr>}} | {{#if:{{{routes|}}}|<tr><th style="text-align:left;">Routes</th><td>{{{routes}}}</td></tr>}} | ||
| Line 17: | Line 17: | ||
{{#if:{{{pregnancy|}}}|<tr><th style="text-align:left;">Pregnancy</th><td>{{{pregnancy}}}</td></tr>}} | {{#if:{{{pregnancy|}}}|<tr><th style="text-align:left;">Pregnancy</th><td>{{{pregnancy}}}</td></tr>}} | ||
{{#if:{{{legal|}}}|<tr><th style="text-align:left;">Legal status</th><td>{{{legal}}}</td></tr>}} | {{#if:{{{legal|}}}|<tr><th style="text-align:left;">Legal status</th><td>{{{legal}}}</td></tr>}} | ||
{{#if:{{{mechanism|}}}|<tr><th style="text-align:left;">Purported mechanism</th><td>{{{mechanism}}}</td></tr>}} | |||
</table>{{#cargo_store:_table=Medicines | </table>{{#cargo_store:_table=Medicines | ||
| generic={{{generic|}}} | | generic={{{generic|}}} | ||
| Line 24: | Line 25: | ||
| mechanism={{{mechanism|}}} | | mechanism={{{mechanism|}}} | ||
| uses={{{uses|}}} | | uses={{{uses|}}} | ||
| | | starting_dose={{{starting_dose|}}} | ||
| preparations={{{preparations|}}} | |||
| routes={{{routes|}}} | | routes={{{routes|}}} | ||
| onset={{{onset|}}} | | onset={{{onset|}}} | ||
| Line 46: | Line 48: | ||
{{{pregnancy_details}}}}}{{#if:{{{monitoring|}}}|<h2 id="Monitoring">Monitoring</h2> | {{{pregnancy_details}}}}}{{#if:{{{monitoring|}}}|<h2 id="Monitoring">Monitoring</h2> | ||
{{{monitoring}}}}}{{#if:{{{counseling|}}}|<h2 id="Counseling">Patient counseling</h2> | {{{monitoring}}}}}{{#if:{{{counseling|}}}|<h2 id="Counseling">Patient counseling</h2> | ||
{{{counseling}}}}} | {{{counseling}}}}}<h2 id="Anecdotes">Personal experience</h2> | ||
''The following are personal accounts and not medical advice.'' | ''The following are personal accounts and not medical advice.'' | ||
{{#if:{{{anecdotes|}}}| | {{#if:{{{anecdotes|}}}| | ||
| Line 61: | Line 63: | ||
| mechanism=String | | mechanism=String | ||
| uses=String | | uses=String | ||
| | | starting_dose=String | ||
| preparations=String | |||
| routes=List (,) of String | | routes=List (,) of String | ||
| onset=String | | onset=String | ||
| Line 81: | Line 84: | ||
| structure = | | structure = | ||
| classes = | | classes = | ||
| uses = | | uses = | ||
| | | starting_dose = | ||
| preparations = | |||
| routes = | | routes = | ||
| onset = | | onset = | ||
| Line 91: | Line 94: | ||
| pregnancy = | | pregnancy = | ||
| legal = | | legal = | ||
| mechanism = | |||
| intro = | | intro = | ||
| pharmacokinetics = | | pharmacokinetics = | ||
| Line 108: | Line 112: | ||
</pre> | </pre> | ||
Notes: | |||
* ''The'' <code>adverse</code> ''parameter is deprecated — its content is still rendered, but new pages should combine therapeutic and adverse effects into the single'' <code>effects</code> ''parameter.'' | |||
* ''The'' <code>formula</code> ''parameter is deprecated and no longer rendered. It can be removed from existing pages.'' | |||
This template also populates the '''Medicines''' Cargo table — see [[Special:CargoTables/Medicines]]. | This template also populates the '''Medicines''' Cargo table — see [[Special:CargoTables/Medicines]]. | ||