Difference between revisions of "Template:Infobox tea/doc"
Jump to navigation
Jump to search
imported>DonBarredora m (+es) |
imported>Vanisaac m (→Parameters: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other) |
||
| (13 intermediate revisions by 9 users not shown) | |||
| Line 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
| + | {{Lua|Module:Infobox|Module:InfoboxImage}} | ||
| + | {{Parameter names example|Tea_name|Tea_image|Tea_type|Tea_color|Tea_names|Tea_origin|Tea_quick|Tea_infusion|Tea_temperature|Tea_time|Tea_infusion_number|Tea_quantity|Tea_hour}} | ||
| + | |||
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> | <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> | ||
| + | == Usage == | ||
| + | <pre style="overflow: auto;">{{Infobox tea | ||
| + | | Tea_name = | ||
| + | | Tea_type = | ||
| + | | Tea_color = | ||
| + | | Tea_image = | ||
| + | | Tea_origin = | ||
| + | | Tea_names = | ||
| + | | Tea_quick = | ||
| + | | Tea_temperature = | ||
| + | | Tea_time = | ||
| + | | module = | ||
| + | }}</pre> | ||
| − | + | == Parameters == | |
| − | + | ''Parameters '''cannot''' be left blank with the exception of '''Tea_image''' and '''module'''''. | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
;Tea_name: Name of the Tea | ;Tea_name: Name of the Tea | ||
;Tea_type: Type of tea (black, white, green) | ;Tea_type: Type of tea (black, white, green) | ||
;Tea_color: Physical colour of the tea | ;Tea_color: Physical colour of the tea | ||
| − | ;Tea_image: Use <code><nowiki> | + | ;Tea_image: File name of the image. Use only the file name such as: <code><nowiki>Placeholder.png</nowiki></code> |
;Tea_origin: Origin of the tea, preferably linked | ;Tea_origin: Origin of the tea, preferably linked | ||
;Tea_names: Other name(s) | ;Tea_names: Other name(s) | ||
;Tea_quick: A quick description of the tea (smell, taste, colour) | ;Tea_quick: A quick description of the tea (smell, taste, colour) | ||
| + | ;module: Used for embedding other infoboxes into this one | ||
| − | <includeonly> | + | <includeonly>{{Sandbox other|| |
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS --> | <!-- CATEGORIES AND INTERWIKIS HERE, THANKS --> | ||
| − | [[Category: | + | [[Category:Coffee and tea templates]] |
| − | [[Category: | + | [[Category:Drink infobox templates|Tea]] |
| − | [[Category:Coffee and | + | [[Category:Coffee and Tea Taskforce templates]] |
| − | + | [[Category:Infobox templates with module parameter|Tea]] | |
| − | [[ | + | }}</includeonly> |
| − | </includeonly> | ||
Latest revision as of 21:30, 25 April 2020
| 40px | This is a documentation subpage for Template:Infobox tea. It contains usage information, categories and other content that is not part of the original template page. |
| 30px | This template uses Lua: |
Template:Parameter names example
Usage
{{Infobox tea
| Tea_name =
| Tea_type =
| Tea_color =
| Tea_image =
| Tea_origin =
| Tea_names =
| Tea_quick =
| Tea_temperature =
| Tea_time =
| module =
}}
Parameters
Parameters cannot be left blank with the exception of Tea_image and module.
- Tea_name
- Name of the Tea
- Tea_type
- Type of tea (black, white, green)
- Tea_color
- Physical colour of the tea
- Tea_image
- File name of the image. Use only the file name such as:
Placeholder.png - Tea_origin
- Origin of the tea, preferably linked
- Tea_names
- Other name(s)
- Tea_quick
- A quick description of the tea (smell, taste, colour)
- module
- Used for embedding other infoboxes into this one