Template:Infobox laboratory: Difference between revisions
No edit summary |
No edit summary |
||
Line 9: | Line 9: | ||
|caption2={{{caption|}}} | |caption2={{{caption|}}} | ||
|labelstyle=padding-right:0.65em<!--(to ensure some gap between (long/unwrapped) labels and data following on the same line)--> | |labelstyle=padding-right:0.65em<!--(to ensure some gap between (long/unwrapped) labels and data following on the same line)--> | ||
|label3=Motto | |label3=Motto | ||
|data3={{{motto|}}} | |data3={{{motto|}}} | ||
|label4= | |label4=Fields of Research | ||
|class4=category | |class4=category | ||
|data4={{{ | |data4={{{research_field|}}} | ||
|label5= | |label5=Operating Institution | ||
|data5={{{operating_agency|}}} | |||
|data5={{{ | |label6=Location | ||
|label6= | |data6={{{location|}}} | ||
|data6={{{ | |label7=Building | ||
|label7= | |data7={{{building|}}} | ||
|data7={{{ | |||
|label8=Established | |label8=Established | ||
|data8={{{established|}}} | |data8={{{established|}}} | ||
|label9= | |label9=Directors | ||
|class9= | |class9=agent | ||
|data9 | |data9={{#if:{{{directors|}}}|{{{directors}}}|{{{director|}}}}} | ||
|label10=[[Faculty (division)|Faculty]] | |||
|data10={{{faculty|}}} | |||
|label11=Staff | |||
|data11={{{staff|}}} | |||
|label12=Users | |||
|data12={{{users|}}} | |||
|label13=Address | |||
|class13=label | |||
|data13={{{address|}}} | |||
|label14= {{{Zip code}}} | |||
|class14= label | |||
|data14={{{zipcode|}}} | |||
| | |label15=Campus | ||
|data15={{{campus|}}} | |||
|label16={{{free_label}}} | |||
|data16={{#if:{{{free_label|}}}|{{{free|}}}}} | |||
| | |label17=[[Affiliated institution|Affiliations]] | ||
| | |data17={{{affiliations|}}} | ||
| | |label18={{{Nobel laureates}}} | ||
| | |data18={{{nobel_laureates|}}} | ||
| | |label19=Website | ||
| | |data19={{{website|}}} | ||
| | |data20={{{module|}}} | ||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
|belowstyle=text-align:left; font-size:smaller | |belowstyle=text-align:left; font-size:smaller | ||
|below={{{footnotes|}}} | |below={{{footnotes|}}} | ||
Line 140: | Line 116: | ||
"footnotes": {}, | "footnotes": {}, | ||
"location": {}, | "location": {}, | ||
"users": {} | "users": {}, | ||
} | "building": {} | ||
}, | |||
"paramOrder": [ | |||
"name", | |||
"native_name", | |||
"native_name_lang", | |||
"other_name", | |||
"logo", | |||
"logo_size", | |||
"logo_upright", | |||
"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", | |||
"directors", | |||
"director", | |||
"head_label", | |||
"head", | |||
"faculty", | |||
"staff", | |||
"students", | |||
"alumni", | |||
"address", | |||
"city", | |||
"state", | |||
"province", | |||
"country", | |||
"coordinates", | |||
"coor", | |||
"zipcode", | |||
"campus", | |||
"free_label", | |||
"free", | |||
"nickname", | |||
"affiliations", | |||
"operating_agency", | |||
"nobel_laureates", | |||
"website", | |||
"module", | |||
"location_map", | |||
"map_label", | |||
"map_alt", | |||
"map dot label", | |||
"map_dot_label", | |||
"relief", | |||
"map_caption", | |||
"map_size", | |||
"footnotes", | |||
"location", | |||
"users", | |||
"building" | |||
] | |||
} | } | ||
</templatedata> | </templatedata> | ||
</noinclude> | </noinclude> |
Revision as of 00:21, 19 April 2019
Template:Template shortcut Lua error in Module:Lua_banner at line 93: attempt to index field 'edit' (a nil value).
This {{Infobox laboratory}} closely resembles the related {{Infobox university}}. To see an example of Template:Tlf in use, see below and / or Lawrence Berkeley National Laboratory.
Usage
Template:Parameter names example
{{Infobox laboratory |name = <!--required--> |native_name = |image = |caption = |latin_name = |motto = |established = <!--required {{start date and age|YYYY|MM|DD|df=y}}--> |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 = |Instrument_Type = |Staff = |Staff Phone = |Staff Email = |Location = |Manufacturer = |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 = |affiliations = |operating_agency= |nobel_laureates = <!--number and/or names of Nobel laureates associated with the laboratory / institute--> |website = <!--{{URL|example.edu}}--> |logo = |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 |
|
instrument_type |
|
staff |
|
staff_phone |
|
staff_email |
|
room_location |
|
manufacturer |
|
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
File:Dabney-minimalist-vector.svg | |
Motto | Bringing science solutions to the world |
---|---|
Operating Institution | University of California |
Established | Template:Start date and age |
Directors | Paul Alivisatos |
Staff | 4000 |
Campus | Template:Convert |
{{{Nobel laureates}}} | 11 |
Website | Template:URL |
{{Infobox laboratory |name = Lawrence Berkeley National Laboratory |motto = Bringing science solutions to the world |image = Dabney-minimalist-vector.svg |image_upright = 0.6 |established = {{Start date and age|1931|08|26}} |director = [[Paul Alivisatos]] |city = [[Berkeley, California|Berkeley]] |state = California |budget = $652 million |type = Unclassified |staff = 4000 |campus = {{convert|200|acre|km2}} |students = 800 |nobel_laureates = 11 |operating_agency= [[University of California]] |website = {{URL|www.lbl.gov}} }}
Microformat
Tracking category
See also
Template:Organization infoboxes
The above documentation is transcluded from Template:Infobox laboratory/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
name | name | no description | Unknown | optional |
native_name | native_name | no description | Unknown | optional |
native_name_lang | native_name_lang | no description | Unknown | optional |
other_name | other_name | no description | Unknown | optional |
logo | logo | no description | Unknown | optional |
logo_size | logo_size | no description | Unknown | optional |
logo_upright | logo_upright | no description | Unknown | optional |
upright | upright | no description | Unknown | optional |
logo_alt | logo_alt | no description | Unknown | optional |
logo_caption | logo_caption | no description | Unknown | optional |
image | image | no description | Unknown | optional |
image_size | image_size | no description | Unknown | optional |
image_upright | image_upright | no description | Unknown | optional |
alt | alt | no description | Unknown | optional |
caption | caption | no description | Unknown | optional |
latin_name | latin_name | no description | Unknown | optional |
former_name | former_name | no description | Unknown | optional |
motto | motto | no description | Unknown | optional |
established | established | no description | Unknown | optional |
lab_type | lab_type | no description | Unknown | optional |
type | type | no description | Unknown | optional |
budget | budget | no description | Unknown | optional |
debt | debt | no description | Unknown | optional |
research_field | research_field | no description | Unknown | optional |
president | president | no description | Unknown | optional |
vice-president | vice-president | no description | Unknown | optional |
dean | dean | no description | Unknown | optional |
directors | directors | no description | Unknown | optional |
director | director | no description | Unknown | optional |
head_label | head_label | no description | Unknown | optional |
head | head | no description | Unknown | optional |
faculty | faculty | no description | Unknown | optional |
staff | staff | no description | Unknown | optional |
students | students | no description | Unknown | optional |
alumni | alumni | no description | Unknown | optional |
address | address | no description | Unknown | optional |
city | city | no description | Unknown | optional |
state | state | no description | Unknown | optional |
province | province | no description | Unknown | optional |
country | country | no description | Unknown | optional |
coordinates | coordinates | no description | Unknown | optional |
coor | coor | no description | Unknown | optional |
zipcode | zipcode | no description | Unknown | optional |
campus | campus | no description | Unknown | optional |
free_label | free_label | no description | Unknown | optional |
free | free | no description | Unknown | optional |
nickname | nickname | no description | Unknown | optional |
affiliations | affiliations | no description | Unknown | optional |
operating_agency | operating_agency | no description | Unknown | optional |
nobel_laureates | nobel_laureates | no description | Unknown | optional |
website | website | no description | Unknown | optional |
module | module | no description | Unknown | optional |
location_map | location_map | no description | Unknown | optional |
map_label | map_label | no description | Unknown | optional |
map_alt | map_alt | no description | Unknown | optional |
map dot label | map dot label | no description | Unknown | optional |
map_dot_label | map_dot_label | no description | Unknown | optional |
relief | relief | no description | Unknown | optional |
map_caption | map_caption | no description | Unknown | optional |
map_size | map_size | no description | Unknown | optional |
footnotes | footnotes | no description | Unknown | optional |
location | location | no description | Unknown | optional |
users | users | no description | Unknown | optional |
building | building | no description | Unknown | optional |