Bản mẫu:Infobox theatre/doc
![]() | Đây là một trang con tài liệu sử dụng bản mẫu dành cho Bản mẫu:Infobox theatre. Nó gồm có các thông tin hướng dẫn sử dụng, thể loại và các nội dung khác không thuộc về phần trang bản mẫu gốc. |
![]() | Bản mẫu này sử dụng những tính năng phức tạp của cú pháp bản mẫu.
Bạn được khuyến khích làm quen với cấu trúc của bản mẫu này và các hàm cú pháp trước khi sửa đổi bản mẫu. Nếu sửa đổi của bạn gây ra lỗi không mong muốn, hãy sửa chữa hoặc lùi lại nhanh chóng, vì bản mẫu này có thể xuất hiện trên một số lượng lớn trang. |
Usage
sửa
| |
![]() Fill image | |
Địa chỉ | 247 West 44th Street New York City United States |
---|---|
Chủ sở hữu | The Shubert Organization |
Ký hiệu | New York City Landmark |
Loại | Broadway |
Sức chứa | 1655 (est.) |
Sử dụng hiện tại | Laundromat |
Sản xuất | The Phantom of the Opera |
Công trình xây dựng | |
Khánh thành | 28 tháng 3 năm 1927 |
Đóng cửa | May 3, 2076 |
Phá hủy | March 23, 2091 |
Xây dựng lại |
|
Năm hoạt động | 1927-2043 |
Kiến trúc sư | Herbert J. Krapp |
Trang web | |
www |
Example
sửa{{Infobox theatre | name = Majestic Theatre | image = MTLogo2.png | image_size = 200 | image_alt = Treble clef overlaid with a bluish ellipse bearing the tragedy and comedy masks of the theater | caption = Fill image | address = 247 West 44th Street | city = New York City | country = United States | designation = [[New York City Landmark]] | latitude = 40.75790 | longitude = -73.98734 | coord_region = US-NY | coord_dim = 400 | architect = [[Herbert J. Krapp]] | owner = [[The Shubert Organization]] | capacity = 1655 (est.) | type = Broadway | opened = {{Start date|1927|03|28}} | yearsactive = 1927-2043 | rebuilt = {{Plainlist| * 1953, [[Frank Lloyd Wright]] * 2036, [[Christopher Wren|Christopher Wren IV]] }} | closed = May 3, 2076 | demolished = March 23, 2091 | othernames = {{Plainlist| * The Rube Goldberg Theatre * The Keanu Reeves Theatre }} | production = [[The Phantom of the Opera (1986 musical)|The Phantom of the Opera]] | currentuse = [[Laundromat]] | website = {{URL|www.majestic-theatre.com}} }}
Blank
sửa{{Infobox theatre | name = | native_name = | native_name_lang = <!-- ISO 639-2 code e.g. "fr" for French. If more than one, use {{lang}} instead --> | image = | image_size = | image_alt = | caption = | image_map = | map_caption = | pushpin_map = | pushpin_map_caption= | address = | city = | country = | designation = | latitude = | longitude = | coord_region = | coord_dim = | architect = | owner = | tenant = | operator = | capacity = | type = | opened = <!--{{Start date|YYYY|MM|FF|df=y}}--> | reopened = | yearsactive = | rebuilt = | closed = | demolished = | othernames = | production = | currentuse = | website = <!-- {{URL|example.com}] --> }}
Parameters
sửaParameter | Explanation -- The blue fields * are coded as hCard compatible. |
---|---|
name * | The theatre's current name. Or, in the case of historical theatres, the name by which it is most often referred. |
native_name | This will display under the name/official name |
native_name_lang | 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 {{plainlist}} and wrapping each in {{lang}}, instead. |
image | The name of an image file depicting the theatre: TheatreImage.jpg The filename needs no wikiformatting, as it is standardized in the template.
|
image_size | An image size can be specified in number of pixels. Left blank, it will default to 215 .
|
image_alt | Alt text for the image, for readers who cannot view the image. See Wikipedia:Alternative text for images. |
caption | A short blurb describing the picture, year it was taken, production in house at the time the picture was taken, etc. |
address * | The street address of the theatre. |
city | The city in which the theatre resides. Should be wikilinked. |
country | If the city is ambiguous or not well-known to most readers, the country can be added and wikilinked. |
designation | This field should be filled if the building has been recognized by a governmental authority. A listed building designation in the UK, a New York City Landmark, or some such designation should be wikilinked in this field. A listed building should be in the format [[listed building|Listed Building Grade II*]] .
|
latitude * | The degrees latitude of the theatre in decimal format, to no more than five decimal places. (Zeros are significant.) This field and the longitude field are coded into the {{Coord}} template, using a "display=inline,title" parameter. For information on obtaining these coordinates, see Wikipedia:Obtaining geographic coordinates. |
longitude * | The degrees longitude of the theatre in decimal format, to no more than five decimal places. (Zeros are significant.) |
coord_region | An ISO 3166 country or region code, see Wikipedia:WikiProject Geographical coordinates/region:. |
coord_dim | The Parameter specifies the width of the object in metres or kilometres, see Wikipedia:WikiProject Geographical coordinates/dim:. |
coordinates * | Accepts {{Coord}} as an alternative to the above three parameters. |
architect | The architect of the original building. In most cases, should be wikilinked. |
owner | The name of the entity who owns the theatre. In some cases, should be wikilinked. |
capacity | The seating capacity of the theatre. (This will sometimes change from production to production; if the source estimates this information, it should be noted with (est.) in parenthesis next to the number. For historical theatres, the year in which the capacity was tabulated should be noted.) |
type * | The type of theatre, not the type of productions normally presented by the theatre. Acceptable entries include Broadway , Off-Broadway , Off-off-Broadway , National , Provincial , Local authority , Music Hall , and Opera House . This should not be wikilinked.
|
opened | The date the theatre opened its doors, not the date the current production opened nor the date of a name change. Use {{Start date}} |
yearsactive | Year ranges of activity as a theatre. If the theatre has been active since its opening or if it was active until its closing date, this field should be omitted. |
rebuilt | This refers ONLY to MAJOR rebuilds involving an architect. Minor refurbishments need not be added. The format is Year of Rebuild, [[Name of Architect]] . Separate multiple entries using {{Plainlist}} or {{Unbulleted list}}.
|
closed | The date the theatre closed its doors. |
demolished | The date the theatre was demolished. |
othernames * | Any other names under which the venue has operated, in chronological order. Separate them using {{Plainlist}} or {{Unbulleted list}}. Exact years are unnecessary, as it should be covered in the article. These should not be wikilinked as they are, most likely, redirects to the current article. |
production | The name of the current production. If the venue changes productions frequently, this heading can be omitted. It should only be used if the production either has been there awhile or is likely to be there awhile. It shouldn't have to be changed monthly. Italics are included in the code of the template, and, in all liklihood, this should be wikilinked. |
currentuse * | If the building is currently being used as anything other than a legitimate theatre (one that produces plays or musicals), this field should be populated. Use demolished or vacant if appropriate. UNDER NO CIRCUMSTANCES should this field be populated if the "production" field is populated. This should be wikilinked. |
website * | This is a field for a self-maintained website for the theatre. It is not a field for the website of the theatre's current production. If the theatre does not have its own website (ie. most Broadway theatres redirect to a common site), do not enter this information. Use {{URL}} |
Using Template:Infobox nrhp
sửaFor theaters that are also on the National Register of Historic Places, Template:Infobox nrhp can be embedded within the theater infobox. For fields that are duplicated in each infobox, please use only the fields in the theater infobox, EXCEPT the coordinates fields. These MUST be used in both infoboxes, as the theater infobox places the coordinates in the title position, and the NRHP infobox uses them to place the pin in the proper place in the map. Place the coding for the NRHP infobox under the "current use" field in the theater infobox, using the argument embed=yes
within the NRHP infobox. The documentation for the NRHP infobox will tell you to place the code in the "website" field; this should be ignored.
Microformat
sửaThe 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 article 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.
If the place or venue has an "established", "founded", "opened" or similar date, use {{Start date}}.
hCard uses HTML classes including:
- adr
- agent
- category
- county-name
- extended-address
- fn
- label
- locality
- nickname
- note
- org
- region
- street-address
- 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.
When giving coordinates, please don't be overly precise.