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

From blackwiki
Jump to navigation Jump to search
imported>Funandtrvl
(add navbox)
imported>Funandtrvl
(sync w/template)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
 +
<!-- Add categories where indicated at the bottom of this page and interwikis at Wikidata -->
 
{{Template shortcut|lab}}
 
{{Template shortcut|lab}}
 
{{Lua|Module:Infobox|Module:InfoboxImage|Module:Location map|Module:Check for unknown parameters}}
 
{{Lua|Module:Infobox|Module:InfoboxImage|Module:Location map|Module:Check for unknown parameters}}
  
This {{tl|Infobox laboratory}} closely resembles the related {{tl|Infobox university}}.  To see an example of {{tlf|Infobox laboratory}} in use, see [[#Example|below]] and / or [[Lawrence Berkeley National Laboratory]].
+
This {{tl|Infobox laboratory}} closely resembles the related {{tl|Infobox university}}.  To see an example of {{tlf|Infobox laboratory}} in use, see the [[#Example|section below]] and / or [[Lawrence Berkeley National Laboratory]].
  
 
==Usage==
 
==Usage==
 
{{Parameter names example
 
{{Parameter names example
|name |native_name |image |caption |latin_name |motto |established |type |budget |debt |research_field |president |vice-president |dean |director=''director'' or ''directors'' |head_label |head |faculty |staff |students |alumni |address |city |state |province |country |coordinates |zipcode |campus |free_label |free |affiliations |operating_agency |nobel_laureates |website |logo |footnotes
+
|name |native_name |native_name_lang |logo |logo_size |logo_upright |logo_alt |logo_caption |image |image_size |image_upright |alt |caption |latin_name |former_name |motto |established |lab_type |type |budget |debt |research_field |president |vice-president |dean |director=''director'' or ''directors'' |head_label |head |faculty |staff |students |alumni |address |city |state |province |country |coordinates |zipcode |campus |free_label |free |nickname |affiliations |operating_agency |nobel_laureates |website |footnotes
 
}}
 
}}
  
<pre style=overflow:auto>
+
<pre style="overflow:auto;">
 
{{Infobox laboratory
 
{{Infobox laboratory
|name           = <!--required-->
+
| name             = <!-- required -->
|native_name    =  
+
| native_name     =
|image           =  
+
| native_name_lang =
|caption         =  
+
| other_name      =
|latin_name      =  
+
| logo            =
|motto           =  
+
| logo_size        =
|established     = <!--required {{start date and age|YYYY|MM|DD|df=y}}-->
+
| logo_upright    =
|type           = <!--Research type (basic, applied, classified, unclassified, etc-->
+
| logo_alt        =
|budget         =  
+
| logo_caption     =
|debt           =  
+
| image           =
|research_field =  
+
| image_size      =
|president       =  
+
| image_upright    =
|vice-president =  
+
| alt              =
|dean           =  
+
| caption         =  
|director       = <!--or: |directors = -->
+
| latin_name       =
|head_label     =  
+
| former_name     =
|head           =  
+
| motto           =  
|faculty         =  
+
| established     = <!-- required {{start date and age|YYYY|MM|DD|df=y}} -->
|staff           =  
+
| lab_type        =
|students       =  
+
| type             = <!-- Research type (basic, applied, classified, unclassified, etc.) -->
|alumni         =  
+
| budget           =  
|address         =  
+
| debt             =  
|city           = <!--required if location to be displayed-->
+
| research_field   =  
|state           =  
+
| president       =  
|province       =  
+
| vice-president   =  
|country         =  
+
| dean             =  
|coordinates     = <!--{{coord|LAT|LON|type:landmark|display=title,inline}}-->
+
| director         = <!-- or |directors= -->
|location_map   = <!--Use this to put in a location map, e.g. Oxford (central)-->
+
| head_label       =  
|zipcode         =  
+
| head             =  
|campus         =  
+
| faculty         =  
|free_label     =  
+
| staff           =  
|free           =  
+
| students         =  
|affiliations   =  
+
| alumni           =  
|operating_agency=  
+
| address         =  
|nobel_laureates = <!--number and/or names of Nobel laureates associated with the laboratory / institute-->
+
| city             = <!-- required, if location to be displayed -->
|website         = <!--{{URL|example.edu}}-->
+
| state           =  
|logo            =
+
| province         =  
|footnotes       =  
+
| country         =  
 +
| coordinates     = <!-- {{coord|LAT|LON|type:landmark|display=title,inline}} -->
 +
| location_map     = <!-- Use this to put in a location map, e.g. Oxford (central) -->
 +
| zipcode         =  
 +
| campus           =  
 +
| free_label       =  
 +
| free             =
 +
| nickname        =
 +
| affiliations     =  
 +
| operating_agency =  
 +
| nobel_laureates = <!-- number and/or names of Nobel laureates associated with the laboratory / institute -->
 +
| website         = <!-- {{URL|example.edu}} -->
 +
| footnotes       =  
 
}}
 
}}
 
</pre>
 
</pre>
Line 156: Line 169:
 
==Example==
 
==Example==
 
{{Infobox laboratory
 
{{Infobox laboratory
|name           = Lawrence Berkeley National Laboratory
+
| name             = Lawrence Berkeley National Laboratory
|motto           = Bringing science solutions to the world
+
| motto           = Bringing science solutions to the world
|image           = Dabney-minimalist-vector.svg<!--Note: an incorrect image is used because the correct one is not licensed for use in templates-->
+
| image           = Molecular_Foundry_Berkeley.jpg
|image_upright  = 0.6
+
| alt              = The lab's Molecular Foundry
|established     = {{Start date and age|1931|08|26}}
+
| caption          = The lab's [[Molecular Foundry]]
|director       = [[Paul Alivisatos]]
+
| established     = {{start date and age|1931|08|26}}
|city           = [[Berkeley, California|Berkeley]]
+
| director         = [[Michael Witherell]]
|state           = California
+
| city             = [[Berkeley, California|Berkeley]]
|budget         = $652 million
+
| state           = California
|type           = Unclassified
+
| country          = United States
|staff           = 4000
+
| budget           = {{nowrap|{{US$|800|link=yes}} million (2016)}}
|campus         = {{convert|200|acre|km2}}
+
| type             = Scientific research and energy technologies
|students       = 800
+
| staff           = 3,816
|nobel_laureates = 11
+
| campus           = {{convert|200|acre|ha}}
|operating_agency= [[University of California]]
+
| students         = 800
|website         = {{URL|www.lbl.gov}}
+
| nobel_laureates = 13
 +
| operating_agency = [[University of California]]
 +
| website         = {{URL|https://www.lbl.gov/}}
 
}}
 
}}
  
<pre style=overflow:auto>
+
<pre style="overflow:auto;">
 
{{Infobox laboratory
 
{{Infobox laboratory
|name           = Lawrence Berkeley National Laboratory
+
| name             = Lawrence Berkeley National Laboratory
|motto           = Bringing science solutions to the world
+
| motto           = Bringing science solutions to the world
|image           = Dabney-minimalist-vector.svg
+
| image           = Molecular_Foundry_Berkeley.jpg
|image_upright  = 0.6
+
| alt              = The lab's Molecular Foundry
|established     = {{Start date and age|1931|08|26}}
+
| caption          = The lab's [[Molecular Foundry]]
|director       = [[Paul Alivisatos]]
+
| established     = {{start date and age|1931|08|26}}
|city           = [[Berkeley, California|Berkeley]]
+
| director         = [[Michael Witherell]]
|state           = California
+
| city             = [[Berkeley, California|Berkeley]]
|budget         = $652 million
+
| state           = California
|type           = Unclassified
+
| country          = United States
|staff           = 4000
+
| budget           = {{nowrap|{{US$|800|link=yes}} million (2016)}}
|campus         = {{convert|200|acre|km2}}
+
| type             = Scientific research and energy technologies
|students       = 800
+
| staff           = 3,816
|nobel_laureates = 11
+
| campus           = {{convert|200|acre|ha}}
|operating_agency= [[University of California]]
+
| students         = 800
|website         = {{URL|www.lbl.gov}}
+
| nobel_laureates = 13
 +
| operating_agency = [[University of California]]
 +
| website         = {{URL|https://www.lbl.gov/}}
 
}}
 
}}
 
</pre>
 
</pre>

Revision as of 00:53, 21 September 2020

This {{Infobox laboratory}} closely resembles the related {{Infobox university}}. To see an example of {{Infobox laboratory}} in use, see the section below and / or Lawrence Berkeley National Laboratory.

Usage

Template:Parameter names example

{{Infobox laboratory
| name             = <!-- required -->
| native_name      = 
| native_name_lang =
| other_name       =
| logo             = 
| logo_size        =
| logo_upright     =
| logo_alt         =
| logo_caption     =
| image            = 
| image_size       =
| image_upright    =
| alt              =
| caption          = 
| latin_name       = 
| former_name      =
| motto            = 
| established      = <!-- required {{start date and age|YYYY|MM|DD|df=y}} -->
| lab_type         =
| type             = <!-- Research type (basic, applied, classified, unclassified, etc.) -->
| budget           = 
| debt             = 
| research_field   = 
| president        = 
| vice-president   = 
| dean             = 
| director         = <!-- or |directors= -->
| head_label       = 
| head             = 
| faculty          = 
| staff            = 
| students         = 
| alumni           = 
| address          = 
| city             = <!-- required, if location to be displayed -->
| state            = 
| province         = 
| country          = 
| coordinates      = <!-- {{coord|LAT|LON|type:landmark|display=title,inline}} -->
| location_map     = <!-- Use this to put in a location map, e.g. Oxford (central) -->
| zipcode          = 
| campus           = 
| free_label       = 
| free             = 
| nickname         =
| affiliations     = 
| operating_agency = 
| nobel_laureates  = <!-- number and/or names of Nobel laureates associated with the laboratory / institute -->
| website          = <!-- {{URL|example.edu}} -->
| footnotes        = 
}}

Parameters

Parameter Explanation
name Common name (defaults to article name if left blank)
native_name Name in the regional language
other_name Any other common names for the laboratory
latin_name Name in Latin
former_name Any former names for the laboratory
logo Logo file name: abc.jpg, xpz.png, 123.gif, etc.
logo_alt Alt text for the logo, for visually impaired readers. One word (such as "logo") is rarely sufficient. See WP:ALT.
logo_upright Scales the logo from its default size by the given factor. Values less than 1 scale the image down (0.9 = 90%) and values greater than 1 scale the image up (1.15 = 115%).
logo_caption Caption for the logo, if needed.
image Image file name: abc.jpg, xpz.png, 123.gif, etc.
alt Alt text for the image, for visually impaired readers. One word (such as "photograph") is rarely sufficient. See WP:ALT.
image_upright Scales the image from its default size by the given factor. Values less than 1 scale the image down (0.9 = 90%) and values greater than 1 scale the image up (1.15 = 115%).
caption Caption for image, if needed.
motto
established Date established
lab_type Laboratory type
type Research type
budget
debt
research_field Field of research
president
vice-president
dean
director or directors
head_label
head
faculty
staff
students
alumni
address
city
state or province
country
coordinates
location_map map to use for the location_map module
zipcode
campus
free_label
free
nickname
affiliations
operating_agency
nobel_laureates
website
module
footnotes

Example

Lawrence Berkeley National Laboratory
The lab's Molecular Foundry
MottoBringing science solutions to the world
EstablishedTemplate:Start date and age
Research typeScientific research and energy technologies
BudgetTemplate:US$ million (2016)
DirectorMichael Witherell
Staff3,816
Students800
LocationBerkeley, California, United States
Script error: No such module "If empty".
Script error: No such module "If empty".
Campus200 acres (81 ha)
Operating agency
University of California
[[List of Nobel laureates|
  1. REDIRECT Template:Wrap]]
13
WebsiteTemplate:URL
{{Infobox laboratory
| name             = Lawrence Berkeley National Laboratory
| motto            = Bringing science solutions to the world
| image            = Molecular_Foundry_Berkeley.jpg
| alt              = The lab's Molecular Foundry
| caption          = The lab's [[Molecular Foundry]]
| established      = {{start date and age|1931|08|26}}
| director         = [[Michael Witherell]]
| city             = [[Berkeley, California|Berkeley]]
| state            = California
| country          = United States
| budget           = {{nowrap|{{US$|800|link=yes}} million (2016)}}
| type             = Scientific research and energy technologies
| staff            = 3,816
| campus           = {{convert|200|acre|ha}}
| students         = 800
| nobel_laureates  = 13
| operating_agency = [[University of California]]
| website          = {{URL|https://www.lbl.gov/}}
}}

Microformat

Template:UF-hcard-org

Tracking category

See also

Template:Organization infoboxes