Template:Infobox religious building: Difference between revisions
this _should_ work as well, and will allow us to remove the subtemplate
m (1 revision imported) |
(this _should_ work as well, and will allow us to remove the subtemplate) |
||
Line 1: | Line 1: | ||
{{Infobox|child={{{child|}}} | {{Infobox|child={{{child|}}} | ||
| bodyclass = vcard | | bodyclass = vcard | ||
| bodystyle = border-spacing:2px; width:250px | | bodystyle = border-spacing:2px; width:250px | ||
| abovestyle = font-size:larger; background-color:{{Infobox religious building/color|{{{religious_affiliation}}}}} | | abovestyle = font-size:larger; background-color:{{Infobox religious building/color|{{{religious_affiliation}}}}} | ||
| | | headerstyle= background-color:{{Infobox religious building/color|{{{religious_affiliation}}}}} | ||
<!-- check for correct microformat: title, native_name, --> | |||
| titleclass = fn org | |||
| above = {{{name|{{{building_name|<includeonly>{{PAGENAMEBASE}}</includeonly>}}}}}} | | above = {{{name|{{{building_name|<includeonly>{{PAGENAMEBASE}}</includeonly>}}}}}} | ||
| subheader = {{#if:{{{native_name|}}}|<div class="nickname" {{#if:{{{native_name_lang|}}}|lang="{{{native_name_lang}}}"}}>{{{native_name}}}</div>}} | |||
| subheader = {{#if:{{{native_name|}}}|< | |||
| image = {{#invoke:InfoboxImage |InfoboxImage |image={{#invoke:Wikidata|getValue|P18|{{{image|FETCH_WIKIDATA}}}}} |upright={{{image_upright|}}} |alt={{{alt|}}} }} | | image = {{#invoke:InfoboxImage |InfoboxImage |image={{#invoke:Wikidata|getValue|P18|{{{image|FETCH_WIKIDATA}}}}} |upright={{{image_upright|}}} |alt={{{alt|}}} }} | ||
| caption = {{{caption|}}} | | caption = {{{caption|}}} | ||
| | <!-- RELIGION ----- ----- ----- ----- ----- --> | ||
| header1 = {{#if:{{{religious_affiliation|}}}{{{deity|}}}{{{rite|}}}{{{tradition|}}}{{{sect|}}}{{{festivals|}}}{{{festival|}}}{{{district|}}}{{{consecration_year|}}}{{{organisational_status|}}}{{{organizational_status|{{{status|}}}}}}{{{leadership|}}}{{{ownership|}}}{{{governing_body|}}}{{{bhattaraka|}}}{{{patron|}}}{{{religious_features|}}}|Religion}} | |||
<!-- affiliation, sect, tradition --> | |||
| rowclass2 = note<!-- note? --> | |||
| label2 = [[List of religions and spiritual traditions|Affiliation]] | |||
| data2 = {{br separated entries|{{{religious_affiliation|}}}|{{{category|}}}}}<!-- category???/2019 --> | |||
}}} | |||
| label3 = {{#switch:{{Infobox religious building/color|1={{{religious_affiliation}}}}} | |||
|#9BE89B<!-- islam --> = [[Islamic schools and branches|Branch/tradition]] | |||
|#default = [[Sect]] | |||
| label3 | |||
|# | |||
|#default = Sect | |||
}} | }} | ||
| | | data3 = {{#switch:{{Infobox religious building/color|1={{{religious_affiliation}}}}} | ||
| | |#9BE89B<!-- islam --> = {{{tradition|}}} | ||
|#default = {{{sect|}}} | |#default = {{{sect|}}} | ||
}} | }} | ||
<!-- religious organisation strutture here: --> | |||
| | | label4 = {{#switch:{{Infobox religious building/color|{{{religious_affiliation}}}}} | ||
|#FFCC99 = [[Ecclesiastical district|District]] | |#FFCC99 = [[Ecclesiastical district|District]] | ||
|District}} | |District}} | ||
| | | class4 = label | ||
| | | data4 = {{{district|}}} | ||
| | | label5 = [[Prefecture]]<!-- religious or secular? --> | ||
| | | data5 = {{{prefecture|}}} | ||
| | | label6 = {{#switch:{{Infobox religious building/color|{{{religious_affiliation}}}}} | ||
|#FFCC99<!-- Roman Catholic --> = [[Ecclesiastical province|Province]] | |||
|#FFCC99 = [[Ecclesiastical province|Province]] | |||
|Province}} | |Province}} | ||
| | | data6 = {{{province|}}} | ||
| | | label7 = {{#switch:{{Infobox religious building/color|{{{religious_affiliation}}}}} | ||
|#FFCC99 = [[Ecclesiastical region|Region]] | |#FFCC99 = [[Ecclesiastical region|Region]] | ||
|Region}} | |Region}} | ||
| | | data7 = {{{region|}}} | ||
| | | label8 = [[Deity]] | ||
| | | data8 = {{{deity|}}} | ||
| | | label9 = {{#switch:{{Infobox religious building/color|{{{religious_affiliation}}}}} | ||
| | |#9BB4EB |#87CEFA |#ADD8E6 = [[Nusach|Rite]]<!-- this kludge is used because the people of Wikipedia do not have {{#pos}} or so! I do not want to list all flavours of Judaism just here --> | ||
| | |[[Rite]]}} | ||
| data9 = {{{rite|}}} | |||
| | | label10 = {{#if:{{{festivals|}}}|Festivals|Festival}} | ||
| | | data10 = {{#if:{{{festivals|}}}|{{{festivals}}}|{{{festival|}}}}} | ||
| | | label11 = {{#switch:{{{religious_affiliation}}}| | ||
|[[Shinto]] = Type | |[[Shinto]] = Type | ||
|#default = {{#if:{{{organisational_status|}}} | |#default = {{#if:{{{organisational_status|}}} | ||
Line 128: | Line 68: | ||
}} | }} | ||
}} | }} | ||
| | | data11 = {{#switch:{{{religious_affiliation}}}| | ||
|[[Shinto]] = {{{type|}}} | |[[Shinto]] = {{{type|}}} | ||
|#default = {{#if:{{{organisational_status|}}} | |#default = {{#if:{{{organisational_status|}}} | ||
Line 135: | Line 75: | ||
}} | }} | ||
}} | }} | ||
| | | label12 = Ownership<!-- religious then? --> | ||
| | | data12 = {{{ownership|}}} | ||
| | | label13 = {{#if:{{{governing_body|}}}|Governing body|Leadership}}<!-- religious? --> | ||
| | | data13 = {{#if:{{{governing_body|}}}|{{{governing_body}}}|{{{leadership|}}}}} | ||
| | | label14 = [[Bhattaraka]]<!-- Jainism --> | ||
| | | data14 = {{{bhattaraka|}}} | ||
| | | label15 = Patron<!-- religious? --> | ||
| | | data15 = {{{patron|}}} | ||
<!-- religious history --> | |||
| label16 = Year consecrated | |||
| data16 = {{{consecration_year|}}} | |||
| | | label17 = Status | ||
| | | data17 = {{{functional_status|}}} | ||
| | | label18 = {{{religious_features_label|Religious features}}} | ||
| | | data18 = {{{religious_features|}}} | ||
| | <!-- LOCATION ----- ----- ----- ----- ----- ----- ----- --> | ||
| header20 = {{#if:{{{location|}}}{{{locale|}}}{{{coordinates|}}}{{{geo|}}}{{{sector|}}}{{{municipality|}}}{{{district|}}}{{{territory|}}}{{{prefecture|}}}{{{state|}}}{{{province|}}}{{{region|}}}{{{country|}}}{{{administration|}}}{{{functional_status|}}}{{{heritage_designation|}}}{{{ownership|}}}{{{governing_body|}}}{{{bhattaraka|}}}|Location}} | |||
| | | label21 = Location | ||
| | | data21 = {{if empty|{{{location|}}}|{{{locale|}}}}} | ||
| | |||
| | | label22 = Municipality | ||
| | | class22 = label | ||
| data22 = {{{municipality|}}} | |||
| | | label23 = [[Circle (country subdivision)|Cercle]] | ||
| | | class23 = label | ||
| data23 = {{{cercle|}}} | |||
| | | label24 = State | ||
| | | data24 = {{{state|}}} | ||
| | | label25 = Country | ||
| | | data25 = {{{country|}}} | ||
| | | data26 = {{#if:{{both|{{{map_type|}}}|{{{coordinates|}}}}}|{{Location map | ||
| | |{{{map_type}}} | ||
|coordinates = {{{coordinates|}}} | |||
|width={{#if:{{{map_size|}}}|{{{map_size}}}| }} | |||
|float=center | |||
|border=infobox | |||
|alt = {{{map_alt|}}} | |||
|relief = {{{map_relief|{{{relief|}}}}}} | |||
|caption={{#if:{{{map_caption|}}}|{{{map_caption}}}|Shown within {{#invoke:Location map|data|{{{map_type}}}|name}} }} | |||
|mark={{#switch:{{{religious_affiliation|}}} | |||
| [[Armenian Apostolic Church]] | |||
| [[Mekhitarist Order]] = Set01-church1.svg | |||
| [[Jainism]] = In-jain.svg | |||
| [[Hinduism]] = Om symbol.svg | |||
| [[Shinto]] = Shinto torii icon vermillion.svg | |||
| [[Tibetan Buddhism]] = Gold temple icon.png | |||
| #default = }} | |||
|marksize = {{#switch:{{{religious_affiliation|}}} | |||
| [[Armenian Apostolic Church]] | |||
| [[Mekhitarist Order]] = 16 | |||
| [[Jainism]] = 12 | |||
| [[Hinduism]] | |||
| [[Tibetan Buddhism]] = 8 | |||
| [[Shinto]] = 20 | |||
| #default = }} | |||
}}}} | |||
| label27 = {{#if:{{{grid_name|}}}|{{{grid_name}}}|Grid position}}<!-- Palestine --> | |||
| data27 = {{{grid_position|}}} | |||
| label28 = Sector | |||
| class28 = label | |||
| data28 = {{{sector|}}} | |||
| | | label29 = Territory | ||
| | | data29 = {{{territory|}}} | ||
| | | label31 = Prefecture | ||
| | | data31 = {{{prefecture|}}} | ||
| | | label32 = Administration | ||
| | | class32 = label | ||
| | | data32 = {{{administration|}}} | ||
| | | label39 = [[Geographic coordinate system|Geographic coordinates]] | ||
| | | data39 = {{#if:{{{coordinates|{{{geo|}}}}}}|{{#invoke:Coordinates|coordinsert|{{{coordinates|{{{geo}}}}}}|type:landmark}}{{{coordinates_footnotes|}}}}} | ||
| | <!-- ARCHITECTURE ---- ---- ---- ---- ---- ---- ---- ---- --> | ||
| | | header40 = {{#if:{{{architect|}}}{{{architecture_type|}}}{{{architecture_style|}}}{{{founded_by|}}}{{{creator|}}}{{{funded_by|}}}{{{general_contractor|}}}{{{established|}}}{{{groundbreaking|}}}{{{completed|}}}{{{year_completed|}}}{{{construction_cost|}}}{{{date_demolished|}}}{{{date_destroyed|}}}|Architecture}} | ||
| | | label41 = [[Architect|Architect(s)]] | ||
| class41 = note | |||
| data41 = {{{architect|}}} | |||
| | | label42 = Architectural type | ||
| | | data42 = {{{architecture_type|}}} | ||
| | | label43 = [[Architectural style]] | ||
| | | data43 = {{{architecture_style|}}} | ||
| | | label44 = {{#if:{{{founded_by|}}}|Founder|Creator}} | ||
| | | data44 = {{if empty|{{{founded_by|}}}|{{{creator|}}}}} | ||
| | | label45 = Funded by | ||
| | | data45 = {{{funded_by|}}} | ||
| | | label46 = [[General contractor]] | ||
| | | data46 = {{{general_contractor|}}} | ||
| | | label47 = Date established | ||
| | | data47 = {{{established|}}} | ||
| | | label48 = Groundbreaking | ||
| | | class48 = note | ||
| data48 = {{{groundbreaking|}}} | |||
| | | label49 = Completed | ||
| | | class49 = note | ||
| data49 = {{{year_completed|{{{completed|}}}}}} | |||
| label51 = | | label51 = Construction cost | ||
| data51 = {{{ | | data51 = {{{construction_cost|}}} | ||
| label52 = | | label52 = {{#if:{{{date_demolished|}}}|Demolished|Destroyed}} | ||
| data52 = {{{ | | data52 = {{ifempty|{{{date_demolished|}}}|{{{date_destroyed|}}}}} | ||
| | |header60 = {{#ifexpr:{{#invoke:ParameterCount|main|facade_direction|capacity|length|width|width_nave|interior_area|height_max|dome_quantity|dome_height_outer|dome_height_inner|dome_dia_outer|dome_dia_inner|minaret_quantity|minaret_height|spire_quantity|spire_height|site_area|temple_quantity|monument_quantity|shrine_quantity|materials|elevation_m|elevation_ft}} > 1 |Specifications}}<!--Show Specifications header only if there is more than one of these items, per 2016 discussion available in Talk Archive 1 --> | ||
| | | label61 = Direction of façade | ||
| | | data61 = {{{facade_direction|}}} | ||
| | | label62 = Capacity | ||
| | | data62 = {{{capacity|}}} | ||
| | | label63 = Length | ||
| | | data63 = {{{length|}}} | ||
| | | label64 = Width | ||
| | | data64 = {{{width|}}} | ||
| | | label65 = Width ([[nave]]) | ||
| | | data65 = {{{width_nave|}}} | ||
| | | label66 = Interior area | ||
| | | data66 = {{{interior_area|}}} | ||
| | | label67 = Height (max) | ||
| | | data67 = {{{height_max|}}} | ||
| | | label68 = [[Dome]](s) | ||
| | | data68 = {{{dome_quantity|}}} | ||
| | | label69 = Dome height (outer) | ||
| | | data69 = {{{dome_height_outer|}}} | ||
| | | label71 = Dome height (inner) | ||
| | | data71 = {{{dome_height_inner|}}} | ||
| | | label72 = Dome dia. (outer) | ||
| | | data72 = {{{dome_dia_outer|}}} | ||
| | | label73 = Dome dia. (inner) | ||
| | | data73 = {{{dome_dia_inner|}}} | ||
| label74 = [[Minaret]](s) | |||
| data74 = {{{minaret_quantity|}}} | |||
| label75 = Minaret height | |||
| data75 = {{{minaret_height|}}} | |||
| label76 = [[Spire]](s) | |||
| data76 = {{{spire_quantity|}}} | |||
| label77 = Spire height | |||
| data77 = {{{spire_height|}}} | |||
| label78 = Site area | |||
| data78 = {{{site_area|}}} | |||
| label79 = Temple(s) | |||
| data79 = {{{temple_quantity|}}} | |||
| label81 = Monument(s) | |||
| data81 = {{{monument_quantity|}}} | |||
| label82 = Shrine(s) | |||
| data82 = {{{shrine_quantity|}}} | |||
| label83 = Inscriptions | |||
| data83 = {{{inscriptions|}}} | |||
| label84 = [[Building material|Materials]] | |||
| data84 = {{{materials|}}} | |||
| label85 = Elevation | |||
| data85 = {{#if:{{{elevation_m|}}} | |||
|{{convert|{{{elevation_m}}}|m|ft|0|abbr=on}}{{{elevation_footnotes|}}} | |{{convert|{{{elevation_m}}}|m|ft|0|abbr=on}}{{{elevation_footnotes|}}} | ||
|{{#if:{{{elevation_ft|}}} | |{{#if:{{{elevation_ft|}}} | ||
Line 270: | Line 279: | ||
}} | }} | ||
| | |header90 = {{#ifeq:{{{nrhp|{{{embedded|{{{module|}}}}}}}}}|yes|{{#if:{{{designated|}}}|[[United States|U.S.]] [[National Historic Landmark]]|[[United States|U.S.]] [[National Register of Historic Places]]}}}} | ||
| | | label91 = Added to [[National Register of Historic Places|NRHP]] | ||
| | | data91 = {{#ifeq:{{{nrhp|{{{embedded|{{{module|}}}}}}}}}|yes|{{{added|}}}}} | ||
| | | label92 = NRHP Reference no. | ||
| | | data92 = {{#ifeq:{{{nrhp|{{{embedded|{{{module|}}}}}}}}}|yes|{{{refnum|}}}}} | ||
| | | label93 = Designated as [[National Historic Landmark|NHL]] | ||
| | | data93 = {{{designated|}}} | ||
<!--designation1 section--> | <!--designation1 section--> | ||
| | | data94 = {{designation/divbox|{{{designation1|}}}|delisted={{{delisted1_date|}}}}} | ||
| | | data95 = {{#if:{{{designation1_offname|}}}|''Official name: {{{designation1_offname}}}''}} | ||
| | | label96 = Type | ||
| | | data96 = {{{designation1_type|}}} | ||
| | | label97 = Criteria | ||
| | | data97 = {{{designation1_criteria|}}} | ||
| | | label98 = Designated | ||
| | | data98 = {{{designation1_date|}}} | ||
| | | label99 = Delisted | ||
| | | data99 = {{{delisted1_date|}}} | ||
| | | label101 = Parent listing | ||
| | | data101 = {{{designation1_parent|}}} | ||
| | | label102 = Reference no. | ||
| | | data102 = {{{designation1_number|}}} | ||
| | | label103 = {{{designation1_free1name}}} | ||
| | | data103 = {{#if:{{{designation1_free1name|}}}|{{{designation1_free1value|}}}}} | ||
| | | label104 = {{{designation1_free2name}}} | ||
| | | data104 = {{#if:{{{designation1_free2name|}}}|{{{designation1_free2value|}}}}} | ||
| | | label105 = {{{designation1_free3name}}} | ||
| | | data105 = {{#if:{{{designation1_free3name|}}}|{{{designation1_free3value|}}}}} | ||
<!--designation2 section--> | <!--designation2 section--> | ||
| | | data121 = {{designation/divbox|{{{designation2|}}}|delisted={{{delisted2_date|}}}}} | ||
| data122 = {{#if:{{{designation2_offname|}}}| ''Official name: {{{designation2_offname}}}''}} | |||
| | | label123 = Type | ||
| data123 = {{{designation2_type|}}} | |||
| | | label124 = Criteria | ||
| | | data124 = {{{designation2_criteria|}}} | ||
| | | labe125 = Designated | ||
| | | data125 = {{{designation2_date|}}} | ||
| | | label126 = Delisted | ||
| | | data126 = {{{delisted2_date|}}} | ||
| | | label127 = Parent listing | ||
| | | data127 = {{{designation2_parent|}}} | ||
| | | labe128 = Reference no. | ||
| | | data128 = {{{designation2_number|}}} | ||
| | | label129 = {{{designation2_free1name}}} | ||
| | | data129 = {{#if:{{{designation2_free1name|}}}|{{{designation2_free1value|}}}}} | ||
| | | labe131 = {{{designation2_free2name}}} | ||
| | | data131 = {{#if:{{{designation2_free2name|}}}|{{{designation2_free2value|}}}}} | ||
| | | label132 = {{{designation2_free3name}}} | ||
| | | data132 = {{#if:{{{designation2_free3name|}}}|{{{designation2_free3value|}}}}} | ||
| | |header140 = {{#if:{{{website|}}}|Website}}<!-- same as infobox building --> | ||
| data141 = {{{website|}}} | |||
| belowstyle = {{#switch:{{{religious_affiliation|}}}|[[Shinto]] = background-color: #EBEBEB;|#default = text-align:left; font-weight:normal; font-size:88%;}} | | belowstyle = {{#switch:{{{religious_affiliation|}}}|[[Shinto]] = background-color: #EBEBEB;|#default = text-align:left; font-weight:normal; font-size:88%;}} | ||
| below = {{#ifeq:{{{religious_affiliation|}}}|[[Shinto]]|[[File:Icon of Shinto.svg|25px|link=]] [[Glossary of Shinto]]}}{{{footnotes|}}} | | below = {{#ifeq:{{{religious_affiliation|}}}|[[Shinto]]|[[File:Icon of Shinto.svg|25px|link=]] [[Glossary of Shinto]]}}{{{footnotes|}}} | ||
}}{{#invoke:check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox religious building with unsupported parameters|_VALUE_ | }}<!-- | ||
| name| building_name| native_name| native_name_lang| image| alt| image_upright | caption| map_type| map_size| map_alt| map_relief| relief| map_caption| religious_affiliation| location| locale| coordinates| geo| coordinates_footnotes | |||
}}{{# | -->{{#invoke:check for unknown parameters|check | ||
{{Documentation}} | |unknown={{main other|[[Category:Pages using infobox religious building with unsupported parameters|_VALUE_]]}} | ||
</noinclude> | |preview = Page using [[Template:Infobox religious building]] with unknown parameter "_VALUE_" | ||
|ignoreblank=y | |||
| name| building_name| native_name| native_name_lang| image| alt| image_upright| caption| map_type| map_size| map_alt| map_relief| relief| map_caption| religious_affiliation| location| locale| coordinates| geo| coordinates_footnotes| grid_name| grid_position| deity| rite| tradition| sect| festivals| festival| religious_features| religious_features_label| cercle| sector| municipality| district| territory| prefecture| state| province| region| country| administration| consecration_year| organisational_status| organizational_status| status| functional_status| heritage_designation| ownership| governing_body| leadership| bhattaraka| patron| website| architect| architecture_type| architecture_style| founded_by| creator| funded_by| general_contractor| established| groundbreaking| year_completed| completed| construction_cost| date_demolished| date_destroyed| facade_direction| capacity| length| width| width_nave| height_max| dome_quantity| dome_height_outer| dome_height_inner| dome_dia_outer| dome_dia_inner| minaret_quantity| minaret_height| spire_quantity| spire_height| temple_quantity| monument_quantity| shrine_quantity| materials| elevation_m| interior_area| site_area| inscriptions| elevation_footnotes| elevation_ft| nrhp| embedded| designated| added| refnum| designation1| delisted1_date| designation1_offname| designation1_type| designation1_criteria| designation1_date| designation1_parent| designation1_number| designation1_free1name| designation1_free1value| designation1_free2name| designation1_free2value| designation1_free3name| designation1_free3value| designation2| delisted2_date| designation2_offname| designation2_type| designation2_criteria| designation2_date| designation2_parent| designation2_number| designation2_free1name| designation2_free1value| designation2_free2name| designation2_free2value| designation2_free3name| designation2_free3value| footnotes| type| child| category| module| nocat_wdimage<!-- add these to whitelist, to not fill the tracking category with this trivial point (1500-2000 times) (Jan/Mar 2019): | |||
-->| image_size| architecture| specifications}}<!-- | |||
-->{{#ifeq:{{{child|}}}|yes||{{Wikidata image|1={{{image|{{#invoke:Wikidata|getValue|P18|FETCH_WIKIDATA}}}}}|2={{main other|{{{nocat_wdimage|}}}|yes}}}}}}<!-- | |||
-->{{main other|{{#if:{{{religious_affiliation|}}} | |||
|{{#switch:{{Infobox religious building/color|1={{{religious_affiliation|}}}}} | |||
|#D3D3D3 = [[Category:Infobox religious building with unknown affiliation|{{#invoke:String|replace|source={{{religious_affiliation|}}}|pattern=[%]%[]+|replace=|plain=false}}]]}} | |||
|[[Category:Infobox religious building with unknown affiliation|*]]}}}}<!-- | |||
--><noinclude>{{Documentation}}</noinclude> |