شابلون:Infobox building
![]() | بو شابلون بیر سیرا حدیدن آرتیق مورکب و پیچیده خصوصیتلره مالیکده.
توصیه میشود پیش از ویرایش الگو با دستورهای الگو و توابع تجزیهکننده آشنا شوید. اگر ویرایشتان باعث بروز مشکلات غیرمنتظره شد، خواهشمند است آن را بهسرعت برگردانید، زیرا ممکن است این الگو در شمار زیادی صفحه ظاهر شود. بهیاد داشته باشید که شما میتوانید آزمایش انجام دهید، اما باید همهٔ بهسازیها را پیش از آنکه در اینجا اعمال کنید، در صفحهٔ تمرین عمومی الگو یا فضای کاربریتان بیازمایید. |
{{Infobox building}} may be used to summarize information about a building.
Usage
{{Infobox building | name = | native_name = | native_name_lang = | former_names = | alternate_names = | status = | image = | image_alt = | image_size = | caption = | map_type = | map_alt = | map_caption = | altitude = | building_type = | architectural_style = | structural_system = | cost = | ren_cost = | client = | owner = | current_tenants = | landlord = | location = | address = | location_town = | location_country = | iso_region = | coordinates_display = | coordinates_format = | latitude = | longitude = | latd = | latm = | lats = | latNS = | longd = | longm = | longs = | longEW = | coordinates = | groundbreaking_date = | start_date = | completion_date = | opened_date = | inauguration_date = | renovation_date = | demolition_date = | destruction_date = | height = | diameter = | antenna_spire = | roof = | top_floor = | other_dimensions = | floor_count = | floor_area = | seating_type = | seating_capacity = | elevator_count = | main_contractor = | architect = | architecture_firm = | structural_engineer = | services_engineer = | civil_engineer = | other_designers = | quantity_surveyor = | awards = | designations = | ren_architect = | ren_firm = | ren_str_engineer = | ren_serv_engineer = | ren_civ_engineer = | ren_oth_designers = | ren_qty_surveyor = | ren_awards = | parking = | url = | embedded = | references = }}
Example
Law Courts of Brussels | |
---|---|
Palais de justice de Bruxelles Justitiepaleis van Brussel | |
![]() Main façade of the Law Courts of Brussels | |
کامیل ایطلاعات | |
معماریلق سبکی | Eclectic, neoclassical |
یئر | بروکسل, بلژیک |
اؤلکه | Belgium |
موختصات | 50°50′12″N 4°21′6″E / 50.83667°N 4.35167°E |
اوجالیق | ۲ m (۷ ft) |
ایندیکی موستأجری | Belgian court |
تیکینتی باشلانیش تاریخی | 31 October 1866 |
افتتاح | 15 October 1883 |
خرجی | 45 million Belgian franc |
اوجالیق | ۱۴۲ m (۴۶۶ ft) |
تکنیکی ایطلاعاتی | |
شوعاع | ۱۶۰ m × ۱۵۰ m (۵۲۵ ft × ۴۹۲ ft) |
مرتبه ساحهسی | ۲۶۰٬۰۰۰ m2 (۲٬۸۰۰٬۰۰۰ sq ft) |
دیزاین و تیکینتی | |
موشتری | Belgian government |
مالیک | Belgian government |
معمار | Joseph Poelaert |
وبسایت | |
example |
{{Infobox building | name = Law Courts of Brussels | native_name = {{lang|fr|Palais de justice de Bruxelles}}<br />{{lang|nl|Justitiepaleis van Brussel}} | image = Justitiepaleis1.jpg | image_alt = Building with central cupola and wings with Greek-style columns | image_size = | caption = Main façade of the Law Courts of Brussels | former_names = | alternate_names = | map_type = Belgium | map_alt = | map_caption = Location within Belgium | building_type = | architectural_style = [[Eclecticism in art|Eclectic]], [[معماری نئوکلاسیک|neoclassical]] | structural_system = | cost = 45 million [[Belgian franc]] | location = [[بروکسل]], [[بلژیک]] | client = Belgian government | owner = [[Belgian federal government|Belgian government]] | current_tenants = Belgian court | landlord = | location_country = Belgium | latd = 50 | latm = 50 | lats = 12 | latNS = N | longd = 4 | longm = 21 | longs = 6 | longEW = E | altitude = {{convert|2|m|ft|0|abbr=on}} | start_date = 31 October 1866 | completion_date = | inauguration_date = 15 October 1883 | demolition_date = | height = {{convert|142|m|ft|abbr=on}} | diameter = {{convert|160|x|150|m|ft|0|abbr=on}} | other_dimensions = | floor_count = | floor_area = {{convert|260000|m2|sqft|abbr=on}} | main_contractor = | architect = [[Joseph Poelaert]] | structural_engineer = | services_engineer = | civil_engineer = | other_designers = | quantity_surveyor = | awards = | parking = | url = {{URL|example.com}} | references = }}
Parameters
Field Name | Required | Description | Values |
name | yes | Name of building | wikitext |
native_name | no | Name of building in native language | wikitext |
native_name_lang | no | ISO 639-2 code | use ISO 639-2 code, e.g. "fr" for French. If there is more than one native name, in different languages, enter those names using {{lang}}, instead. |
status | no | useful to show the construction status of new buildings. The keywords to the right can be used to produce the appropriate colored status: |
|
image | no | Image of the building | filename |
caption | no | Caption for image | wikitext (can contain links) |
location | no | Location of the building | wikitext (can contain links) Eg;[[Joondalup, Western Australia]], [[Australia]], [[Las Vegas Strip]] |
address | no | Address of the building | The address can be different then the location, especially when it is only a mailing address and does not represent the actual physical location. Generally address should be used except when the location and address are different. |
location_town | no | Settlement where the building is located | wikitext (can contain links) |
location_country | no | Country where the building is located | wikitext (can contain links) |
iso_region | no | ISO region code where the building is located | wikitext (can contain links) |
latd, latm, lats, latNS longd, longm, longEW |
no | Geographic coordinates of location | See map and coordinates for details |
coordinates_display | no | Option for {{coord}} | Use any nonblank value to display in title |
groundbreaking_date | no | Date of the formal ground breaking, if any | Eg; 25 January 2007 |
start_date | no | Date building construction started | Eg; 25 January 2007 |
completion_date | no | Completion date of construction if know | Eg; 25 January 2007 |
opened_date | no | Date of opening | Eg; 25 January 2007 |
inauguration_date | no | Inauguration date if know | Eg; 25 January 2007 |
demolition_date | no | Date building was demolished | Eg; 25 January 2007 |
destruction_date | no | Date building was destroyed, generally by a natural event or war | Eg; 25 January 2007 |
architect | no | Name of original architect | wikitext (can contain links) |
landlord | no | Name of current landlord | wikitext (can contain links) |
owner | no | Name(s) of current owner(s) | wikitext (can contain links) |
cost | no | Construction cost | wikitext (can contain links) |
floor_area | no | Gross floor area of the building, expressed as a numerical value | For best practice, use {{convert}} in this field. |
top_floor | no | Number of the highest floor expressed as a numerical value | |
floor_count | no | Number of floors expressed as a numerical value | |
awards | no | listed awards should meet the notability criteria for its own non-redirect article in the English Wikipedia. Red-linked entries are acceptable if the award's notability is verifiable, and it is reasonable to expect an article could be forthcoming in the future. This standard prevents the infobox award section from becoming an indiscriminate list. | |
ren_awards | no | listed awards should meet the notability criteria for its own non-redirect article in the English Wikipedia. Red-linked entries are acceptable if the award's notability is verifiable, and it is reasonable to expect an article could be forthcoming in the future. This standard prevents the infobox award section from becoming an indiscriminate list. | |
parking | no | parking | |
url | no | URL | {{URL|url.com.au}} |
embedded | no | Embed another infobox with such capability like {{designation list}} and {{infobox NRHP}} | the code of the embedded template |
references | no | Footnotes and citations for information within infobox | wikitext (can contain links) |
Notes: Do not link to an article more than once in the infobox. |
Map and coordinates
It's usually not necessary to use the coordinates=
parameter.
- The latitude and longitude of the building may be specified:
- in decimal degrees, using
latitude=
andlongitude=
OR - in degrees/minutes/seconds, using
latd=
,latm=
,lats=
,latNS=
,longd=
,longm=
,longs=
, andlongEW=
.
- in decimal degrees, using
- To display coordinates at the top of the page, set
coordinates_display=
to any non-blank value. Otherwise coordinates will appear in the infobox only. - The ISO 3166-1 alpha-2 or ISO 3166-2 region code can often be determined automatically, based on the
location_country=
parameter.- To override the automatic value, use the
iso_region=
parameter.
- To override the automatic value, use the
One advantage of omitting the coordinates=
parameter is that you can display a {{Location map}} without duplicating coordinates.
{{Infobox building ... | coordinates = <!-- Template {{Coord}} if map is not used; empty if map is displayed. --> | coordinates_display = <!-- non-blank to display coordinates at the top of the page. --> | iso_region = <!-- To override any automatically determined region code. --> | map_type = <!-- Location from Location map. --> | map_alt = <!-- Alternative map file name (changes background map, border coordinates are determined based on the map name); this is only recommended for use in templates. --> | map_caption = <!-- ''map caption''; for no caption enter "caption="; if the parameter is omitted then the caption will be "Marker text (location map name)" --> ... }}
- Parameters to specify coordinates in degrees, minutes, and seconds of arc:
{{Infobox building ... | latd = <!-- ''latitude'' degrees --> | latm = <!-- ''latitude'' minutes --> | lats = <!-- ''latitude'' seconds --> | latNS = <!-- latitude: S=south, N=north (default) --> | longd = <!-- ''longitude'' degrees --> | longm = <!-- ''longitude'' minutes --> | longs = <!-- ''longitude'' seconds --> | longEW = <!-- longitude: W=west, E=east (default) --> ... }}
- Parameters to specify coordinates in decimal degrees:
{{Infobox building ... | latitude = <!-- ''latitude'' (decimal format; enter negative numbers for southern latitude) --> | longitude = <!-- ''longitude'' (decimal format; enter negative numbers for western longitude) --> ... }}
Note: coordinates in decimal degrees are sensitive to extra whitespace in the parameters:
- Incorrect:
| longitude = - 123.45
- Correct:
| longitude = -123.45
Microformat
The HTML mark up produced by this template includes an hCard microformat, which makes the place-name and location parsable by computers, either acting automatically to catalogue articles across Wikipedia, or via a browser tool operated by a person, to (for example) add the subject to an address book. Within the hCard is a Geo microformat, which additionally makes the coordinates (latitude & longitude) parsable, so that they can be, say, looked up on a map, or downloaded to a GPS unit. For more information about the use of microformats on Wikipedia, please see the microformat project.
Sub-templates
If the place or venue has an "established", "founded", "opened" or similar date, use {{start date}} unless the date is before 1583 CE.
If it has a URL, use {{URL}}.
Please do not remove instances of these sub-templates.
Classes
hCard uses HTML classes including:
- adr
- agent
- category
- county-name
- extended-address
- fn
- label
- locality
- nickname
- note
- org
- region
- street-address
- uid
- url
- vcard
Geo is produced by calling {{coord}}, and uses HTML classes:
- geo
- latitude
- longitude
Please do not rename or remove these classes nor collapse nested elements which use them.
Precision
When giving coordinates, please use an appropriate level of precision. Do not use {{coord}}'s |name=
parameter.
جستارهای وابسته
- {{Infobox bridge}}
- {{Infobox church}}
- {{Infobox Historic Site}}
- {{Infobox monastery}}
- {{Infobox station}}
- {{جعبه اطلاعات محل برگزاری}}
- {{Infobox windmill}}