Difference between revisions of "Template:Infobox residential college"
Jump to navigation
Jump to search
imported>Lobsterthermidor (Changed "Blazon" to "Arms" - a blazon is merely a technical wording describing form of arms; arms are described by a blazon, thus "Arms: (blazon here)"", see talk) |
|||
| (46 intermediate revisions by 10 users not shown) | |||
| Line 5: | Line 5: | ||
| aboveclass = fn org | | aboveclass = fn org | ||
| − | | image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|{{{photo|{{{picture| | + | | image = {{#invoke:InfoboxImage|InfoboxImage|image={{if empty| {{{image|}}} | {{{photo|}}} | {{{picture|}}} }}|size={{if empty| {{{image_size|}}} | {{{photo_size|}}} | {{{picture_size|}}} }}|sizedefault=frameless |alt={{{alt|}}}}} |
| caption = {{{caption|}}} | | caption = {{{caption|}}} | ||
| − | | image2 = {{#invoke:InfoboxImage|InfoboxImage|image={{{shield|}}}|size={{{shield_size|}}}|sizedefault=frameless|alt={{{shield_alt|}}}}} | + | | image2 = {{#invoke:InfoboxImage|InfoboxImage|image={{{shield|}}}|size={{{shield_size|}}}|sizedefault=frameless|upright={{{shield_upright|0.65}}}|alt={{{shield_alt|}}}}} |
| − | | caption2 = {{{shield_caption|}}} | + | | caption2 = {{br separated entries|1={{{shield_caption|}}}|2={{#if:{{{blazon|}}}|'''Arms:''' {{{blazon}}}}}}} |
| image3 = {{{scarf|}}} | | image3 = {{{scarf|}}} | ||
| − | | subheader = {{{native_name|}}} | + | | subheader = {{#if:{{{native_name|}}}|''{{{native_name|}}}''}} |
| subheader2 = {{{type|}}} | | subheader2 = {{{type|}}} | ||
| − | + | | subheader3 = {{{university|}}} | |
| − | | | ||
| − | |||
| label2 = Location | | label2 = Location | ||
| Line 26: | Line 24: | ||
| label4 = [[Geographic coordinate system|Coordinates]] | | label4 = [[Geographic coordinate system|Coordinates]] | ||
| − | | data4 = {{#if:{{ | + | | data4 = {{#if:{{{coordinates|}}} |
| − | + | |{{#invoke:Coordinates|coordinsert|{{{coordinates|}}}|type:edu|{{#if:{{{iso_region|}}}|region:{{{iso_region}}}}}}} | |
| + | }} | ||
| label5 = Full name | | label5 = Full name | ||
| − | | data5 = {{{full_name|{{{college_name| | + | | data5 = {{if empty| {{{full_name|}}} | {{{college_name|}}} }} |
| label6 = Latin name | | label6 = Latin name | ||
| − | | data6 = {{#if:{{{Latin_name|{{{name_Latin|}}}}}}|<span lang="la" style="font-style:italic">{{{Latin_name|{{{name_Latin|}}}}}}</span>}} | + | | data6 = {{#if:{{{Latin_name|}}}{{{name_Latin|}}}{{{latin_name|}}}|<span lang="la" style="font-style:italic">{{if empty| {{{Latin_name|}}} | {{{name_Latin|}}} | {{{latin_name|}}} }}</span>}} |
| label7 = Abbreviation | | label7 = Abbreviation | ||
| Line 47: | Line 46: | ||
|{{{motto}}} | |{{{motto}}} | ||
}} | }} | ||
| − | |{{#if:{{{motto_Latin|}}} | + | |{{#if:{{{motto_Latin|}}}{{{latin_motto|}}} |
| − | |<span lang="la" style="font-style:italic">{{{motto_Latin}}}</span> | + | |<span lang="la" style="font-style:italic">{{if empty| {{{motto_Latin|}}} | {{{latin_motto|}}} }}</span> <small>([[Latin]])</small> |
}} | }} | ||
}} | }} | ||
| label10 = {{#if:{{both|{{{translation|}}}|{{{motto|}}}{{{motto_Latin|}}}}}|Translation|Motto in English}} | | label10 = {{#if:{{both|{{{translation|}}}|{{{motto|}}}{{{motto_Latin|}}}}}|Translation|Motto in English}} | ||
| − | | data10 = {{ | + | | data10 = {{if empty| {{{translation|}}} | {{{mottoeng|}}} | {{{motto_English|}}} | {{{english_motto|}}} }} |
| label11 = {{#if:{{{founders|}}}|Founders|Founder}} | | label11 = {{#if:{{{founders|}}}|Founders|Founder}} | ||
| − | | data11 = {{ | + | | data11 = {{if empty| {{{founders|}}} | {{{founder|}}} }} |
| label12 = Established | | label12 = Established | ||
| − | | data12 = {{{established|{{{year_established|}}}}}} | + | | data12 = {{if empty| {{{established|}}} | {{{year_established|}}} }} |
| + | |||
| + | | label13 = Founded | ||
| + | | data13 = {{{founded|}}} | ||
| + | |||
| + | | label14 = Closed | ||
| + | | data14 = {{{closed|}}} | ||
| + | |||
| + | | label15 = {{#if:{{{named_for|}}}|Named for|{{#if:{{{named_after|}}}|Named after|Namesake}}}} | ||
| + | | data15 = {{if empty| {{{named_for|}}} | {{{named_after|}}} | {{{namesake|}}} }} | ||
| − | | | + | | label16 = {{#if:{{{previous_names|}}}{{{old_names|}}}|Previous names|Former names}} |
| − | | | + | | data16 = {{if empty| {{{previous_names|}}} | {{{old_names|}}} | {{{former_names|}}} }} |
| − | | | + | | label17 = Architect |
| − | | | + | | data17 = {{{architect|}}} |
| − | | | + | | label18 = Architectural style |
| − | | | + | | data18 = {{{architectural_style|}}} |
| − | | | + | | label19 = Status |
| − | | | + | | data19 = {{{status|}}} |
| − | | | + | | label20 = {{#if:{{{colors|}}}|Colors|Colours}} |
| − | | | + | | data20 = {{if empty| {{{colors|}}} | {{{colours|}}} }} |
| − | | | + | | label21 = Gender |
| − | | | + | | data21 = {{if empty| {{{gender|}}} | {{{sex|}}} }} |
| − | | | + | | label22 = Age restriction |
| − | | | + | | data22 = {{{age_restriction|}}} |
| − | | | + | | label23 = {{#if:{{{sister_college_label|}}}|{{{sister_college_label}}}|[[Sister college|Sister college{{#if: {{{sister_colleges|}}}|s}}]]}} |
| − | | | + | | data23 = {{if empty| {{{sister_colleges|}}} | {{{sister_college|}}} }} |
| − | | | + | | label24 = {{#if:{{{affiliated_hall|}}}|{{if empty|{{{affiliated_hall_label|}}}|Affiliated hall}}|Freshman dorm}} |
| − | | | + | | data24 = {{if empty| {{{affiliated_hall|}}} | {{{freshman_dorm|}}} }} |
| − | | | + | | label25 = [[{{if empty | {{{head_link|}}} | Master (college) }} |{{if empty | {{{head_label|}}} | {{{head_type|}}} | Head }}]] |
| − | | | + | | data25 = {{{head|}}} |
| − | | | + | | label26 = {{{vice_head_label|}}} |
| − | | | + | | data26 = {{{vice_head|}}} |
| − | | | + | | 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 = {{if empty| {{{master|}}}|{{{masters|}}}|{{{magister|}}}|{{{magisters|}}}|{{{faculty deans|}}} }} |
| − | | | + | | label28 = [[Warden (college)|Warden]] |
| − | | | + | | data28 = {{{warden|}}} |
| − | | | + | | label29 = [[Principal (academia)|Principal]] |
| − | | | + | | data29 = {{{principal|}}} |
| − | | | + | | label30 = [[Vice Principal|Vice principal]] |
| − | | | + | | data30 = {{{vice_principal|}}} |
| − | | | + | | label31 = Rector |
| − | | | + | | data31 = {{{rector|}}} |
| − | | | + | | label32 = {{#if:{{{president_label|}}}|{{{president_label}}}|President}} |
| − | | | + | | data32 = {{{president|}}} |
| − | | | + | | label33 = Chief justice |
| − | | | + | | data33 = {{{chief_justice|}}} |
| − | | | + | | label34 = Provost |
| − | | | + | | data34 = {{{provost|}}} |
| − | | | + | | label35 = Deputy provost |
| − | | | + | | data35 = {{{deputy_provost|}}} |
| − | | | + | | label36 = Officer |
| − | | | + | | data36 = {{{officer|}}} |
| − | | | + | | label37 = Administrator |
| − | | | + | | data37 = {{{administrator|}}} |
| − | | | + | | label38 = {{if empty|{{{dean_label|}}}|Dean}} |
| − | | | + | | data38 ={{if empty| {{{dean|}}} | {{{resident_dean|}}} | {{{ResidentDean|}}} }} |
| − | | | + | | label39 = Benefactor |
| − | | | + | | data39 = {{{benefactor|}}} |
| − | | | + | | label40 = HoCo chairs |
| − | | | + | | data40 = {{if empty| {{{HoCo_chair|}}} | {{{HoCoChair|}}} | {{{HoCoChairs|}}} }} |
| − | | | + | | label41 = {{#if:{{{membership|}}}|Membership|Residents}} |
| − | | | + | | data41 = {{if empty|{{{membership|}}}|{{{residents|}}} }} |
| − | | | + | | label42 = Undergraduates |
| − | | | + | | data42 = {{if empty| {{{undergraduates|}}} | {{{undergrads|}}} }} |
| − | | | + | | label43 = Postgraduates |
| − | | | + | | data43 = {{if empty| {{{postgraduates|}}} | {{{postgrads|}}} | {{{graduates|}}} }} |
| − | | | + | | label44 = Visiting students |
| − | | | + | | data44 = {{{visiting_students|}}} |
| − | | | + | | label45 = Fellows |
| − | | | + | | data45 = {{{fellows|}}} |
| − | | | + | | label46 = Senior tutor |
| − | | | + | | data46 = {{{senior_tutor|}}} |
| − | | | + | | label47 = Tutors |
| − | | | + | | data47 = {{if empty| {{{res_tutors|}}} | {{{restutors|}}} }} |
| − | | | + | | label48 = {{#if:{{{core_course|}}}|Core course|Core program}} |
| − | | | + | | data48 = {{if empty|{{{core_course|}}}|{{{core_program|}}} }} |
| − | | | + | | label49 = Chapel |
| − | | | + | | data49 = {{{chapel|}}} |
| − | | | + | | label50 = Mascot |
| − | | | + | | data50 = {{{mascot|}}} |
| − | | | + | | label51 = Newspaper |
| − | | | + | | data51 = {{{newspaper|}}} |
| − | | | + | | label52 = Interhall sports |
| − | | | + | | data52 = {{{sports|}}} |
| − | | | + | | label53 = Charities |
| − | | | + | | data53 = {{{charities|}}} |
| − | | | + | | label54 = Major events |
| + | | data54 = {{{events|}}} | ||
| − | | | + | | label55 = Called |
| + | | data55 = {{{called|}}} | ||
| − | | | + | | label56 = Blazon |
| − | | | + | | data56 = {{#if:{{{shield|}}}|<!-- in shield caption above -->|{{{blazon|}}}}} |
| − | | | + | | label57 = Grace |
| − | | | + | | data57 = {{{grace|}}} |
| − | | | + | | label58 = [[Financial endowment|Endowment]] |
| − | | | + | | data58 = {{{endowment|}}} |
| − | | | + | | label59 = {{{free_label}}} |
| − | | | + | | data59 = {{#if:{{{free_label|}}}|{{if empty| {{{free_text|}}} | {{{free|}}} }}}} |
| − | | | + | | 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 = Website |
| − | | | + | | data62 = {{if empty| {{{website|}}} | {{{homepage|}}} | {{{url|}}} }} |
| + | |||
| + | | label63 = [[Students' union|{{if empty| {{{student_body_name|}}} | Student association}}]] | ||
| + | | data63 = {{if empty| {{{student_body|}}} | {{{student_association|}}} }} | ||
| + | |||
| + | | label64 = [[Junior Common Room|{{if empty| {{{jcr_label|}}} | {{abbr|JCR|Junior Common Room}} }}]] | ||
| + | | data64 = {{if empty| {{{JCR|}}} | {{{jcr|}}} }} | ||
| + | |||
| + | | label65 = [[Middle Common Room|{{if empty| {{{mcr_label|}}} | {{abbr|MCR|Middle Common Room}} }}]] | ||
| + | | data65 = {{if empty| {{{MCR|}}} | {{{mcr|}}} }} | ||
| + | |||
| + | | label66 = [[Senior Common Room|{{if empty| {{{scr_label|}}} | {{abbr|SCR|Senior Common Room}} }}]] | ||
| + | | data66 = {{if empty| {{{SCR|}}} | {{{scr|}}} }} | ||
| + | |||
| + | | label67 = Boat club | ||
| + | | data67 = {{{boat_club|}}} | ||
| + | |||
| + | | header68 = {{#if:{{{location_map|}}} | {{{map_label|Map}}} }} | ||
| + | | data69 = {{#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|}}} |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
|float = center | |float = center | ||
| − | |label = {{{map dot label|{{{map_dot_label| | + | |label = {{if empty| {{{map dot label|}}} | {{{map_dot_label|}}} }} |
|relief = {{{relief|}}} | |relief = {{{relief|}}} | ||
|border = infobox | |border = infobox | ||
| − | |caption = {{If empty|{{{map_caption|}}}|Location in {{#invoke:Location map|data|{{{location_map}}}|name}}}} | + | |caption = {{If empty|{{{map_caption|}}}|{{#if:{{{location_map2|}}}|Location in {{#invoke:Location map|data|{{{location_map}}}|name}}##Location in {{#invoke:Location map|data|{{{location_map2}}}|name}}|Location in {{#invoke:Location map|data|{{{location_map}}}|name}}}}}} |
|width = {{{map_size|}}} | |width = {{{map_size|}}} | ||
}}}} | }}}} | ||
| − | + | | header70 = {{{nrhp|{{{embedded|{{{module|}}}}}}}}} | |
}}{{#invoke:Check for unknown parameters|check | }}{{#invoke:Check for unknown parameters|check | ||
| − | |unknown=[[Category:Pages using infobox residential college with | + | |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 | alt | architect | architectural_style | benefactor | boat_club | called | caption | chapel | charities | chief_justice | college_name | colors | colours | coordinates | | + | | 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 | jcr_label | mcr_label | scr_label | head_link | vice_head_label | vice_head | embedded |
| − | + | }}{{main other|{{#if:{{{free|}}}{{{free_text|}}}|[[Category:Pages using infobox residential college with a free field]] | |
| − | }}{{ | + | }}}}<noinclude> |
| − | }} | ||
| − | }}<noinclude> | ||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> | ||
Latest revision as of 00:52, 3 October 2020
| 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]]
| 30px | 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. |