Difference between revisions of "Template:Infobox residential college"

From blackwiki
Jump to navigation Jump to search
imported>TSP
(Fix layout problem on faculty deans)
imported>TSP
(Add endowment field (already widely used for Cambridge colleges using the free label))
Line 192: Line 192:
 
| data56 = {{{grace|}}}
 
| data56 = {{{grace|}}}
  
| label57 = {{{free_label}}}
+
| label57 = [[Financial endowment|Endowment]]
| data57 = {{#if:{{{free_label|}}}|{{if empty| {{{free_text|}}} | {{{free|}}} }}}}
+
| data57 = {{{endowment|}}}
  
| data58 = {{#invoke:InfoboxImage|InfoboxImage |image={{{logo|}}}|size={{{logo_size|}}}|alt={{{logo_alt|}}}}}
+
| label58 = {{{free_label}}}
 +
| data58 = {{#if:{{{free_label|}}}|{{if empty| {{{free_text|}}} | {{{free|}}} }}}}
  
| data59 = {{#invoke:InfoboxImage|InfoboxImage|image={{{shield2|}}}|size={{{shield2_size|}}}|sizedefault=frameless|upright={{{shield2_upright|{{{shield_upright|0.65}}}}}}|alt={{{shield2_alt|}}}}}
+
| data59 = {{#invoke:InfoboxImage|InfoboxImage |image={{{logo|}}}|size={{{logo_size|}}}|alt={{{logo_alt|}}}}}
  
| label60 = Website
+
| data60 = {{#invoke:InfoboxImage|InfoboxImage|image={{{shield2|}}}|size={{{shield2_size|}}}|sizedefault=frameless|upright={{{shield2_upright|{{{shield_upright|0.65}}}}}}|alt={{{shield2_alt|}}}}}
| data60 = {{if empty| {{{website|}}} | {{{homepage|}}} | {{{url|}}} }}
 
  
| label61 = {{#if:{{{student_body_name|}}}|{{{student_body_name}}}|Student association}}
+
| label61 = Website
| data61 =  {{if empty| {{{student_body|}}} | {{{student_association|}}} }}
+
| data61 = {{if empty| {{{website|}}} | {{{homepage|}}} | {{{url|}}} }}
  
| label62 = {{abbr|JCR|Junior common room}}
+
| label62 = {{#if:{{{student_body_name|}}}|{{{student_body_name}}}|Student association}}
| data62 = {{if empty| {{{JCR|}}} | {{{jcr|}}} }}
+
| data62 = {{if empty| {{{student_body|}}} | {{{student_association|}}} }}
  
| label63 = {{abbr|MCR|Middle common room}}
+
| label63 = {{abbr|JCR|Junior common room}}
| data63 = {{if empty| {{{MCR|}}} | {{{mcr|}}} }}
+
| data63 = {{if empty| {{{JCR|}}} | {{{jcr|}}} }}
  
| label64 = {{abbr|SCR|Senior common room}}
+
| label64 = {{abbr|MCR|Middle common room}}
| data64 = {{if empty| {{{SCR|}}} | {{{scr|}}} }}
+
| data64 = {{if empty| {{{MCR|}}} | {{{mcr|}}} }}
  
| label65 = Boat club
+
| label65 = {{abbr|SCR|Senior common room}}
| data65 = {{{boat_club|}}}
+
| data65 = {{if empty| {{{SCR|}}} | {{{scr|}}} }}
  
| header66 = {{#if:{{{location_map|}}} | {{{map_label|Map}}} }}
+
| label66 = Boat club
| data67 = {{#if:{{both|{{{location_map|}}}|{{{coordinates|}}}{{#property:P625}}}}|{{Location map|{{#if:{{{location_map2|}}}|{{{location_map}}}#{{{location_map2}}}|{{{location_map}}}}}
+
| data66 = {{{boat_club|}}}
 +
 
 +
| header67 = {{#if:{{{location_map|}}} | {{{map_label|Map}}} }}
 +
| data68 = {{#if:{{both|{{{location_map|}}}|{{{coordinates|}}}{{#property:P625}}}}|{{Location map|{{#if:{{{location_map2|}}}|{{{location_map}}}#{{{location_map2}}}|{{{location_map}}}}}
 
  |alt    = {{{map_alt|}}}
 
  |alt    = {{{map_alt|}}}
 
  |coordinates = {{{coordinates|}}}
 
  |coordinates = {{{coordinates|}}}
Line 231: Line 234:
 
|unknown={{main other|[[Category:Pages using infobox residential college with unknown parameters|_VALUE_{{PAGENAME}}]]}}
 
|unknown={{main other|[[Category:Pages using infobox residential college with unknown parameters|_VALUE_{{PAGENAME}}]]}}
 
|preview=Page using [[Template:Infobox residential college]] with unknown parameter "_VALUE_"|ignoreblank=y
 
|preview=Page using [[Template:Infobox residential college]] with unknown parameter "_VALUE_"|ignoreblank=y
| abbreviation | administrator | affiliated_hall | affiliated_hall_label | age_restriction | alt | architect | architectural_style | benefactor | blazon | boat_club | called | caption | chapel | charities | chief_justice | closed | college_name | colors | colours | coordinates | core_course | core_program | dean | dean_label | deputy_provost | english_motto | established | events | faculty deans | fellows | former_names | founded | founder | founders | free | free_label | free_text | freshman_dorm | full_name | gender | grace | graduates | head | head_label | head_type | HoCo_chair | HoCoChair | HoCoChairs | homepage | image | image_size | iso_region | JCR | jcr | latin_motto | Latin_name | latin_name | location | location_map | location_map2 | logo | logo_alt | logo_size | magister | magisters | map dot label | map_alt | map_caption | map_dot_label | map_label | map_size | mascot | master | masters | MCR | mcr | membership | motto | motto_English | motto_lang | motto_Latin | mottoeng | name | name_Latin | named_after | named_for | namesake | native_name | newspaper | nickname | officer | old_names | photo | photo_size | picture | picture_size | postgrads | postgraduates | president | president_label | previous_names | principal | provost | quad | rector | relief | res_tutors | resident_dean | ResidentDean | residents | restutors | scarf | SCR | scr | senior_tutor | sex | shield | shield_alt | shield_caption | shield_size | shield_upright | shield2 | shield2_alt | shield2_size | shield2_upright | sister_college | sister_college_label | sister_colleges | sports | status | student_association | student_body | student_body_name | translation | type | undergrads | undergraduates | university | url | vice_principal | visiting_students | warden | website | year_established  
+
| abbreviation | administrator | affiliated_hall | affiliated_hall_label | age_restriction | alt | architect | architectural_style | benefactor | blazon | boat_club | called | caption | chapel | charities | chief_justice | closed | college_name | colors | colours | coordinates | core_course | core_program | dean | dean_label | deputy_provost | endowment | english_motto | established | events | faculty deans | fellows | former_names | founded | founder | founders | free | free_label | free_text | freshman_dorm | full_name | gender | grace | graduates | head | head_label | head_type | HoCo_chair | HoCoChair | HoCoChairs | homepage | image | image_size | iso_region | JCR | jcr | latin_motto | Latin_name | latin_name | location | location_map | location_map2 | logo | logo_alt | logo_size | magister | magisters | map dot label | map_alt | map_caption | map_dot_label | map_label | map_size | mascot | master | masters | MCR | mcr | membership | motto | motto_English | motto_lang | motto_Latin | mottoeng | name | name_Latin | named_after | named_for | namesake | native_name | newspaper | nickname | officer | old_names | photo | photo_size | picture | picture_size | postgrads | postgraduates | president | president_label | previous_names | principal | provost | quad | rector | relief | res_tutors | resident_dean | ResidentDean | residents | restutors | scarf | SCR | scr | senior_tutor | sex | shield | shield_alt | shield_caption | shield_size | shield_upright | shield2 | shield2_alt | shield2_size | shield2_upright | sister_college | sister_college_label | sister_colleges | sports | status | student_association | student_body | student_body_name | translation | type | undergrads | undergraduates | university | url | vice_principal | visiting_students | warden | website | year_established  
 
}}{{main other|{{#if:{{{free|}}}{{{free_text|}}}|[[Category:Pages using infobox residential college with a free field]]
 
}}{{main other|{{#if:{{{free|}}}{{{free_text|}}}|[[Category:Pages using infobox residential college with a free field]]
 
}}}}<noinclude>
 
}}}}<noinclude>
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Revision as of 11:05, 1 March 2019

Script error: No such module "If empty".
Full nameScript error: No such module "If empty".
Motto in EnglishScript error: No such module "If empty".
FounderScript error: No such module "If empty".
EstablishedScript error: No such module "If empty".
NamesakeScript error: No such module "If empty".
Former namesScript error: No such module "If empty".
ColoursScript error: No such module "If empty".
GenderScript error: No such module "If empty".
Sister collegeScript error: No such module "If empty".
Freshman dormScript error: No such module "If empty".
Faculty DeansScript error: No such module "If empty".
Script error: No such module "If empty".Script error: No such module "If empty".
HoCo chairsScript error: No such module "If empty".
ResidentsScript error: No such module "If empty".
UndergraduatesScript error: No such module "If empty".
PostgraduatesScript error: No such module "If empty".
TutorsScript error: No such module "If empty".
Core programScript error: No such module "If empty".
WebsiteScript error: No such module "If empty".
Student associationScript error: No such module "If empty".
JCRScript error: No such module "If empty".
MCRScript error: No such module "If empty".
SCRScript error: No such module "If empty".

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

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

This template may be used to summarise information in articles about residential colleges or residence halls which are functionally equivalent to residential colleges.

Usage

  1. redirect Template:Parameter names example
{{Infobox residential college
| name =
| native_name =
| type =
| university =
| image = 
| alt =
| caption =
| shield =
| shield_alt =
| shield_caption =
| scarf = <!-- {{scarf|{{cell|color1}}{{cell|color2}}...}} -->
| location = 
| quad = 
| coordinates = 
| full_name =
| name_Latin =
| abbreviation = 
| motto = <!-- or | motto_Latin = -->
| motto_lang =
| motto_English = 
| founder = <!-- or | founders = -->
| established =
| named_for = <!-- or | namesake = or | named_after = -->
| previous_names =
| status = 
| architect = 
| architectural_style = 
| colours = <!-- or | colors = -->
| gender = 
| sister_college = <!-- or | sister_colleges -->
| freshman_dorm = 
| head_label =
| head = 
| master = <!-- or | masters =  or | faculty deans or | head or | magister or | magisters -->
| vice_head_label =
| vice_head =
| warden = 
| principal = 
| rector = 
| president = 
| chief_justice =
| provost = 
| deputy_provost = 
| officer = 
| administrator = 
| dean = 
| associate_dean = 
| benefactor = 
| HoCo_chair = 
| residents = <!-- or | membership = -->
| undergraduates =
| postgraduates = 
| senior_tutor = 
| res_tutors =
| head_of_admissions = 
| chapel = 
| mascot = 
| newspaper = 
| charities = 
| events = 
| called = 
| fellows =
| endowment =
| website = 
| student_association =
| jcr_label =
| JCR = 
| mcr_label =
| MCR= 
| scr_label =
| SCR= 
| boat_club= 
| location_map = 
| map_size = 
| embedded =
}}

Embedding other templates

The embedded parameter is used for embedding other templates into this infobox (see Wikipedia:Infobox modules).

{{Infobox building
| name =
| <!-- etc. -->
| embedded =
  {{Infobox ABC
  | embed = yes <!-- or child=yes or subbox=yes-->
  | <!-- etc. -->
  }}
}}

Tracking categories

See also