Difference between revisions of "Template:Infobox laboratory"
imported>FrescoBot m (Bot: links syntax) |
imported>Headbomb (remove weird links (based on infobox university or something???, either way, some cleanup ("fight songs" seems pretty irrelevant) can take place) |
||
| Line 21: | Line 21: | ||
|- | |- | ||
{{#if: {{{motto|}}}| | {{#if: {{{motto|}}}| | ||
| − | ! style="color:{{{label_color}}};" {{!}} | + | ! style="color:{{{label_color}}};" {{!}} Motto |
{{!}} style="color:{{{value_color}}};" {{!}} {{{motto}}}}} | {{!}} style="color:{{{value_color}}};" {{!}} {{{motto}}}}} | ||
|- | |- | ||
| − | ! style="color:{{{label_color}}};" {{!}} | + | ! style="color:{{{label_color}}};" {{!}} Established |
{{!}} style="color:{{{value_color}}};" {{!}} {{{established}}} | {{!}} style="color:{{{value_color}}};" {{!}} {{{established}}} | ||
|- | |- | ||
| Line 32: | Line 32: | ||
|- | |- | ||
{{#if:{{{budget|}}}| | {{#if:{{{budget|}}}| | ||
| − | ! style="color:{{{label_color}}};" {{!}} | + | ! style="color:{{{label_color}}};" {{!}} Budget |
{{!}} style="color:{{{value_color}}};" {{!}} {{{budget}}}}} | {{!}} style="color:{{{value_color}}};" {{!}} {{{budget}}}}} | ||
|- | |- | ||
{{#if:{{{debt|}}}| | {{#if:{{{debt|}}}| | ||
| − | ! style="color:{{{label_color}}};" {{!}} | + | ! style="color:{{{label_color}}};" {{!}} Debt |
{{!}} style="color:{{{value_color}}};" {{!}} {{{debt}}}}} | {{!}} style="color:{{{value_color}}};" {{!}} {{{debt}}}}} | ||
|- | |- | ||
| Line 44: | Line 44: | ||
|- | |- | ||
{{#if:{{{rector|}}}| | {{#if:{{{rector|}}}| | ||
| − | ! style="color:{{{label_color}}};" {{!}} | + | ! style="color:{{{label_color}}};" {{!}} Rector |
{{!}} style="color:{{{value_color}}};" class="agent" {{!}} {{{rector}}}}} | {{!}} style="color:{{{value_color}}};" class="agent" {{!}} {{{rector}}}}} | ||
|- | |- | ||
{{#if:{{{chancellor|}}}| | {{#if:{{{chancellor|}}}| | ||
| − | ! style="color:{{{label_color}}};" {{!}} | + | ! style="color:{{{label_color}}};" {{!}} Chancellor |
{{!}} style="color:{{{value_color}}};" class="agent" {{!}} {{{chancellor}}}}} | {{!}} style="color:{{{value_color}}};" class="agent" {{!}} {{{chancellor}}}}} | ||
|- | |- | ||
{{#if:{{{president|}}}| | {{#if:{{{president|}}}| | ||
| − | ! style="color:{{{label_color}}};" {{!}} | + | ! style="color:{{{label_color}}};" {{!}} President |
{{!}} style="color:{{{value_color}}};" class="agent" {{!}} {{{president}}}}} | {{!}} style="color:{{{value_color}}};" class="agent" {{!}} {{{president}}}}} | ||
|- | |- | ||
{{#if:{{{vice-president|}}}| | {{#if:{{{vice-president|}}}| | ||
| − | ! style="color:{{{label_color}}};" {{!}} | + | ! style="color:{{{label_color}}};" {{!}} Vice-President |
{{!}} style="color:{{{value_color}}};" class="agent" {{!}} {{{vice-president}}}}} | {{!}} style="color:{{{value_color}}};" class="agent" {{!}} {{{vice-president}}}}} | ||
|- | |- | ||
{{#if:{{{provost|}}}| | {{#if:{{{provost|}}}| | ||
| − | ! style="color:{{{label_color}}};" {{!}} | + | ! style="color:{{{label_color}}};" {{!}} Provost |
{{!}} style="color:{{{value_color}}};" class="agent" {{!}} {{{provost}}}}} | {{!}} style="color:{{{value_color}}};" class="agent" {{!}} {{{provost}}}}} | ||
|- | |- | ||
{{#if:{{{principal|}}}| | {{#if:{{{principal|}}}| | ||
| − | ! style="color:{{{label_color}}};" {{!}} | + | ! style="color:{{{label_color}}};" {{!}} Principal |
{{!}} style="color:{{{value_color}}};" class="agent" {{!}} {{{principal}}}}} | {{!}} style="color:{{{value_color}}};" class="agent" {{!}} {{{principal}}}}} | ||
|- | |- | ||
{{#if:{{{vice_chancellor|}}}| | {{#if:{{{vice_chancellor|}}}| | ||
| − | ! style="color:{{{label_color}}};" class="agent" {{!}} | + | ! style="color:{{{label_color}}};" class="agent" {{!}} Vice-Chancellor |
{{!}} style="color:{{{value_color}}};" {{!}} {{{vice_chancellor}}}}} | {{!}} style="color:{{{value_color}}};" {{!}} {{{vice_chancellor}}}}} | ||
|- | |- | ||
{{#if:{{{dean|}}}| | {{#if:{{{dean|}}}| | ||
| − | ! style="color:{{{label_color}}};" {{!}} | + | ! style="color:{{{label_color}}};" {{!}} Dean |
{{!}} style="color:{{{value_color}}};" class="agent" {{!}} {{{dean}}}}} | {{!}} style="color:{{{value_color}}};" class="agent" {{!}} {{{dean}}}}} | ||
|- | |- | ||
| Line 84: | Line 84: | ||
|- | |- | ||
{{#if:{{{faculty|}}}| | {{#if:{{{faculty|}}}| | ||
| − | ! style="color:{{{label_color}}};" {{!}} | + | ! style="color:{{{label_color}}};" {{!}} Faculty |
{{!}} style="color:{{{value_color}}};" {{!}} {{{faculty|}}}}} | {{!}} style="color:{{{value_color}}};" {{!}} {{{faculty|}}}}} | ||
|- | |- | ||
| Line 96: | Line 96: | ||
|- | |- | ||
{{#if:{{{undergrad|}}}| | {{#if:{{{undergrad|}}}| | ||
| − | ! style="color:{{{label_color}}};" {{!}} | + | ! style="color:{{{label_color}}};" {{!}} Undergraduate students |
{{!}} {{#if:{{{students|}}}{{{enrollment|}}}| style="padding-left: 1.25em;color:{{{value_color}}};"}} {{!}} {{{undergrad}}}}} | {{!}} {{#if:{{{students|}}}{{{enrollment|}}}| style="padding-left: 1.25em;color:{{{value_color}}};"}} {{!}} {{{undergrad}}}}} | ||
|- | |- | ||
{{#if:{{{postgrad|}}}| | {{#if:{{{postgrad|}}}| | ||
| − | ! style="color:{{{label_color}}};" {{!}} | + | ! style="color:{{{label_color}}};" {{!}} Postgraduate students |
{{!}} {{#if:{{{students|}}}{{{enrollment|}}}| style="padding-left: 1.25em;color:{{{value_color}}};"}} {{!}} {{{postgrad}}}}} | {{!}} {{#if:{{{students|}}}{{{enrollment|}}}| style="padding-left: 1.25em;color:{{{value_color}}};"}} {{!}} {{{postgrad}}}}} | ||
|- | |- | ||
{{#if:{{{doctoral|}}}| | {{#if:{{{doctoral|}}}| | ||
| − | ! style="color:{{{label_color}}};" {{!}} | + | ! style="color:{{{label_color}}};" {{!}} Doctoral students |
{{!}} {{#if:{{{students|}}}{{{enrollment|}}}| style="padding-left: 1.25em;color:{{{value_color}}};"}} {{!}} {{{doctoral}}}}} | {{!}} {{#if:{{{students|}}}{{{enrollment|}}}| style="padding-left: 1.25em;color:{{{value_color}}};"}} {{!}} {{{doctoral}}}}} | ||
|- | |- | ||
{{#if:{{{profess|}}}| | {{#if:{{{profess|}}}| | ||
| − | ! style="color:{{{label_color}}};" {{!}} | + | ! style="color:{{{label_color}}};" {{!}} Professional students |
{{!}} {{#if:{{{students|}}}{{{enrollment|}}}| style="padding-left: 1.25em;color:{{{value_color}}};"}} {{!}} {{{profess}}}}} | {{!}} {{#if:{{{students|}}}{{{enrollment|}}}| style="padding-left: 1.25em;color:{{{value_color}}};"}} {{!}} {{{profess}}}}} | ||
|- | |- | ||
{{#if:{{{postdoc|}}}| | {{#if:{{{postdoc|}}}| | ||
| − | ! style="color:{{{label_color}}};" {{!}} | + | ! style="color:{{{label_color}}};" {{!}} Post-docs |
{{!}} {{#if:{{{students|}}}{{{enrollment|}}}| style="padding-left: 1.25em;color:{{{value_color}}};"}} {{!}} {{{postdoc}}}}} | {{!}} {{#if:{{{students|}}}{{{enrollment|}}}| style="padding-left: 1.25em;color:{{{value_color}}};"}} {{!}} {{{postdoc}}}}} | ||
|- | |- | ||
{{#if:{{{alumni|}}}| | {{#if:{{{alumni|}}}| | ||
| − | ! style="color:{{{label_color}}};" {{!}} | + | ! style="color:{{{label_color}}};" {{!}} Alumni |
{{!}} style="color:{{{value_color}}};" {{!}} {{{alumni}}}}} | {{!}} style="color:{{{value_color}}};" {{!}} {{{alumni}}}}} | ||
|- | |- | ||
| Line 157: | Line 157: | ||
|- | |- | ||
{{#if:{{{nickname|}}}| | {{#if:{{{nickname|}}}| | ||
| − | ! style="color:{{{label_color}}};" {{!}} | + | ! style="color:{{{label_color}}};" {{!}} Nickname |
{{!}} style="color:{{{value_color}}};" class="nickname" {{!}} {{{nickname}}}}} | {{!}} style="color:{{{value_color}}};" class="nickname" {{!}} {{{nickname}}}}} | ||
|- | |- | ||
{{#if:{{{mascot|}}}| | {{#if:{{{mascot|}}}| | ||
| − | ! style="color:{{{label_color}}};" {{!}} | + | ! style="color:{{{label_color}}};" {{!}} Mascot |
{{!}} style="color:{{{value_color}}};" {{!}} {{{mascot}}}}} | {{!}} style="color:{{{value_color}}};" {{!}} {{{mascot}}}}} | ||
|- | |- | ||
{{#if:{{{fightsong|}}}| | {{#if:{{{fightsong|}}}| | ||
| − | ! style="color:{{{label_color}}};" {{!}} | + | ! style="color:{{{label_color}}};" {{!}} Fight song |
{{!}} style="color:{{{value_color}}};" {{!}} {{{fightsong}}}}} | {{!}} style="color:{{{value_color}}};" {{!}} {{{fightsong}}}}} | ||
|- | |- | ||
Revision as of 04:27, 4 February 2011
| This template uses Lua: |
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 = <!-- or |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 = <!-- or |postalcode= -->
| 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
| Molecular_Foundry_Berkeley.jpg
| |
| Motto | Bringing science solutions to the world |
|---|---|
| Established | Template:Start date and age |
| Research Type | Scientific research and energy technologies |
| Budget | Template:US$ billion (2019) |
| Director | Michael Witherell |
| Staff | 3,816 |
| Students | 800 |
| Location | Berkeley, California, United States |
| Campus | 200 acres (81 ha) |
| Operating Agency | University of California |
| Nobel Laureates | 13 |
| Website | Template: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
| coordinates = ({{thin space|use {{tl|coord}}}})
| budget = {{nowrap|{{US$|1.1|link=yes}} billion (2019)}}
| 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
TemplateData
TemplateData for Infobox laboratory
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 postalcode | no description | String | 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 |
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 (edit | diff) and testcases (edit) pages. Please add categories to the /doc subpage. Subpages of this template. |