|
|
| Line 1: |
Line 1: |
| {{main other|{{#if:{{Has short description}} |<!--Do nothing--> |{{#invoke:Type in location|main|{{{type|Historic site}}}|{{{location|}}}}}}}}}<includeonly>{{Infobox | | <includeonly>{{Infobox |
| | child = {{#ifeq:{{{embed|}}}|yes|yes}} | | | child = {{#ifeq:{{{mode|basic}}}|advanced|no}} |
| | bodyclass = vcard | | | bodyclass = vcard |
| | | above = {{{name|{{PAGENAMEBASE}}}}} |
| | | abovestyle = font-size:125%; text-align:center; font-weight:bold; |
| | | labelstyle = font-weight:bold; |
|
| |
|
|
| | <!-- Basic Parameters --> |
| | above = {{If empty|{{{name|}}}|{{PAGENAMEBASE}}}} | | | label1 = Type |
| | abovestyle = font-size:125%; text-align:center
| | | data1 = {{{type|}}} |
| | aboveclass = fn org
| |
|
| |
|
| | labelstyle = font-weight:bold | | | label2 = Location |
| | | data2 = {{{location|}}} |
|
| |
|
| | subheader = {{#if: {{{native_name|}}}<!-- | | | label3 = Coordinates |
| -->| ''Native name{{#if: {{{native_name2|}}} | s }}''{{#if: {{{native_language|}}}<!--
| | | data3 = {{#if:{{{coordinates|}}}|{{#invoke:Coordinates|coordinsert|{{{coordinates}}}}}|Not available}} |
| -->| <br /> {{#ifexist: Template:Lang-{{{native_language}}}<!--
| |
| -->| {{Lang-{{{native_language}}}|{{{native_name}}}}}<!--
| |
| -->| {{#ifexist: Template:Lang-{{lang2iso|{{{native_language}}}}}<!--
| |
| -->| {{Lang-{{lang2iso|{{{native_language}}}}}|{{{native_name}}}}}<!--
| |
| -->| {{#if: {{{native_name2|}}} | <br /> }}{{{native_language|}}}: ''{{{native_name}}}''<!--
| |
| -->}}<!--
| |
| -->}}<!--
| |
| -->| <br /> {{{native_name|}}}<!--
| |
| -->}}<!--
| |
| -->{{#if: {{{native_name2|}}}<!--
| |
| -->| {{#if: {{{native_language2|}}}<!--
| |
| -->| <br /> {{#ifexist: Template:Lang-{{{native_language2}}}<!--
| |
| -->| {{Lang-{{{native_language2}}}|{{{native_name2}}}}}<!--
| |
| -->| {{#ifexist: Template:Lang-{{lang2iso|{{{native_language2}}}}}<!--
| |
| -->| {{Lang-{{lang2iso|{{{native_language2}}}}}|{{{native_name2}}}}}<!--
| |
| -->| {{{native_language2|}}}: ''{{{native_name2}}}''<!--
| |
| -->}}<!--
| |
| -->}}<!--
| |
| -->| <br /> {{{native_name2|}}}<!--
| |
| -->}}<!--
| |
| -->{{#if: {{{native_name3|}}}<!--
| |
| -->| {{#if: {{{native_language3|}}}<!--
| |
| -->| <br /> {{#ifexist: Template:Lang-{{{native_language3}}}<!--
| |
| -->| {{Lang-{{{native_language3}}}|{{{native_name3}}}}}<!--
| |
| -->| {{#ifexist: Template:Lang-{{lang2iso|{{{native_language3}}}}}<!--
| |
| -->| {{Lang-{{lang2iso|{{{native_language3}}}}}|{{{native_name3}}}}}<!--
| |
| -->| {{{native_language3|}}}: ''{{{native_name3}}}''<!--
| |
| -->}}<!--
| |
| -->}}<!--
| |
| -->| <br /> {{{native_name3|}}}<!--
| |
| -->}}<!--
| |
| -->}}<!--
| |
| -->}}<!--
| |
| -->}}
| |
|
| |
|
| | subheader2 = {{{other_name|{{{alternate_name|}}}}}} | | | label4 = Built |
| | | data4 = {{{built|}}} |
|
| |
|
| | image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}} | | | label5 = Current Use |
| |size={{#if:{{{image_size|}}}|{{min|{{if empty|{{#invoke:String|match|{{{image_size}}}|^%d+}}|250}}|300}}}}
| | | data5 = {{{current_use|}}} |
| |upright={{#if:{{{image_upright|}}}|{{min|{{{image_upright}}}|1.35}}|1.14}}
| |
| |alt={{{alt|}}}}}
| |
| | caption = {{{caption|}}} | |
|
| |
|
| | image2 = {{#invoke:InfoboxImage|InfoboxImage|image={{{image_map|}}} | | | label6 = Governing Body |
| |size={{#if:{{{image_map_size|}}}|{{min|{{if empty|{{#invoke:String|match|{{{image_map_size}}}|^%d+}}|250}}|300}}}}
| | | data6 = {{{governing_body|}}} |
| |upright={{#if:{{{image_map_upright|}}}|{{min|{{{image_map_upright}}}|1.35}}|1.14}}
| |
| |alt={{{image_map_alt|}}}}}
| |
| | caption2 = {{{image_map_caption|}}} | |
|
| |
|
| <!-- Row for map if no image is specified --> | | <!-- Image --> |
| | image3 = {{#if:{{{image|}}}||{{#if:{{{locmapin|}}}|{{#if:{{{coordinates|}}}{{#property:P625}}|{{Location map|{{{locmapin|}}} | | | image = {{{image|}}} |
| | border = infobox
| | | caption = {{{caption|}}} |
| | caption = {{#if:{{{map_caption|}}}|{{{map_caption}}}|Location of {{If empty|{{{name|}}}|{{PAGENAMEBASE}}}} in {{#invoke:Location map|data|{{{locmapin|}}}|name}}}}
| |
| | float = center
| |
| | alt = {{{map_alt|}}}
| |
| | relief = {{{map_relief|}}}
| |
| | width = {{{map_width|235}}}
| |
| | coordinates = {{{coordinates|}}}
| |
| | mark = {{{map_dot_mark|Red pog.svg}}}
| |
| | marksize = 7
| |
| | label = {{{pushpin_label|{{{map dot label|{{{map_dot_label|}}}}}}}}}
| |
| }}}}}}}}
| |
|
| |
|
| | image4 = {{#invoke:Infobox mapframe|auto|mapframe-frame-width=250}}
| | <!-- Advanced Parameters (Optional) --> |
| | caption4 = {{#invoke:Infobox mapframe|autocaption}} | | {{#ifeq:{{{mode|basic}}}|advanced| |
| | | label7 = Architect |
| | | data7 = {{{architect|}}} |
|
| |
|
| | label1 = Type | | | label8 = Architectural Style |
| | data1 = {{{type|}}} | | | data8 = {{{architectural_style|}}} |
|
| |
|
| | label2 = Etymology | | | label9 = Designation |
| | data2 = {{{etymology|}}} | | | data9 = {{#if:{{{designation1|}}}|{{{designation1}}} ({{{designation1_date|}}})|None}} |
|
| |
|
| | label3 = Location | | | label10 = Owner |
| | data3 = {{{location|}}} | | | data10 = {{{owner|}}} |
|
| |
|
| | label4 = Nearest city
| | | label11 = Visitors |
| | data4 = {{{nearest_city|}}}
| | | data11 = {{#if:{{{visitation_num|}}}|{{{visitation_num}}} ({{{visitation_year|}}})|Not available}} |
| | | }} |
| <!-- Coordinates -->
| | }}</includeonly> |
| | label5 = Coordinates
| |
| | data5 = {{#if:{{{coordinates|}}}|{{#invoke:Coordinates|coordinsert|{{{coordinates}}}|type:landmark}}{{{coord_ref|}}}}}
| |
| | |
| | label6 = [[British national grid reference system|OS grid reference]]
| |
| | data6 = {{#if:{{{gbgridref|}}}|{{gbm4ibx|{{{gbgridref}}}|name={{{name|{{PAGENAMEBASE}}}}} }}{{{gbgridref_note|}}}}}
| |
| | label7 = Area
| |
| | data7 = {{{area|}}}
| |
| | label8 = Elevation
| |
| | data8 = {{{elevation|}}}
| |
| | label9 = Height
| |
| | data9 = {{{height|}}}
| |
| | label10 = Length
| |
| | data10 = {{{length|}}}
| |
| | label11 = {{{beginning_label|}}} | |
| | data11 = {{#if: {{{beginning_label|}}} | {{{beginning_date|}}} }} | |
| | label12 = Formed
| |
| | data12 = {{{formed|}}}
| |
| | label13 = Founded
| |
| | data13 = {{{founded|}}}
| |
| | label14 = Founder
| |
| | data14 = {{{founder|}}}
| |
| | label15 = Built
| |
| | data15 = {{{built|}}}
| |
| | label16 = Built by
| |
| | data16 = {{{builder|}}}
| |
| | label17 = Built for
| |
| | data17 = {{{built_for|}}}
| |
| | label18 = Original use
| |
| | data18 = {{{original_use|}}}
| |
| | label19 = Demolished
| |
| | data19 = {{{demolished|}}}
| |
| | label20 = Rebuilt
| |
| | data20 = {{{rebuilt|}}}
| |
| | label21 = Restored
| |
| | data21 = {{{restored|}}}
| |
| | label22 = Restored by
| |
| | data22 = {{{restored_by|}}}
| |
| | label23 = Current use
| |
| | data23 = {{{current_use|}}}
| |
| | label24 = {{{end_label|}}}
| |
| | data24 = {{#if: {{{end_label|}}} | {{{end_date|}}} }}
| |
| | label25 = Architect{{#if:{{{architects|}}}|s}}
| |
| | data25 = {{if empty|{{{architects|}}}|{{{architect|}}}}}
| |
| | label26 = Sculptor
| |
| | data26 = {{{sculptor|}}}
| |
| | label27 = Architectural style(s)
| |
| | data27 = {{{architecture|}}}
| |
| | label28 = Visitors
| |
| | data28 = {{#if:{{{visitation_num|}}}
| |
| |{{{visitation_num|}}}{{#if:{{{visitation_year|}}}| (in {{{visitation_year}}})}}{{{visitation_ref|}}}
| |
| |{{{visitors_num|}}}{{#if:{{{visitors_year|}}}| (in {{{visitors_year}}})}}{{{visitors_ref|}}}
| |
| }}
| |
| | label29 = Governing body
| |
| | data29 = {{{governing_body|}}}
| |
| | label30 = Owner
| |
| | data30 = {{{owner|{{{ownership|}}}}}}
| |
| | label31 = Year of event
| |
| | data31 = {{{year of event|}}}
| |
| | label32 = Important events
| |
| | data32 = {{{events|}}}
| |
| | label33 = Website
| |
| | data33 = {{{website|}}}
| |
|
| |
|
| <!-- Leave space for possible future expansion --> | | <noinclude> |
| | == Template Documentation == |
| | === Usage === |
| | This template is for creating an infobox for historic sites, with two modes: |
| | 1. **Basic Mode**: For minimal information. |
| | 2. **Advanced Mode**: Includes additional details. |
|
| |
|
| <!-- designation sections -->
| | ==== Basic Example ==== |
| | data34 = {{Infobox designation list|embed=yes<!--
| | ```wikitext |
| One-->
| | {{Infobox historic site |
| | designation1 = {{{designation1|}}}
| | | name = Pyramids of Giza |
| | designation1_offname = {{{designation1_offname|}}}
| | | type = Historic Landmark |
| | designation1_type = {{{designation1_type|}}}
| | | location = Giza, Egypt |
| | designation1_criteria = {{{designation1_criteria|}}}
| | | coordinates = 29.9792° N, 31.1342° E |
| | designation1_date = {{{designation1_date|}}}
| | | built = c. 2560 BC |
| | delisted1_date = {{{delisted1_date|}}}
| | | current_use = Tourist Attraction |
| | designation1_partof = {{{designation1_partof|}}}
| | | governing_body = Egyptian Ministry of Tourism |
| | designation1_number = {{{designation1_number|}}}
| |
| | designation1_free1name = {{{designation1_free1name|}}}
| |
| | designation1_free1value = {{{designation1_free1value|}}}
| |
| | designation1_free2name = {{{designation1_free2name|}}}
| |
| | designation1_free2value = {{{designation1_free2value|}}}
| |
| | designation1_free3name = {{{designation1_free3name|}}}
| |
| | designation1_free3value = {{{designation1_free3value|}}}<!--
| |
| Two-->
| |
| | designation2 = {{{designation2|}}}
| |
| | designation2_offname = {{{designation2_offname|}}}
| |
| | designation2_type = {{{designation2_type|}}}
| |
| | designation2_criteria = {{{designation2_criteria|}}}
| |
| | designation2_date = {{{designation2_date|}}}
| |
| | delisted2_date = {{{delisted2_date|}}}
| |
| | designation2_partof = {{{designation2_partof|}}}
| |
| | designation2_number = {{{designation2_number|}}}
| |
| | designation2_free1name = {{{designation2_free1name|}}}
| |
| | designation2_free1value = {{{designation2_free1value|}}}
| |
| | designation2_free2name = {{{designation2_free2name|}}}
| |
| | designation2_free2value = {{{designation2_free2value|}}}
| |
| | designation2_free3name = {{{designation2_free3name|}}}
| |
| | designation2_free3value = {{{designation2_free3value|}}}<!--
| |
| Three-->
| |
| | designation3 = {{{designation3|}}}
| |
| | designation3_offname = {{{designation3_offname|}}}
| |
| | designation3_type = {{{designation3_type|}}}
| |
| | designation3_criteria = {{{designation3_criteria|}}}
| |
| | designation3_date = {{{designation3_date|}}}
| |
| | delisted3_date = {{{delisted3_date|}}}
| |
| | designation3_partof = {{{designation3_partof|}}}
| |
| | designation3_number = {{{designation3_number|}}}
| |
| | designation3_free1name = {{{designation3_free1name|}}}
| |
| | designation3_free1value = {{{designation3_free1value|}}}
| |
| | designation3_free2name = {{{designation3_free2name|}}}
| |
| | designation3_free2value = {{{designation3_free2value|}}}
| |
| | designation3_free3name = {{{designation3_free3name|}}}
| |
| | designation3_free3value = {{{designation3_free3value|}}}<!--
| |
| Four-->
| |
| | designation4 = {{{designation4|}}}
| |
| | designation4_offname = {{{designation4_offname|}}}
| |
| | designation4_type = {{{designation4_type|}}}
| |
| | designation4_criteria = {{{designation4_criteria|}}}
| |
| | designation4_date = {{{designation4_date|}}}
| |
| | delisted4_date = {{{delisted4_date|}}}
| |
| | designation4_partof = {{{designation4_partof|}}}
| |
| | designation4_number = {{{designation4_number|}}}
| |
| | designation4_free1name = {{{designation4_free1name|}}}
| |
| | designation4_free1value = {{{designation4_free1value|}}}
| |
| | designation4_free2name = {{{designation4_free2name|}}}
| |
| | designation4_free2value = {{{designation4_free2value|}}}
| |
| | designation4_free3name = {{{designation4_free3name|}}}
| |
| | designation4_free3value = {{{designation4_free3value|}}}<!--
| |
| Five-->
| |
| | designation5 = {{{designation5|}}}
| |
| | designation5_offname = {{{designation5_offname|}}}
| |
| | designation5_type = {{{designation5_type|}}}
| |
| | designation5_criteria = {{{designation5_criteria|}}}
| |
| | designation5_date = {{{designation5_date|}}}
| |
| | delisted5_date = {{{delisted5_date|}}}
| |
| | designation5_partof = {{{designation5_partof|}}}
| |
| | designation5_number = {{{designation5_number|}}}
| |
| | designation5_free1name = {{{designation5_free1name|}}}
| |
| | designation5_free1value = {{{designation5_free1value|}}}
| |
| | designation5_free2name = {{{designation5_free2name|}}}
| |
| | designation5_free2value = {{{designation5_free2value|}}}
| |
| | designation5_free3name = {{{designation5_free3name|}}}
| |
| | designation5_free3value = {{{designation5_free3value|}}}<!--
| |
| Six-->
| |
| | designation6 = {{{designation6|}}}
| |
| | designation6_offname = {{{designation6_offname|}}}
| |
| | designation6_type = {{{designation6_type|}}}
| |
| | designation6_criteria = {{{designation6_criteria|}}}
| |
| | designation6_date = {{{designation6_date|}}}
| |
| | delisted6_date = {{{delisted6_date|}}}
| |
| | designation6_partof = {{{designation6_partof|}}}
| |
| | designation6_number = {{{designation6_number|}}}
| |
| | designation6_free1name = {{{designation6_free1name|}}}
| |
| | designation6_free1value = {{{designation6_free1value|}}}
| |
| | designation6_free2name = {{{designation6_free2name|}}}
| |
| | designation6_free2value = {{{designation6_free2value|}}}
| |
| | designation6_free3name = {{{designation6_free3name|}}}
| |
| | designation6_free3value = {{{designation6_free3value|}}}
| |
| }} | | }} |
|
| |
| <!-- Row for map if image is specified above -->
| |
| | data41 = {{#if:{{{image|}}}|{{#if:{{both|{{{locmapin|}}}|{{{coordinates|}}}{{#property:P625}}}}|{{Location map|{{{locmapin|}}}
| |
| | border = infobox
| |
| | caption = {{#if:{{{map_caption|}}}|{{{map_caption}}}|Location of {{If empty|{{{name|}}}|{{PAGENAMEBASE}}}} in {{#invoke:Location map|data|{{{locmapin|}}}|name}}}}
| |
| | float = center
| |
| | relief = {{{map_relief|}}}
| |
| | width = {{{map_width|235}}}
| |
| | coordinates = {{{coordinates|}}}
| |
| | mark = {{{map_dot_mark|Red pog.svg}}}
| |
| | marksize = 7
| |
| | label = {{{pushpin_label|{{{map dot label|{{{map_dot_label|}}}}}}}}}
| |
| }}}}}}
| |
|
| |
| | data42 = {{{embedded|}}}
| |
|
| |
| }}</includeonly>{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox historic site with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox historic site]] with unknown parameter "_VALUE_"|ignoreblank=y| alt | architect | architects | architecture | area | beginning_date | beginning_label | builder | built | built_for | caption | coord_ref | coordinates | current_use | delisted1_date | delisted2_date | delisted3_date | delisted4_date | delisted5_date | demolished | designation1 | designation1_criteria | designation1_date | designation1_free1name | designation1_free1value | designation1_free2name | designation1_free2value | designation1_free3name | designation1_free3value | designation1_number | designation1_offname | designation1_partof | designation1_type | designation2 | designation2_criteria | designation2_date | designation2_free1name | designation2_free1value | designation2_free2name | designation2_free2value | designation2_free3name | designation2_free3value | designation2_number | designation2_offname | designation2_partof | designation2_type | designation3 | designation3_criteria | designation3_date | designation3_free1name | designation3_free1value | designation3_free2name | designation3_free2value | designation3_free3name | designation3_free3value | designation3_number | designation3_offname | designation3_partof | designation3_type | designation4 | designation4_criteria | designation4_date | designation4_free1name | designation4_free1value | designation4_free2name | designation4_free2value | designation4_free3name | designation4_free3value | designation4_number | designation4_offname | designation4_partof | designation4_type | designation5 | designation5_criteria | designation5_date | designation5_free1name | designation5_free1value | designation5_free2name | designation5_free2value | designation5_free3name | designation5_free3value | designation5_number | designation5_offname | designation5_partof | designation5_type | designation6 | designation6_criteria | designation6_date | designation6_free1name | designation6_free1value | designation6_free2name | designation6_free2value | designation6_free3name | designation6_free3value | designation6_number | designation6_offname | designation6_partof | designation6_type | elevation | embed | embedded | etymology | end_date | end_label | events | formed | founded | founder | gbgridref | gbgridref_note | governing_body | height | image | image_map | image_map_alt | image_map_caption | image_map_size | image_map_upright | image_size | image_upright | length | location | locmapin | map_alt | map dot label | map_caption | map_dot_label | map_dot_mark | map_relief | map_width | mapframe | mapframe-caption | mapframe-custom | mapframe-id | mapframe-coord | mapframe-wikidata | mapframe-point | mapframe-shape | mapframe-frame-width | mapframe-frame-height | mapframe-shape-fill | mapframe-shape-fill-opacity | mapframe-stroke-color | mapframe-stroke-colour | mapframe-stroke-width | mapframe-marker | mapframe-marker-color | mapframe-marker-colour | mapframe-geomask | mapframe-geomask-stroke-color | mapframe-geomask-stroke-colour | mapframe-geomask-stroke-width | mapframe-geomask-fill | mapframe-geomask-fill-opacity | mapframe-zoom | mapframe-length_km | mapframe-length_mi | mapframe-area_km2 | mapframe-area_mi2 | mapframe-frame-coordinates | mapframe-frame-coord | mapframe-switcher | mapframe-height | mapframe-width | name | native_language | native_language2 | native_language3 | native_name | native_name2 | native_name3 | nearest_city | original_use | other_name | owner | pushpin_label | rebuilt | restored | restored_by | sculptor | type | visitation_num | visitation_ref | visitation_year | visitors_num | visitors_ref | visitors_year | website | year of event }}<noinclude>
| |
| {{documentation}}
| |
| </noinclude>
| |
| {{no-index-template}}
| |