Jump to content

Template:MedTemplate: Difference between revisions

From Pharmacopedia
Pharmacopedia: remove Contraindications section
Pharmacopedia: rename Suggest -> Add on section buttons
Line 41: Line 41:
{{#if:{{{indications|}}}|{{{indications}}}|<p style="opacity:0.7; font-style:italic;">No indications yet — be the first to suggest one.</p>}}
{{#if:{{{indications|}}}|{{{indications}}}|<p style="opacity:0.7; font-style:italic;">No indications yet — be the first to suggest one.</p>}}


<span class="pcp-indication-suggest-wrap">[[Special:SuggestIndication/{{FULLPAGENAME}}|+ Suggest an indication]]</span><h2 id="Titration">Titration strategies</h2>
<span class="pcp-indication-suggest-wrap">[[Special:SuggestIndication/{{FULLPAGENAME}}|+ Add an indication]]</span><h2 id="Titration">Titration strategies</h2>
{{#if:{{{dosing|}}}|{{{dosing}}}|<p style="opacity:0.7; font-style:italic;">No titration strategies yet — be the first to suggest one.</p>}}
{{#if:{{{dosing|}}}|{{{dosing}}}|<p style="opacity:0.7; font-style:italic;">No titration strategies yet — be the first to suggest one.</p>}}


<span class="pcp-titration-suggest-wrap">[[Special:SuggestTitration/{{FULLPAGENAME}}|+ Suggest a titration strategy]]</span>
<span class="pcp-titration-suggest-wrap">[[Special:SuggestTitration/{{FULLPAGENAME}}|+ Add a titration strategy]]</span>


<h2 id="Effects">Effects</h2>
<h2 id="Effects">Effects</h2>
Line 51: Line 51:
{{{adverse}}}}}|<p style="opacity:0.7; font-style:italic;">No effects listed yet — be the first to suggest one.</p>}}
{{{adverse}}}}}|<p style="opacity:0.7; font-style:italic;">No effects listed yet — be the first to suggest one.</p>}}


<span class="pcp-effect-suggest-wrap">[[Special:SuggestEffect/{{FULLPAGENAME}}|+ Suggest an effect]]</span>
<span class="pcp-effect-suggest-wrap">[[Special:SuggestEffect/{{FULLPAGENAME}}|+ Add an effect]]</span>
{{#if:{{{pharmacokinetics|}}}{{{pk_absorption|}}}{{{pk_distribution|}}}{{{pk_metabolism|}}}{{{pk_elimination|}}}|<h2 id="Pharmacokinetics">Pharmacokinetics</h2>
{{#if:{{{pharmacokinetics|}}}{{{pk_absorption|}}}{{{pk_distribution|}}}{{{pk_metabolism|}}}{{{pk_elimination|}}}|<h2 id="Pharmacokinetics">Pharmacokinetics</h2>
{{#if:{{{pk_absorption|}}}|<h3 id="Absorption">Absorption</h3>
{{#if:{{{pk_absorption|}}}|<h3 id="Absorption">Absorption</h3>
Line 71: Line 71:
{{#if:{{{anecdotes|}}}|{{{anecdotes}}}|<p style="opacity:0.7; font-style:italic;">No anecdotes yet — share a relevant one.</p>}}
{{#if:{{{anecdotes|}}}|{{{anecdotes}}}|<p style="opacity:0.7; font-style:italic;">No anecdotes yet — share a relevant one.</p>}}


<span class="pcp-anecdote-suggest-wrap">[[Special:SuggestAnecdote/{{FULLPAGENAME}}|+ Suggest an anecdote]]</span>
<span class="pcp-anecdote-suggest-wrap">[[Special:SuggestAnecdote/{{FULLPAGENAME}}|+ Add an anecdote]]</span>
{{#if:{{{seealso|}}}|<h2 id="SeeAlso">See also</h2>
{{#if:{{{seealso|}}}|<h2 id="SeeAlso">See also</h2>
{{{seealso}}}}}{{#if:{{{references|}}}|<h2 id="References">References</h2>
{{{seealso}}}}}{{#if:{{{references|}}}|<h2 id="References">References</h2>

Revision as of 03:36, 14 May 2026

This template defines the table "Medicines". View table.

Usage

Medicine entry template. Fill in fields below; empty fields are auto-omitted.

{{MedTemplate
| generic           = 
| brand             = 
| structure         = 
| classes           = 
| uses              = 
| starting_dose     = 
| preparations      = 
| fda_max           = 
| routes            = 
| onset             = 
| duration          = 
| halflife          = 
| bioavailability   = 
| pregnancy         = 
| legal             = 
| mechanism         = 
| intro             = 
| indications       = 
| dosing            = 
| effects           = 
| pk_absorption     = 
| pk_distribution   = 
| pk_metabolism     = 
| pk_elimination    = 
| pharmacodynamics  =  
| interactions      = 
| pregnancy_details = 
| monitoring        = 
| counseling        = 
| anecdotes         = 
| seealso           = 
| references        = 
}}

Notes:

  • The adverse parameter is deprecated — its content is still rendered, but new pages should combine therapeutic and adverse effects into the single effects parameter.
  • The formula parameter is deprecated and no longer rendered. It can be removed from existing pages.
  • The single pharmacokinetics parameter is deprecated; new pages should use pk_absorption, pk_distribution, pk_metabolism, and pk_elimination.

This template also populates the Medicines Cargo table — see Special:CargoTables/Medicines.