Difference between revisions of "Template:Infobox tea/doc"

From blackwiki
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>
  
=== Usage ===
+
== Parameters ==
<pre>{{Infobox_Tea
+
''Parameters '''cannot''' be left blank with the exception of '''Tea_image''' and '''module'''''.
| Tea_name            =
 
| Tea_type            =
 
| Tea_color          =
 
| Tea_image          =
 
| Tea_origin          =
 
| Tea_names          =
 
| Tea_quick          =
 
| Tea_infusion        =
 
| Tea_temperature    =
 
| Tea_time            =
 
| Tea_infusion_number =
 
| Tea_quantity        =
 
| Tea_hour            =
 
}}</pre>
 
=== Parameters ===
 
*''Parameters '''cannot''' be left blank with the exception of '''Tea_image'''''.
 
  
 
;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>[[Image:NameOfImage|Pixels|Alt]]</nowiki></code>
+
;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:WikiProject Food and drink]]
+
[[Category:Coffee and tea templates]]
[[Category:Coffee and Tea Taskforce]]
+
[[Category:Drink infobox templates|Tea]]
[[Category:Coffee and tea infobox templates]]
+
[[Category:Coffee and Tea Taskforce templates]]
 
+
[[Category:Infobox templates with module parameter|Tea]]
[[es:Plantilla:Ficha de té]]
+
}}</includeonly>
</includeonly>
 

Latest revision as of 21:30, 25 April 2020

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