Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:PlantMedTemplate: Difference between revisions

Template page
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.
 
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
| botany              = botanical description
| 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    = historical / ethnobotanical use
| traditional_geography = optional geography subsection (woven into traditional_uses preferred)
| traditional_geography = where used historically
| botany              = Botany and identification H2 content
| preparations         = full Preparations H2 content
| constituents         = full Active constituents 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/>
| prohibition_history  = legal arc when relevant
| 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, Coca, Psilocybin mushrooms, Salvia divinorum, Iboga, Khat, Ayahuasca, Datura, etc.
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).


Differences from MedTemplate:
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.
 
* Plant-identity fields (binomial, family, common_names, native_range, cultivars, parts_used, cultivation) replace the molecule-identity fields (generic, brand, structure).
* Routes / onset / duration / halflife / bioavailability are omitted because they vary by preparation; per-preparation PK lives in the Preparations H2 section instead.
* The infobox carries summary-form fields (preparations_summary, constituents_summary); the full prose lives in dedicated H2 sections (Preparations, Active constituents).
* New H2 section Prohibition history for the small set of plants where the legal arc is its own narrative.


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:{{{botany|}}}|<h2 id="Botany">Botany and identification</h2>
}}{{#if:{{{traditional_uses|}}}|<h2 id="History">History and traditional use</h2>
{{{botany}}}
}}{{#if:{{{traditional_uses|}}}|<h2 id="Traditional">Traditional uses</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:{{{constituents|}}}|<h2 id="Constituents">Active constituents</h2>
}}{{#if:{{{pharmacokinetics|}}}|<h2 id="Pharmacokinetics">Pharmacokinetics</h2>
{{{constituents}}}
{{{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:{{{pharmacokinetics|}}}|<h2 id="Pharmacokinetics">Pharmacokinetics</h2>
{{#if:{{{interactions|}}}|<h2 id="Interactions">Interactions</h2>
{{{pharmacokinetics}}}
}}{{#if:{{{pharmacodynamics|}}}|<h2 id="Pharmacodynamics">Pharmacodynamics</h2>
{{{pharmacodynamics}}}
}}{{#if:{{{interactions|}}}|<h2 id="Interactions">Interactions</h2>
{{{interactions}}}
{{{interactions}}}
}}{{#if:{{{prohibition_history|}}}|<h2 id="Prohibition">Prohibition history</h2>
{{{prohibition_history}}}
}}{{#if:{{{pregnancy_details|}}}|<h2 id="Pregnancy">Pregnancy and lactation</h2>
}}{{#if:{{{pregnancy_details|}}}|<h2 id="Pregnancy">Pregnancy and lactation</h2>
{{{pregnancy_details}}}
{{{pregnancy_details}}}