Template:PlantMedTemplate: Difference between revisions
MDElliottMD (talk | contribs) Create Template:PlantMedTemplate: sibling of MedTemplate, structured for whole-plant entities. Plant-identity fields (binomial, family, common_names, native_range, cultivars, parts_used, cultivation) + plant-specific narrative H2 sections (Botany, Traditional uses, Preparations, Active constituents, Prohibition history). Per-preparation PK lives in Preparations section rather than infobox. interactionsummary field per the pharmacogenomics design. Same H2 anchor convention as MedTemplate. |
MDElliottMD (talk | contribs) Patch PlantMedTemplate to canonical body section order per project_plant_medicine_page_spec.md set 2026-05-18: traditional_uses now renders BEFORE botany (was reversed), and the separate prohibition_history H2 has been removed (prohibition folds into traditional_uses as its closing arc). Other section order unchanged from v1. Same template fields; no template-call call sites need updating. |
||
| Line 18: | Line 18: | ||
| legal = short status | | legal = short status | ||
| interactionsummary = pharmacogenomic + DDI summary chip | | interactionsummary = pharmacogenomic + DDI summary chip | ||
| intro = paragraph | | intro = bold-lead history-first paragraph; reaches a person or place inside it | ||
| traditional_uses = full History and traditional use H2 content (THE SPINE; 40-55% of page; prohibition history folds in here as the closing arc, no separate section) | |||
| traditional_uses = | | traditional_geography = optional geography subsection (woven into traditional_uses preferred) | ||
| traditional_geography = | | botany = Botany and identification H2 content | ||
| | | constituents = full Active constituents H2 content | ||
| | | preparations = full Preparations H2 content (cultural-historical level only; NO how-to) | ||
| indications = problems treated (legacy parameter name; renders under Problems H2) | | indications = problems treated (legacy parameter name; renders under Problems H2) | ||
| dosing = titration / dosing | | dosing = titration / dosing | ||
| effects = effects content | | effects = effects content | ||
| pharmacokinetics = PK content | | pharmacokinetics = PK content (scoped-minimal on plant pages; PGx pass deepens later) | ||
| pharmacodynamics = PD content | | pharmacodynamics = PD content (scoped-minimal on plant pages; PGx pass deepens later) | ||
| interactions = usually <pharmaInteractions/> | | interactions = usually <pharmaInteractions/> | ||
| pregnancy_details = expanded | | pregnancy_details = expanded | ||
| monitoring = if applicable | | monitoring = if applicable | ||
| counseling = patient counseling | | counseling = patient counseling | ||
| anecdotes = anecdote content | | anecdotes = anecdote content (Pendell quotes spread through traditional_uses ideally; one can sit here if it's about the experience) | ||
| seealso = list of related pages | | seealso = list of related pages | ||
| references = usually <references/> | | references = usually <references/> | ||
| Line 40: | Line 39: | ||
</pre> | </pre> | ||
Sibling of [[Template:MedTemplate]], structured for whole-plant entities (botanical medicines) rather than single molecules. Use for Cannabis, Opium poppy, Peyote, | Sibling of [[Template:MedTemplate]], structured for whole-plant entities (botanical medicines) rather than single molecules. Use for Cannabis, Opium poppy, Coca, Peyote, San Pedro cactus, Psilocybin mushrooms, Salvia divinorum, Iboga, Khat, Datura, Mandrake, Henbane, Kava, Betel, Nutmeg, Tobacco, Coffee, Tea, Yerba mate, Guarana, etc. (sub-spec owed for preparations and animal sources like Ayahuasca and Bufo alvarius). | ||
Section order is canonical per the plant-medicine-page spec (set 2026-05-18 by web-claude editorial directive): History and traditional use BEFORE Botany, prohibition folded INTO history as its closing arc rather than a separate section. | |||
The indications parameter name is preserved for back-compat with MedTemplate even though the rendered heading is Problems. | The indications parameter name is preserved for back-compat with MedTemplate even though the rendered heading is Problems. | ||
| Line 73: | Line 67: | ||
}}{{#if:{{{intro|}}}| | }}{{#if:{{{intro|}}}| | ||
{{{intro}}} | {{{intro}}} | ||
}}{{#if:{{{ | }}{{#if:{{{traditional_uses|}}}|<h2 id="History">History and traditional use</h2> | ||
{{{traditional_uses}}} | {{{traditional_uses}}} | ||
}}{{#if:{{{traditional_geography|}}}|<h3 id="Geography">Geography and peoples</h3> | }}{{#if:{{{traditional_geography|}}}|<h3 id="Geography">Geography and peoples</h3> | ||
{{{traditional_geography}}} | {{{traditional_geography}}} | ||
}}{{#if:{{{botany|}}}|<h2 id="Botany">Botany and identification</h2> | |||
{{{botany}}} | |||
}}{{#if:{{{constituents|}}}|<h2 id="Constituents">Active constituents</h2> | |||
{{{constituents}}} | |||
}}{{#if:{{{preparations|}}}|<h2 id="Preparations">Preparations</h2> | }}{{#if:{{{preparations|}}}|<h2 id="Preparations">Preparations</h2> | ||
{{{preparations}}} | {{{preparations}}} | ||
}}{{#if:{{{ | }}{{#if:{{{pharmacokinetics|}}}|<h2 id="Pharmacokinetics">Pharmacokinetics</h2> | ||
{{{ | {{{pharmacokinetics}}} | ||
}}{{#if:{{{pharmacodynamics|}}}|<h2 id="Pharmacodynamics">Pharmacodynamics</h2> | |||
{{{pharmacodynamics}}} | |||
}}<h2 id="Experience">Experience</h2> | }}<h2 id="Experience">Experience</h2> | ||
<pharmaExperience/> | <pharmaExperience/> | ||
| Line 97: | Line 95: | ||
<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> | ||
{{#if:{{{interactions|}}}|<h2 id="Interactions">Interactions</h2> | |||
{{{interactions}}} | {{{interactions}}} | ||
}}{{#if:{{{pregnancy_details|}}}|<h2 id="Pregnancy">Pregnancy and lactation</h2> | }}{{#if:{{{pregnancy_details|}}}|<h2 id="Pregnancy">Pregnancy and lactation</h2> | ||
{{{pregnancy_details}}} | {{{pregnancy_details}}} | ||
Revision as of 07:10, 19 May 2026
Usage
{{PlantMedTemplate
| images = [[File:plant-photo-1.jpg|frameless|240px]] [[File:plant-photo-2.jpg|frameless|240px]]
| binomial = Genus species L.
| family = Family name
| common_names = common, vernacular, names
| native_range = geographic region
| cultivars = varieties / subspecies / chemovars
| parts_used = flowering tops, leaves, resin, seeds, root
| cultivation = brief context
| preparations_summary = one-line list of preparation forms
| constituents_summary = one-line summary of major constituents (linked)
| mechanism = one-line mechanism summary
| pregnancy = short flag
| legal = short status
| interactionsummary = pharmacogenomic + DDI summary chip
| intro = bold-lead history-first paragraph; reaches a person or place inside it
| traditional_uses = full History and traditional use H2 content (THE SPINE; 40-55% of page; prohibition history folds in here as the closing arc, no separate section)
| traditional_geography = optional geography subsection (woven into traditional_uses preferred)
| botany = Botany and identification H2 content
| constituents = full Active constituents H2 content
| preparations = full Preparations H2 content (cultural-historical level only; NO how-to)
| indications = problems treated (legacy parameter name; renders under Problems H2)
| dosing = titration / dosing
| effects = effects content
| pharmacokinetics = PK content (scoped-minimal on plant pages; PGx pass deepens later)
| pharmacodynamics = PD content (scoped-minimal on plant pages; PGx pass deepens later)
| interactions = usually <pharmaInteractions/>
| pregnancy_details = expanded
| monitoring = if applicable
| counseling = patient counseling
| anecdotes = anecdote content (Pendell quotes spread through traditional_uses ideally; one can sit here if it's about the experience)
| seealso = list of related pages
| references = usually <references/>
}}
Sibling of Template:MedTemplate, structured for whole-plant entities (botanical medicines) rather than single molecules. Use for Cannabis, Opium poppy, Coca, Peyote, San Pedro cactus, Psilocybin mushrooms, Salvia divinorum, Iboga, Khat, Datura, Mandrake, Henbane, Kava, Betel, Nutmeg, Tobacco, Coffee, Tea, Yerba mate, Guarana, etc. (sub-spec owed for preparations and animal sources like Ayahuasca and Bufo alvarius).
Section order is canonical per the plant-medicine-page spec (set 2026-05-18 by web-claude editorial directive): History and traditional use BEFORE Botany, prohibition folded INTO history as its closing arc rather than a separate section.
The indications parameter name is preserved for back-compat with MedTemplate even though the rendered heading is Problems.