Jump to content

Template:MedTemplate: Difference between revisions

From Pharmacopedia
No edit summary
No edit summary
Line 40: Line 40:
{{{pharmacodynamics}}}}}{{#if:{{{indications|}}}|<h2 id="Indications">Indications</h2>
{{{pharmacodynamics}}}}}{{#if:{{{indications|}}}|<h2 id="Indications">Indications</h2>
{{{indications}}}}}<h2 id="Titration">Titration strategies</h2>
{{{indications}}}}}<h2 id="Titration">Titration strategies</h2>
<!-- PCP_TITRATIONS_BEGIN -->{{#if:{{{dosing|}}}|
{{#if:{{{dosing|}}}|{{{dosing}}}|<p style="opacity:0.7; font-style:italic;">No titration strategies yet — be the first to suggest one.</p>}}
{{{dosing}}}}}
<!-- PCP_TITRATIONS_END -->
{{#if:{{{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}}|+ Suggest a titration strategy]]</span>


<h2 id="Effects">Effects</h2>
<h2 id="Effects">Effects</h2>
<!-- PCP_EFFECTS_BEGIN -->{{#if:{{{effects|}}}|
{{#if:{{{effects|}}}{{{adverse|}}}|{{{effects|}}}{{#if:{{{adverse|}}}|
{{{effects}}}}}{{#if:{{{adverse|}}}|


{{{adverse}}}}}
{{{adverse}}}}}|<p style="opacity:0.7; font-style:italic;">No effects listed yet — be the first to suggest one.</p>}}
<!-- PCP_EFFECTS_END -->
{{#if:{{{effects|}}}{{{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}}|+ Suggest an effect]]</span>
Line 62: Line 56:
{{{monitoring}}}}}{{#if:{{{counseling|}}}|<h2 id="Counseling">Patient counseling</h2>
{{{monitoring}}}}}{{#if:{{{counseling|}}}|<h2 id="Counseling">Patient counseling</h2>
{{{counseling}}}}}<h2 id="Anecdote">Relevant anecdote</h2>
{{{counseling}}}}}<h2 id="Anecdote">Relevant anecdote</h2>
<!-- PCP_ANECDOTES_BEGIN -->{{#if:{{{anecdotes|}}}|
{{#if:{{{anecdotes|}}}|{{{anecdotes}}}|<p style="opacity:0.7; font-style:italic;">No anecdotes yet — share a relevant one.</p>}}
{{{anecdotes}}}}}
<!-- PCP_ANECDOTES_END -->
{{#if:{{{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}}|+ Suggest an anecdote]]</span>
{{#if:{{{seealso|}}}|<h2 id="SeeAlso">See also</h2>
 
<discuss slug="personal-experience"/>{{#if:{{{seealso|}}}|<h2 id="SeeAlso">See also</h2>
{{{seealso}}}}}{{#if:{{{references|}}}|<h2 id="References">References</h2>
{{{seealso}}}}}{{#if:{{{references|}}}|<h2 id="References">References</h2>
{{{references}}}}}[[Category:Medicines]]</includeonly><noinclude>
{{{references}}}}}[[Category:Medicines]]</includeonly><noinclude>
Line 109: Line 101:
| pregnancy        =  
| pregnancy        =  
| legal            =  
| legal            =  
| mechanism        =
| mechanis
| intro            =
| pharmacokinetics  =
| pharmacodynamics  =
| indications      =
| dosing            =
| effects          =
| contraindications =
| interactions      =
| pregnancy_details =
| monitoring        =
| counseling        =
| anecdotes        =
| seealso          =
| references        =
}}
</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]].
 
[[Category:Templates]]
</noinclude>

Revision as of 23:37, 12 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      = 
| routes            = 
| onset             = 
| duration          = 
| halflife          = 
| bioavailability   = 
| pregnancy         = 
| legal             = 
| mechanis