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
MedTemplate: add optional history rendered param (History H2 after intro), per home-claude
Remove em-dashes from empty-field placeholders and doc prose (house no-em-dash rule)
Line 23: Line 23:
<pharmaExperience/>
<pharmaExperience/>
<div class="med-sec-head" id="Problems"><h2 class="sec-title">Problems</h2></div>
<div class="med-sec-head" id="Problems"><h2 class="sec-title">Problems</h2></div>
{{#if:{{{indications|}}}|{{{indications}}}|<p style="opacity:0.7; font-style:italic;">No problems yet — be the first to suggest one.</p>}}
{{#if:{{{indications|}}}|{{{indications}}}|<p style="opacity:0.7; font-style:italic;">No problems yet. Be the first to suggest one.</p>}}


<span class="pcp-problem-suggest-wrap">[[Special:SuggestProblem/{{FULLPAGENAME}}|+ Add a problem]]</span><div class="med-sec-head" id="Titration"><h2 class="sec-title">Titration strategies</h2></div>
<span class="pcp-problem-suggest-wrap">[[Special:SuggestProblem/{{FULLPAGENAME}}|+ Add a problem]]</span><div class="med-sec-head" id="Titration"><h2 class="sec-title">Titration strategies</h2></div>
{{#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}}|+ Add a titration strategy]]</span>
<span class="pcp-titration-suggest-wrap">[[Special:SuggestTitration/{{FULLPAGENAME}}|+ Add a titration strategy]]</span>
Line 33: Line 33:
{{#if:{{{effects|}}}{{{adverse|}}}|{{{effects|}}}{{#if:{{{adverse|}}}|
{{#if:{{{effects|}}}{{{adverse|}}}|{{{effects|}}}{{#if:{{{adverse|}}}|


{{{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}}|+ Add an effect]]</span>
<span class="pcp-effect-suggest-wrap">[[Special:SuggestEffect/{{FULLPAGENAME}}|+ Add an effect]]</span>
Line 53: Line 53:
{{{monitoring}}}}}{{#if:{{{counseling|}}}|<div class="med-sec-head" id="Counseling"><h2 class="sec-title">Patient counseling</h2></div>
{{{monitoring}}}}}{{#if:{{{counseling|}}}|<div class="med-sec-head" id="Counseling"><h2 class="sec-title">Patient counseling</h2></div>
{{{counseling}}}}}<div class="med-sec-head" id="Anecdote"><h2 class="sec-title">Relevant anecdote</h2></div>
{{{counseling}}}}}<div class="med-sec-head" id="Anecdote"><h2 class="sec-title">Relevant anecdote</h2></div>
{{#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}}|+ Add an anecdote]]</span>
<span class="pcp-anecdote-suggest-wrap">[[Special:SuggestAnecdote/{{FULLPAGENAME}}|+ Add an anecdote]]</span>
Line 130: Line 130:
Notes:
Notes:
* ''The'' <code>problems</code> ''parameter feeds the "Problems" H2 section on the rendered page. Content typically consists of'' <code>&lt;problem ref="..."/&gt;</code> ''tags (formerly'' <code>&lt;problem ref="..."/&gt;</code>'').'' ''Use'' <code>[[Special:SuggestProblem|SuggestProblem]]</code> ''or the per-page'' <code>+ Add a problem</code> ''link to propose new entries.''
* ''The'' <code>problems</code> ''parameter feeds the "Problems" H2 section on the rendered page. Content typically consists of'' <code>&lt;problem ref="..."/&gt;</code> ''tags (formerly'' <code>&lt;problem ref="..."/&gt;</code>'').'' ''Use'' <code>[[Special:SuggestProblem|SuggestProblem]]</code> ''or the per-page'' <code>+ Add a problem</code> ''link to propose new entries.''
* ''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>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.''
* ''The'' <code>formula</code> ''parameter is deprecated and no longer rendered. It can be removed from existing pages.''
* ''The single'' <code>pharmacokinetics</code> ''parameter is deprecated; new pages should use'' <code>pk_absorption</code>'','' <code>pk_distribution</code>'','' <code>pk_metabolism</code>'', and'' <code>pk_elimination</code>''.''
* ''The single'' <code>pharmacokinetics</code> ''parameter is deprecated; new pages should use'' <code>pk_absorption</code>'','' <code>pk_distribution</code>'','' <code>pk_metabolism</code>'', and'' <code>pk_elimination</code>''.''


This template also populates the '''Medicines''' Cargo table — see [[Special:CargoTables/Medicines]].
This template also populates the '''Medicines''' Cargo table. See [[Special:CargoTables/Medicines]].


[[Category:Templates]]
[[Category:Templates]]
</noinclude>
</noinclude>