Template:Infobox Preparation
More actions
An infobox for articles about a named food, drink or medicine that contains cannabis: a dish, a drink, a sweet, a condiment, a remedy of a medical tradition, a pharmacy preparation or a patent medicine, such as Bhangolu. It is used on the article about the preparation itself, never on a page that only mentions it.
Cannabis products such as bhang, charas, ganja, hashish and kif do not carry it. Nor does an article about a whole cuisine or a whole medical tradition.
Usage
A dish recorded in one source:
{{Infobox Preparation
|name = Bhangolu
|kind = Dish
|plant_part = Seed
|country = India
|recorded_in = Indian Hemp Drugs Commission
|first_recorded = 1880<ref name="IHDC1894-V"/>
|still_made = Not known
}}
All parameters:
{{Infobox Preparation
|name =
|local_name =
|transliteration =
|language =
|image =
|image_caption =
|image_alt =
|kind =
|plant_part =
|other_names =
|country =
|people =
|recorded_in =
|first_recorded =
|still_made =
}}
Leave a field empty rather than guess it. Every value must come from a source cited in the article.
Parameters
| Parameter | Required | Description |
|---|---|---|
| name | No | The name as the article's title gives it, without any bracketed disambiguator. Defaults to the page title |
| local_name | No | The name in its own script, where that is not the Latin alphabet (Thai, Devanagari, Arabic, Chinese characters). Shown under the title. Plain text: no link and no citation |
| transliteration | No | A scholarly transliteration of the name where it differs from the title, such as the IAST form of a Sanskrit name. Shown under the title in italics. Plain text |
| language | No | The language the name comes from. Display only; a link is allowed |
| image | No | Filename of an image of the preparation |
| image_caption | No | Caption for the image |
| image_alt | No | Alternative text for the image. Defaults to the caption, then to the name |
| kind | Yes | One or more of Dish, Drink, Sweet, Condiment, Traditional medicine, Pharmacy preparation, Patent medicine, separated by semicolons. Any other value raises a warning on the page and is not stored. See Property:Has preparation kind |
| plant_part | No | One or more of Leaf, Flower, Resin, Seed, Seed oil, Whole plant, separated by semicolons: the part of the plant the cited sources name. See Property:Has plant part used |
| other_names | No | Other spellings and other names for the same preparation, separated by semicolons. Plain text: no links and no citations |
| country | No | Bare titles of the countries where the preparation was made, separated by semicolons. The template makes the links |
| people | No | Bare titles of the articles on the peoples the sources say make or made it, separated by semicolons. The template makes the links. Only where a source names the people |
| recorded_in | No | Bare titles of the wiki's articles on the source works that record the preparation (a pharmacopoeia, a formulary, a recipe book, a report), separated by semicolons. The template makes the links |
| first_recorded | No | A four-digit year followed by its citation: the earliest year in which a source cited on the page records the preparation. Only the year is stored. A value that does not start with a four-digit year is shown but not stored |
| still_made | No | Yes, No longer made or Not known, as the cited sources show. See Property:Still made |
Categories
The template files the page by kind:
- Dish, Drink, Sweet and Condiment: Category:Cannabis foods and drinks
- Traditional medicine, Pharmacy preparation and Patent medicine: Category:Cannabis medicines
A preparation with kinds in both groups is in both categories. Do not add these categories by hand.
Semantic properties
The template stores the following properties with #set. The other parameters are display only.
| Parameter | Property | Type |
|---|---|---|
| kind | Has preparation kind | Text, fixed values, several values |
| plant_part | Has plant part used | Text, fixed values, several values |
| local_name | Has local name | Text |
| transliteration, other_names | Has alternate name | Text, several values |
| country | Has country | Page, several values |
| people | Has ethnic group | Page, several values |
| recorded_in | Recorded in | Page, several values |
| first_recorded (the year only) | Has first recorded | Date |
| still_made | Still made | Text, fixed values |
The lists of accessions on country and ethnic-group pages read only pages in Category:Accessions, so a preparation page does not enter them.