Template:MedTemplate: Difference between revisions
Appearance
MDElliottMD (talk | contribs) Revert palette sweep: restore tri-color section headers (Summary blue, Pharmacy green, Pharmacology purple) -- the distinction-by-section was deliberate Tag: Manual revert |
MDElliottMD (talk | contribs) Sweep: "indications" -> "problems" sitewide terminology update (preserves MedTemplate param name) |
||
| 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> | The <code>problems</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> | * ''The'' <code>problems</code> ''parameter feeds the "Problems" H2 section on the rendered page. Content typically consists of'' <code><problem ref="..."/></code> ''tags (formerly'' <code><problem ref="..."/></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.'' | ||
Revision as of 01:37, 19 May 2026
This template defines the table "Medicines". View table.
Usage
Medicine entry template. Fill in fields below; empty fields are auto-omitted.
The problems 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).
{{MedTemplate
| generic =
| brand =
| structure =
| classes =
| uses =
| starting_dose =
| preparations =
| fda_max =
| pill_id =
| 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
problemsparameter feeds the "Problems" H2 section on the rendered page. Content typically consists of<problem ref="..."/>tags (formerly<problem ref="..."/>). UseSuggestProblemor the per-page+ Add a problemlink to propose new entries. - The
adverseparameter is deprecated — its content is still rendered, but new pages should combine therapeutic and adverse effects into the singleeffectsparameter. - The
formulaparameter is deprecated and no longer rendered. It can be removed from existing pages. - The single
pharmacokineticsparameter is deprecated; new pages should usepk_absorption,pk_distribution,pk_metabolism, andpk_elimination.
This template also populates the Medicines Cargo table — see Special:CargoTables/Medicines.