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
Rename 'Indications' H2 to 'Problems' (Phase 2 of indications-to-problems rebuild); 'indications' template parameter retained for back-compat
Flip '+ Add a problem' link target from SuggestIndication to SuggestProblem (Phase 3 of indications-to-problems rebuild)
Line 47: Line 47:
{{#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:SuggestIndication/{{FULLPAGENAME}}|+ Add a problem]]</span><h2 id="Titration">Titration strategies</h2>
<span class="pcp-problem-suggest-wrap">[[Special:SuggestProblem/{{FULLPAGENAME}}|+ Add a problem]]</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>}}


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


The <code>indications</code> parameter still uses the historical name in template wikitext to preserve compatibility with every existing medicine page; the rendered H2 heading on the page now reads "Problems" (see the [[Pharmacopedia:Problems repository]] design note).
The <code>indications</code> parameter still uses the historical name in template wikitext to preserve compatibility with every existing medicine page; the rendered H2 heading on the page now reads "Problems" (see [[Special:Problems]] for the repository and [[Pharmacopedia:Citation needed]] adjacent context).


<pre>
<pre>
Line 148: Line 148:


Notes:
Notes:
* ''The'' <code>indications</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;indication ref="..."/&gt;</code>'').''
* ''The'' <code>indications</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;indication 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.''