Template:Infobox laboratory and Template:Infobox laboratory/sandbox: Difference between pages
(Difference between pages)
Content deleted Content added
Add two more parameters to check for unknown parameters |
Fixed the duplicate argument issue |
||
Line 8: | Line 8: | ||
|image2={{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|}}}|upright={{{image_upright|{{{upright|}}}}}}|sizedefault=frameless|alt={{{alt|}}}}} |
|image2={{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|}}}|upright={{{image_upright|{{{upright|}}}}}}|sizedefault=frameless|alt={{{alt|}}}}} |
||
|caption2={{{caption|}}} |
|caption2={{{caption|}}} |
||
| image3 = {{#invoke:Infobox mapframe|auto|mapframe-marker=library|mapframe-frame-width=250|mapframe-zoom=11|onByDefault={{#if:{{{map|}}}{{{map_image|}}}|no|yes}}}} |
|||
| caption3 = {{#invoke:Infobox mapframe|autocaption|onByDefault={{#if:{{{map|}}}{{{map_image|}}}|no|yes}}}} |
|||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
|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)--> |
||
⚫ | |||
⚫ | |||
|{{#invoke:Coordinates|coordinsert|{{{coordinates}}}|type:landmark|{{#if:{{{country|}}}|region:{{Country abbreviation|{{{country}}}}}}}}} |}} |
|||
⚫ | |||
⚫ | |||
⚫ | |||
|data2={{{former_name|}}} |
|||
⚫ | |||
⚫ | |||
|label3= |
|label3={{longitem|Former name}} |
||
|data3={{{ |
|data3={{{former_name|}}} |
||
⚫ | |||
⚫ | |||
|label4=[[Motto]] |
|||
|data4={{{ |
|data4={{{motto|}}} |
||
|label5={{longitem|Laboratory type}} |
|||
⚫ | |||
⚫ | |||
|data5={{{ |
|data5={{{established|}}} |
||
⚫ | |||
⚫ | |||
|class6=category |
|class6=category |
||
|data6={{{ |
|data6={{{lab_type|}}} |
||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
|data7={{{type|}}} |
|||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
|class9=category |
|||
|data9={{{ |
|data9={{{debt|}}} |
||
⚫ | |||
|label10=[[President (corporate title)|President]] |
|||
|class10= |
|class10=category |
||
|data10={{{ |
|data10={{{research_field|}}} |
||
|label11= |
|label11=[[President (corporate title)|President]] |
||
|class11=agent |
|class11=agent |
||
|data11={{{ |
|data11={{{president|}}} |
||
|label12={{nowrap|[[Vice president#In business |Vice president]]}} |
|||
|label12=[[Dean (education)|Dean]] |
|||
|class12=agent |
|class12=agent |
||
|data12={{{ |
|data12={{{vice-president|}}} |
||
|label13=[[ |
|label13=[[Dean (education)|Dean]] |
||
|class13=agent |
|class13=agent |
||
|data13={{ |
|data13={{{dean|}}} |
||
|label14={{ |
|label14=[[Director (business)|Director]]{{#if:{{{directors|}}}|s}} |
||
|class14=agent |
|class14=agent |
||
|data14={{#if:{{{ |
|data14={{#if:{{{directors|}}}|{{{directors}}}|{{{director|}}}}} |
||
|label15= |
|label15={{longitem|{{{head_label}}}}} |
||
|class15=agent |
|||
⚫ | |||
⚫ | |||
⚫ | |||
|label16=[[Faculty (division)|Faculty]] |
|||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
|label19=Address |
|||
⚫ | |||
⚫ | |||
|data19={{{ |
|data19={{{alumni|}}} |
||
|label20= |
|label20=Address |
||
⚫ | |||
|data20= |
|||
⚫ | |||
|label21=Location |
|||
|data21= |
|||
{{br separated entries |
{{br separated entries |
||
|1={{comma separated entries |
|1={{comma separated entries |
||
Line 64: | Line 82: | ||
|2={{#if:{{{state|}}} |{{{state}}} |{{{province|}}} }} |
|2={{#if:{{{state|}}} |{{{state}}} |{{{province|}}} }} |
||
|3={{{country|}}} |
|3={{{country|}}} |
||
|4= {{if empty|{{{zipcode|}}}|{{{postalcode|}}}}} |
|||
}} |
}} |
||
⚫ | |||
}} |
}} |
||
|label21= {{#if: {{{zipcode|}}} | {{longitem|[[ZIP Code|ZIP code]]}} | {{longitem|[[Postal code]]}} }} |
|||
|class21= label |
|||
⚫ | |||
|label22=[[Campus]] |
|label22=[[Campus]] |
||
|data22={{{campus|}}} |
|data22={{{campus|}}} |
||
Line 85: | Line 100: | ||
|label28=Website |
|label28=Website |
||
|data28={{{website|}}} |
|data28={{{website|}}} |
||
|data29={{{module|}}} |
|||
| header30 = {{#if:{{{location_map|}}} | {{{map_label|Map}}} }} |
|||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
|belowstyle=text-align:left; font-size:smaller |
|belowstyle=text-align:left; font-size:smaller |
||
|below={{{footnotes|}}} |
|below={{{footnotes|}}} |
||
}}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox laboratory with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox laboratory]] with unknown parameter "_VALUE_"|ignoreblank=y| address | affiliations | alt | alumni | budget | campus | caption | city | coor | coordinates | country | dean | debt | director | directors | established | faculty | footnotes | former_name | free | free_label | head | head_label | image | image_size | image_upright | lab_type | latin_name | location_map | logo | logo_alt | logo_caption | logo_size | logo_upright |
}}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox laboratory with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox laboratory]] with unknown parameter "_VALUE_"|ignoreblank=y| address | affiliations | alt | alumni | budget | campus | caption | city | coor | coordinates | country | dean | debt | director | directors | established | faculty | footnotes | former_name | free | free_label | head | head_label | image | image_size | image_upright | lab_type | latin_name | location_map | logo | logo_alt | logo_caption | logo_size | logo_upright | module | motto | name | native_name | native_name_lang | nickname | nobel_laureates | operating_agency | other_name | postalcode| president | province | research_field | staff | state | students | type | upright | vice-president | website | zipcode }}<noinclude> |
||
{{Documentation}} |
{{Documentation}} |
||
<!-- Add categories to the /doc subpage, interwikis to Wikidata, not here --> |
<!-- Add categories to the /doc subpage, interwikis to Wikidata, not here --> |