Difference between revisions of "Template:Infobox residential college"
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 = {{ | + | | label26 = {{{vice_head_label|}}} |
− | | data26 = | + | | data26 = {{{vice_head|}}} |
− | | label27 = [[ | + | | 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 = {{{ | + | | data27 = {{if empty| {{{master|}}}|{{{masters|}}}|{{{magister|}}}|{{{magisters|}}}|{{{faculty deans|}}} }} |
− | | label28 = [[ | + | | label28 = [[Warden (college)|Warden]] |
− | | data28 = {{{ | + | | data28 = {{{warden|}}} |
− | | label29 = [[ | + | | label29 = [[Principal (academia)|Principal]] |
− | | data29 = {{{ | + | | data29 = {{{principal|}}} |
− | | label30 = | + | | label30 = [[Vice Principal|Vice principal]] |
− | | data30 = {{{ | + | | data30 = {{{vice_principal|}}} |
− | | label31 = | + | | label31 = Rector |
− | | data31 = {{{ | + | | data31 = {{{rector|}}} |
− | | label32 = | + | | label32 = {{#if:{{{president_label|}}}|{{{president_label}}}|President}} |
− | | data32 = {{{ | + | | data32 = {{{president|}}} |
− | | label33 = | + | | label33 = Chief justice |
− | | data33 = {{{ | + | | data33 = {{{chief_justice|}}} |
− | | label34 = | + | | label34 = Provost |
− | | data34 = {{{ | + | | data34 = {{{provost|}}} |
− | | label35 = | + | | label35 = Deputy provost |
− | | data35 = {{{ | + | | data35 = {{{deputy_provost|}}} |
− | | label36 = | + | | label36 = Officer |
− | | data36 = {{{ | + | | data36 = {{{officer|}}} |
− | | label37 = | + | | label37 = Administrator |
− | | data37 | + | | data37 = {{{administrator|}}} |
− | | label38 = | + | | label38 = {{if empty|{{{dean_label|}}}|Dean}} |
− | | data38 = {{{ | + | | data38 ={{if empty| {{{dean|}}} | {{{resident_dean|}}} | {{{ResidentDean|}}} }} |
− | | label39 = | + | | label39 = Benefactor |
− | | data39 = | + | | data39 = {{{benefactor|}}} |
− | | label40 = {{ | + | | label40 = HoCo chairs |
− | + | | data40 = {{if empty| {{{HoCo_chair|}}} | {{{HoCoChair|}}} | {{{HoCoChairs|}}} }} | |
− | | label41 = | + | | label41 = {{#if:{{{membership|}}}|Membership|Residents}} |
− | | data41 = {{if empty| {{{ | + | | data41 = {{if empty|{{{membership|}}}|{{{residents|}}} }} |
− | | label42 = | + | | label42 = Undergraduates |
− | | data42 = {{if empty| {{{ | + | | data42 = {{if empty| {{{undergraduates|}}} | {{{undergrads|}}} }} |
− | | label43 = | + | | label43 = Postgraduates |
− | | data43 = {{{ | + | | data43 = {{if empty| {{{postgraduates|}}} | {{{postgrads|}}} | {{{graduates|}}} }} |
− | | label44 = | + | | label44 = Visiting students |
− | | data44 = {{{ | + | | data44 = {{{visiting_students|}}} |
− | | label45 = | + | | label45 = Fellows |
− | | data45 | + | | data45 = {{{fellows|}}} |
− | | label46 = | + | | label46 = Senior tutor |
− | | data46 = | + | | data46 = {{{senior_tutor|}}} |
− | | label47 = | + | | label47 = Tutors |
− | | data47 = {{{ | + | | data47 = {{if empty| {{{res_tutors|}}} | {{{restutors|}}} }} |
− | | label48 = | + | | label48 = {{#if:{{{core_course|}}}|Core course|Core program}} |
− | | data48 = {{{ | + | | data48 = {{if empty|{{{core_course|}}}|{{{core_program|}}} }} |
− | | label49 = | + | | label49 = Chapel |
− | | data49 = {{{ | + | | data49 = {{{chapel|}}} |
− | | label50 = | + | | label50 = Mascot |
− | | data50 = {{{ | + | | data50 = {{{mascot|}}} |
− | | label51 = | + | | label51 = Newspaper |
− | | data51 = {{{ | + | | data51 = {{{newspaper|}}} |
− | | label52 = | + | | label52 = Interhall sports |
− | | data52 = {{{ | + | | data52 = {{{sports|}}} |
− | | label53 = | + | | label53 = Charities |
− | | data53 | + | | data53 = {{{charities|}}} |
− | | label54 = | + | | label54 = Major events |
− | | data54 = {{{ | + | | data54 = {{{events|}}} |
− | | label55 = | + | | label55 = Called |
− | | data55 = {{ | + | | data55 = {{{called|}}} |
− | | label56 = | + | | label56 = Blazon |
− | | data56 = {{{ | + | | data56 = {{#if:{{{shield|}}}|<!-- in shield caption above -->|{{{blazon|}}}}} |
− | | label57 = | + | | label57 = Grace |
− | | data57 = {{{ | + | | data57 = {{{grace|}}} |
− | | label58 = | + | | label58 = [[Financial endowment|Endowment]] |
− | | data58 = | + | | data58 = {{{endowment|}}} |
− | | data59 = {{# | + | | label59 = {{{free_label}}} |
+ | | data59 = {{#if:{{{free_label|}}}|{{if empty| {{{free_text|}}} | {{{free|}}} }}}} | ||
− | | data60 = {{#invoke:InfoboxImage|InfoboxImage|image={{{ | + | | data60 = {{#invoke:InfoboxImage|InfoboxImage |image={{{logo|}}}|size={{{logo_size|}}}|alt={{{logo_alt|}}}}} |
− | | | + | | data61 = {{#invoke:InfoboxImage|InfoboxImage|image={{{shield2|}}}|size={{{shield2_size|}}}|sizedefault=frameless|upright={{{shield2_upright|{{{shield_upright|0.65}}}}}}|alt={{{shield2_alt|}}}}} |
− | | | ||
− | | label62 = {{ | + | | label62 = Website |
− | + | | data62 = {{if empty| {{{website|}}} | {{{homepage|}}} | {{{url|}}} }} | |
− | | label63 = {{ | + | | label63 = [[Students' union|{{if empty| {{{student_body_name|}}} | Student association}}]] |
− | | data63 = {{if empty| {{{ | + | | data63 = {{if empty| {{{student_body|}}} | {{{student_association|}}} }} |
− | | label64 = {{abbr| | + | | label64 = [[Junior Common Room|{{if empty| {{{jcr_name|}}} | {{abbr|JCR|Junior Common Room}} }}]] |
− | | data64 = {{if empty| {{{ | + | | data64 = {{if empty| {{{JCR|}}} | {{{jcr|}}} }} |
− | | label65 = {{abbr| | + | | label65 = [[Middle Common Room|{{if empty| {{{mcr_name|}}} | {{abbr|MCR|Middle Common Room}} }}]] |
− | | data65 = {{if empty| {{{ | + | | data65 = {{if empty| {{{MCR|}}} | {{{mcr|}}} }} |
− | | label66 = | + | | label66 = [[Senior Common Room|{{if empty| {{{scr_name|}}} | {{abbr|SCR|Senior Common Room}} }}]] |
− | | data66 = {{{ | + | | data66 = {{if empty| {{{SCR|}}} | {{{scr|}}} }} |
− | | | + | | 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 name | Script error: No such module "If empty". |
---|---|
Motto in English | Script error: No such module "If empty". |
Founder | Script error: No such module "If empty". |
Established | Script error: No such module "If empty". |
Namesake | Script error: No such module "If empty". |
Former names | Script error: No such module "If empty". |
Colours | Script error: No such module "If empty". |
Gender | Script error: No such module "If empty". |
Sister college | Script error: No such module "If empty". |
Freshman dorm | Script error: No such module "If empty". |
Faculty Deans | Script error: No such module "If empty". |
Script error: No such module "If empty". | Script error: No such module "If empty". |
HoCo chairs | Script error: No such module "If empty". |
Residents | Script error: No such module "If empty". |
Undergraduates | Script error: No such module "If empty". |
Postgraduates | Script error: No such module "If empty". |
Tutors | Script error: No such module "If empty". |
Core program | Script error: No such module "If empty". |
Website | 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". | Script error: No such module "If empty". |
[[Category:Infobox templates|Template:Remove first word]]
![]() | This template uses Lua: |
This template may be used to summarise information in articles about residential colleges or residence halls which are functionally equivalent to residential colleges.
Usage
- 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
- Category:Pages using infobox residential college with unknown parameters (0)
- Category:Pages using infobox residential college with a free field (0)
See also
- {{Infobox building}}
- {{Infobox university}}
The above documentation is transcluded from Template:Infobox residential college/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. |