Difference between revisions of "Template:Infobox laboratory equipment"

From blackwiki
Jump to navigation Jump to search
imported>Thumperward
(v/d/e is confusing on templates which are transcluded with params, so remove it. modern wikitable styling for header. allow name to inherit from article)
imported>Plasticspork
(Move to doc)
Line 1: Line 1:
<noinclude>{{start infobox page}}</noinclude><!--
+
{{Infobox
-->{{Infobox
+
|title        = {{{name|<includeonly>{{PAGENAME}}</includeonly>}}}
|title        = {{{name<includeonly>|{{PAGENAME}}</includeonly>}}}
+
|image        = {{#if:{{{image|}}}|[[Image:{{{image}}}|frameless]]}}
|image        = {{#if:{{{image<includeonly>|</includeonly>}}}|[[Image:{{{image}}}|200px]]}}
+
|caption      = {{{caption|}}}
|caption      = {{{caption<includeonly>|</includeonly>}}}
 
  
 
|label1 = Acronym
 
|label1 = Acronym
|data1  = {{{acronym<includeonly>|</includeonly>}}}
+
|data1  = {{{acronym|}}}
 
|label2 = Other names
 
|label2 = Other names
|data2  = {{{other_names<includeonly>|</includeonly>}}}
+
|data2  = {{{other_names|}}}
 
|label3 = Uses
 
|label3 = Uses
|data3  = {{{uses<includeonly>|</includeonly>}}}
+
|data3  = {{{uses|}}}
 
|label4 = <div style="line-height:1.1em;">Notable experiments</div>
 
|label4 = <div style="line-height:1.1em;">Notable experiments</div>
|data4  = {{{notable_experiments<includeonly>|</includeonly>}}}
+
|data4  = {{{notable_experiments|}}}
 
|label5 = Inventor
 
|label5 = Inventor
|data5  = {{{inventor<includeonly>|</includeonly>}}}
+
|data5  = {{{inventor|}}}
 
|label6 = Manufacturer
 
|label6 = Manufacturer
|data6  = {{{manufacturer<includeonly>|</includeonly>}}}
+
|data6  = {{{manufacturer|}}}
 
|label7 = Model
 
|label7 = Model
|data7  = {{{model<includeonly>|</includeonly>}}}
+
|data7  = {{{model|}}}
 
|label8 = Related items
 
|label8 = Related items
|data8  = {{{related<includeonly>|</includeonly>}}}
+
|data8  = {{{related|}}}
 
}}<noinclude>
 
}}<noinclude>
{{end infobox page}}
+
{{documentation}}
  
<!---Please add metadata to the <includeonly> section on the /doc subpage, not here!--->
+
<!---Please add metadata to the section on the /doc subpage, not here!--->
 
</noinclude>
 
</noinclude>

Revision as of 01:32, 7 October 2010

[[Category:Infobox templates|Template:Remove first word]]

Template documentation[view] [edit] [history] [purge]

Blank template

  1. redirect Template:Parameter names example
{{Infobox laboratory equipment
|name         = 
|image        = 
[[|thumb]]
|alt          = <!-- Wikipedia:Alternative text for images -->
|caption      = 
|acronym      = 
|other_names  = 
|uses         = 
|notable_experiments =
|inventor     = 
|manufacturer = 
|model        = 
|material     = 
|components   = 
|related      = 
}}

Usage

name
Name of the laboratory equipment item
image
An image illustrating the item
alt
Alternative text for the image (see Wikipedia:Alternative text for images)
caption
Caption for the image
acronym
Acronym or abbreviation for the item
other_names
Any other names used for this item
uses
What is this item used for (e.g. volumetric measurement, heating, separation, etc.)
notable_experiments 
Well-known experiments using this equipment
inventor
Inventor or inventors of the item (if any, if known)
manufacturer 
If this is an item specific to a particular manufacturer, put the name here.
model
If this is a particular manufacturer's model, put the model name or number here.
material
If made from particular material, include it here (e.g., stainless steel or glass)
components
If made from a set of components, include a list of components here
related
Related items


ja:Template:Infobox Laboratory equipment