Difference between revisions of "Template:Infobox residential college"

From blackwiki
Jump to navigation Jump to search
imported>TSP
(Add endowment field (already widely used for Cambridge colleges using the free label))
imported>Charlie Awesome
(Links, capitalization, rationalizing field order a little)
Line 96: Line 96:
 
| data24 = {{if empty| {{{affiliated_hall|}}} | {{{freshman_dorm|}}} }}
 
| data24 = {{if empty| {{{affiliated_hall|}}} | {{{freshman_dorm|}}} }}
  
| label25 = {{if empty | {{{head_label|}}} | {{{head_type|}}}| Head }}
+
| label25 = [[Head (college)|{{if empty | {{{head_label|}}} | {{{head_type|}}} | Head }}]]
 
| data25  = {{{head|}}}
 
| data25  = {{{head|}}}
  
| label26 = {{#if:{{{master|}}}|[[Master (college)|Master]]|{{#if:{{{masters|}}}|[[Master (college)|Masters]]|{{#if:{{{magister|}}}|[[Master (college)|Magister]]|{{#if:{{{magisters|}}}|[[Master (college)|Magisters]]|[[Master (college)|Faculty Deans]]}}}}}}}}
+
| label26 = {{{vice_head_label|}}}
| data26 = {{if empty| {{{master|}}}|{{{masters|}}}|{{{magister|}}}|{{{magisters|}}}|{{{faculty deans|}}} }}
+
| data26 = {{{vice_head|}}}
  
| label27 = [[Warden (college)|Warden]]
+
| label27 = {{#if:{{{master|}}}|[[Master (college)|Master]]|{{#if:{{{masters|}}}|[[Master (college)|Masters]]|{{#if:{{{magister|}}}|[[Master (college)|Magister]]|{{#if:{{{magisters|}}}|[[Master (college)|Magisters]]|[[Master (college)|Faculty Deans]]}}}}}}}}
| data27 = {{{warden|}}}
+
| data27 = {{if empty| {{{master|}}}|{{{masters|}}}|{{{magister|}}}|{{{magisters|}}}|{{{faculty deans|}}} }}
  
| label28 = [[Principal (academia)|Principal]]
+
| label28 = [[Warden (college)|Warden]]
| data28 = {{{principal|}}}
+
| data28 = {{{warden|}}}
  
| label29 = [[Vice Principal|Vice Principal]]
+
| label29 = [[Principal (academia)|Principal]]
| data29 = {{{vice_principal|}}}
+
| data29 = {{{principal|}}}
  
| label30 = Rector
+
| label30 = [[Vice Principal|Vice principal]]
| data30 = {{{rector|}}}
+
| data30 = {{{vice_principal|}}}
  
| label31 = {{#if:{{{president_label|}}}|{{{president_label}}}|President}}
+
| label31 = Rector
| data31 = {{{president|}}}
+
| data31 = {{{rector|}}}
  
| label32 = Chief Justice
+
| label32 = {{#if:{{{president_label|}}}|{{{president_label}}}|President}}
| data32 = {{{chief_justice|}}}
+
| data32 = {{{president|}}}
  
| label33 = Provost
+
| label33 = Chief justice
| data33 = {{{provost|}}}
+
| data33 = {{{chief_justice|}}}
  
| label34 = Deputy provost
+
| label34 = Provost
| data34 = {{{deputy_provost|}}}
+
| data34 = {{{provost|}}}
  
| label35 = Officer
+
| label35 = Deputy provost
| data35 = {{{officer|}}}
+
| data35 = {{{deputy_provost|}}}
  
| label36 = Administrator
+
| label36 = Officer
| data36 = {{{administrator|}}}
+
| data36 = {{{officer|}}}
  
| label37 = {{if empty|{{{dean_label|}}}|Dean}}
+
| label37 = Administrator
| data37 ={{if empty| {{{dean|}}} | {{{resident_dean|}}} | {{{ResidentDean|}}} }}
+
| data37 = {{{administrator|}}}
  
| label38 = Benefactor
+
| label38 = {{if empty|{{{dean_label|}}}|Dean}}
| data38 = {{{benefactor|}}}
+
| data38 ={{if empty| {{{dean|}}} | {{{resident_dean|}}} | {{{ResidentDean|}}} }}
  
| label39 = HoCo chairs
+
| label39 = Benefactor
| data39 = {{if empty| {{{HoCo_chair|}}} | {{{HoCoChair|}}} | {{{HoCoChairs|}}} }}
+
| data39 = {{{benefactor|}}}
  
| label40 = {{#if:{{{membership|}}}|Membership|Residents}}
+
| label40 = HoCo chairs
| data40  = {{if empty|{{{membership|}}}|{{{residents|}}} }}
+
| data40 = {{if empty| {{{HoCo_chair|}}} | {{{HoCoChair|}}} | {{{HoCoChairs|}}} }}
  
| label41 = Undergraduates
+
| label41 = {{#if:{{{membership|}}}|Membership|Residents}}
| data41 = {{if empty| {{{undergraduates|}}} | {{{undergrads|}}} }}
+
| data41 = {{if empty|{{{membership|}}}|{{{residents|}}} }}
  
| label42 = Postgraduates
+
| label42 = Undergraduates
| data42 = {{if empty| {{{postgraduates|}}} | {{{postgrads|}}} | {{{graduates|}}} }}
+
| data42 = {{if empty| {{{undergraduates|}}} | {{{undergrads|}}} }}
  
| label43 = Visiting students
+
| label43 = Postgraduates
| data43 = {{{visiting_students|}}}
+
| data43 = {{if empty| {{{postgraduates|}}} | {{{postgrads|}}} | {{{graduates|}}} }}
  
| label44 = Senior tutor
+
| label44 = Visiting students
| data44 = {{{senior_tutor|}}}
+
| data44 = {{{visiting_students|}}}
  
| label45 = Tutors
+
| label45 = Fellows
| data45 = {{if empty| {{{res_tutors|}}} | {{{restutors|}}} }}
+
| data45 = {{{fellows|}}}
  
| label46 = {{#if:{{{core_course|}}}|Core course|Core program}}
+
| label46 = Senior tutor
| data46 = {{if empty|{{{core_course|}}}|{{{core_program|}}} }}
+
| data46 = {{{senior_tutor|}}}
  
| label47 = Chapel
+
| label47 = Tutors
| data47 = {{{chapel|}}}
+
| data47 = {{if empty| {{{res_tutors|}}} | {{{restutors|}}} }}
  
| label48 = Mascot
+
| label48 = {{#if:{{{core_course|}}}|Core course|Core program}}
| data48 = {{{mascot|}}}
+
| data48 = {{if empty|{{{core_course|}}}|{{{core_program|}}} }}
  
| label49 = Newspaper
+
| label49 = Chapel
| data49 = {{{newspaper|}}}
+
| data49 = {{{chapel|}}}
  
| label50 = Interhall sports
+
| label50 = Mascot
| data50 = {{{sports|}}}
+
| data50 = {{{mascot|}}}
  
| label51 = Charities
+
| label51 = Newspaper
| data51 = {{{charities|}}}
+
| data51 = {{{newspaper|}}}
  
| label52 = Major events
+
| label52 = Interhall sports
| data52 = {{{events|}}}
+
| data52 = {{{sports|}}}
  
| label53 = Called
+
| label53 = Charities
| data53 = {{{called|}}}
+
| data53 = {{{charities|}}}
  
| label54 = Fellows
+
| label54 = Major events
| data54 = {{{fellows|}}}
+
| data54 = {{{events|}}}
  
| label55 = Blazon
+
| label55 = Called
| data55 = {{#if:{{{shield|}}}|<!-- in shield caption above -->|{{{blazon|}}}}}
+
| data55 = {{{called|}}}
  
| label56 = Grace
+
| label56 = Blazon
| data56 = {{{grace|}}}
+
| data56 = {{#if:{{{shield|}}}|<!-- in shield caption above -->|{{{blazon|}}}}}
  
| label57 = [[Financial endowment|Endowment]]
+
| label57 = Grace
| data57 = {{{endowment|}}}
+
| data57 = {{{grace|}}}
  
| label58 = {{{free_label}}}
+
| label58 = [[Financial endowment|Endowment]]
| data58 = {{#if:{{{free_label|}}}|{{if empty| {{{free_text|}}} | {{{free|}}} }}}}
+
| data58 = {{{endowment|}}}
  
| data59 = {{#invoke:InfoboxImage|InfoboxImage |image={{{logo|}}}|size={{{logo_size|}}}|alt={{{logo_alt|}}}}}
+
| label59 = {{{free_label}}}
 +
| data59 = {{#if:{{{free_label|}}}|{{if empty| {{{free_text|}}} | {{{free|}}} }}}}
  
| data60 = {{#invoke:InfoboxImage|InfoboxImage|image={{{shield2|}}}|size={{{shield2_size|}}}|sizedefault=frameless|upright={{{shield2_upright|{{{shield_upright|0.65}}}}}}|alt={{{shield2_alt|}}}}}
+
| data60 = {{#invoke:InfoboxImage|InfoboxImage |image={{{logo|}}}|size={{{logo_size|}}}|alt={{{logo_alt|}}}}}
  
| label61 = Website
+
| data61 = {{#invoke:InfoboxImage|InfoboxImage|image={{{shield2|}}}|size={{{shield2_size|}}}|sizedefault=frameless|upright={{{shield2_upright|{{{shield_upright|0.65}}}}}}|alt={{{shield2_alt|}}}}}
| data61 = {{if empty| {{{website|}}} | {{{homepage|}}} | {{{url|}}} }}
 
  
| label62 = {{#if:{{{student_body_name|}}}|{{{student_body_name}}}|Student association}}
+
| label62 = Website
| data62 =  {{if empty| {{{student_body|}}} | {{{student_association|}}} }}
+
| data62 = {{if empty| {{{website|}}} | {{{homepage|}}} | {{{url|}}} }}
  
| label63 = {{abbr|JCR|Junior common room}}
+
| label63 = [[Students' union|{{if empty| {{{student_body_name|}}} | Student association}}]]
| data63 = {{if empty| {{{JCR|}}} | {{{jcr|}}} }}
+
| data63 = {{if empty| {{{student_body|}}} | {{{student_association|}}} }}
  
| label64 = {{abbr|MCR|Middle common room}}
+
| label64 = [[Junior Common Room|{{if empty| {{{jcr_name|}}} | {{abbr|JCR|Junior Common Room}} }}]]
| data64 = {{if empty| {{{MCR|}}} | {{{mcr|}}} }}
+
| data64 = {{if empty| {{{JCR|}}} | {{{jcr|}}} }}
  
| label65 = {{abbr|SCR|Senior common room}}
+
| label65 = [[Middle Common Room|{{if empty| {{{mcr_name|}}} | {{abbr|MCR|Middle Common Room}} }}]]
| data65 = {{if empty| {{{SCR|}}} | {{{scr|}}} }}
+
| data65 = {{if empty| {{{MCR|}}} | {{{mcr|}}} }}
  
| label66 = Boat club
+
| label66 = [[Senior Common Room|{{if empty| {{{scr_name|}}} | {{abbr|SCR|Senior Common Room}} }}]]
| data66 = {{{boat_club|}}}
+
| data66 = {{if empty| {{{SCR|}}} | {{{scr|}}} }}
  
| header67 = {{#if:{{{location_map|}}} | {{{map_label|Map}}} }}
+
| label67 = Boat club
 +
| data67 = {{{boat_club|}}}
 +
 
 +
| header68 = {{#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}}}}}
 
| 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|}}}

Revision as of 11:47, 21 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".
Script error: No such module "If empty".Script error: No such module "If empty".
Script error: No such module "If empty".Script error: No such module "If empty".
Script error: No such module "If empty".Script error: No such module "If empty".
Script error: No such module "If empty".Script 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