Jump to content

User:GiFontenelle/Info/Theater/doc

From Wikipedia, the free encyclopedia

Usage

[edit]
{{{name}}}
{{{native_name}}}
Type{{{type}}}
Established{{{established}}}
{{{dissolved}}}
Located at{{{located}}}
Location{{{location}}}
Genre{{{genre}}}
Heritage designation{{{heritage_designation}}}
Named after{{{named_after}}}
Part of{{{part_of}}}
Has part{{{has_part}}}
Occupant{{{occupant}}}
Member of{{{member_of}}}
Field of work{{{field_of_work}}}
Country{{{country}}}
Founder{{{founder}}}
Operator{{{operator}}}
Owned by{{{owned_by}}}
Website{{{website}}}
{{Infobox theatre/{{{network}}} network|header}}
{{Infobox theatre/{{{network}}} network|data}}
{{{nrhp}}}
<mapframe> problems:
  • Attribute "latitude" has an invalid value
  • Attribute "longitude" has an invalid value

Just add:

{{Infobox Theatre}}

to the top of an article, and data will be automatically included from Wikidata where they are available. These values can be overridden by passing values to the relevant parameters in the article (if need be), e.g.:

{{infobox theatre
| name = 
}}

Parameters

[edit]

The full list of parameters is:

Parameter Default Description
suppressfields Give a list of parameter names to suppress fetching them from Wikidata
refs no Set to yes to show references from Wikidata
name Wikidata label (en)
(Or Page name)
Name of the theatre
native_name native label (P1705) Name of the theatre in the local language, if different
native_name_lang native language (P103) ISO 639-2 code for the local language, e.g. "fr" for French. If there is more than one native name, in different languages, enter those names using {{lang}}, instead.
logo logo image (P154) Logo or graphic by which the theatre is identified, omitting the wikilink brackets and the "file:" or "image:" namespace
Example: Teatro Municipal de São Paulo 8.jpg
logo_upright Logo scaling factor
logo_alt Alt text for the logo, for people who can't see the image.
logo_caption Caption for the logo
image image (P18) Image of the theatre, omitting the wikilink brackets and the "file:" or "image:" namespace
Example: Teatro Municipal de São Paulo 8.jpg
image_upright Image scaling factor
caption media legend (P2096) Image caption
alt Alt text for image, for people who can't see the image.
map_type The name of the map template used to construct location map, see Template:Location map#Available map templates
Example: USA Alabama.
map_relief Set this to y or any non-blank value to use a relief map image provided by the selected location map template (if a relief map is available). For additional information, see Template:Location map#Relief parameter.
map_size Specify a pixel width for the map image. The default is 220.
Example: map_size=230 (not map_size=230px).
map_caption Text displayed below the map image.
Example: Sao Paulo
coordinates coordinate location (P625) Latitude and longitude. Use {{Coord}}; see that template's documentation for usage information.
former_name Previous name(s)
established inception (P571) Date of the theatre's establishment. Use {{Start date}}.
Example: {{Start date|1997|03|31}}
dissolved If defunct, date the theatre was dissolved. Use {{End date}}.
Example: {{End date|2007|12|31}}
located Located of the theatre
Example: [[Teatro Municipal de São Paulo]], [[Sao Paulo]], [[Brazil]]
Example: [[Teatro Municipal de São Paulo]], [[Sao Paulo]], [[Brazil]]
type instance of (P31) Theatres by type, most likely National Theatre, Open air theatre, State Theatre or similar
Example: [[Teatro Municipal de São Paulo ]]
heritage_designation Heritage designation
Example: [[IPHAN Good Class]]
part_of The holdings the theatre is part of
Example: [[Ministry of Culture of Brazil]]
has_part If the theatre is part of a theatre network, specify the network name to invoke one of the network templates.
member_of The organization the theatre is member.
field_of_work Field of work
Example: [[State Theatre]]
area area (P2046) The area of the theatre.
country The theatre's country
Example: Brazil
founder The theatre's founder.
operator The theatre's operator.
owned_by The owner of the theatre.
official_opening Date of the theatre's opening.
official_closure Date of the theatre's closure.
location Location of the theatre.
street_address Oficial address of the theatre.
genre Genre of the theatre.
named_after Person, place or thing the theatre is named in honor of.
occupant The organization occupaying the theatre.
maximum_capacity The total capacity of people in the theater.
significant_event The most (or one of the most) significant event held at the theater.
award_received Award (or most important awards) the theater has received.
website official website (P856) Official or primary website operated by the theatre. Use the template {{URL}}.
Example: {{URL|example.org}}
embedded Pass another infobox as a child template of this one
locmapin Show location map? Normally it is auto-created from Wikidata if both the coordinate and country are set. Use nomap=True to disable showing any map using info from Wikidata.
refs no Set to 'yes' to show references from Wikidata
noicon Set to 'no' to hide the Wikidata edit link icons

Microformat

[edit]

The HTML markup 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

[edit]

If the place or venue has "established", "founded", "opened" or similar dates, use {{start date}} for the earliest of those dates unless the date is before 1583 CE.

If it has a URL, use {{URL}}.

Please do not remove instances of these sub-templates.

Classes

[edit]

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

[edit]

When giving coordinates, please use an appropriate level of precision. Do not use {{coord}}'s |name= parameter.

TemplateData

[edit]
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:GiFontenelle/Info/Theater in articles based on its TemplateData.

TemplateData for GiFontenelle/Info/Theater

An infobox for theatres

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Namename

Name of the theatre

Example
Teatro Municipal de São Paulo
Linesuggested
Native namenative_name

Name of the theatre in the local language, if different

Lineoptional
Native name languagenative_name_lang

The language of the native name

Lineoptional
Logologo

Logo or graphic by which the theatre is identified

Example
Teatro Municipal de São Paulo 8.jpg
Filesuggested
Logo uprightlogo_upright

Logo scaling factor

Numberoptional
Logo alt textlogo_alt

Alt text for the logo, for people who can't see the image

Unknownoptional
Logo captionlogo_caption

The caption for the logo

Stringoptional
Imageimage

An image of the theatre

Example
Teatro Municipal de São Paulo 8.jpg
Filesuggested
Image uprightimage_upright

Scaling factor for the image

Numberoptional
Image alt textalt

Alt text for image, for people who can't see the image

Stringoptional
Image captioncaption

A caption for the image

Stringoptional
Map typemap_type pushpin_map

The name of the map template used to construct location map, see [[Template:Location map#Available map templates]]

Example
England London
Linesuggested
Map captionmap_caption

Text displayed below the map image, if latitude and longitude are used

Example
London
Lineoptional
Map sizemap_size

Specify a pixel width for the map image

Default
250
Example
250
Numberoptional
Show map reliefmap_relief pushpin_relief

Set this to y or any non-blank value to use a relief map image provided by the selected location map template (if a relief map is available). For additional information, see [[Template:Location map#Relief parameter]]

Booleanoptional
Former nameformer_name

Previous name(s)

Linesuggested
Establishedestablished

Date of establishment, using {{Start date}}

Example
{{Start date|1997|03|31}}
Templatesuggested
Dissolveddissolved

If defunct, date the theatre was dissolved. Use {{End date}}

Example
{{End date|2007|12|31}}
Templateoptional
Locatedlocated

Location of the theatre

Example
[[Teatro Municipal de São Paulo]], [[Sao Paulo]], [[Brazil]]
Linesuggested
Coordinatescoordinates

Alternative to other coordinates parameters, taking {{Coord}} as a single value

Example
{{Coord|44.112|N|87.913|W|display=title}}
Templateoptional
Typetype

Type of theatre, most likely National Theatre, Open air theatre, State Theatre or similar

Example
[[Teatro Municipal de São Paulo]]]
Linesuggested
Heritage designationheritage_designation

Type of heritage designation of the theatre

Example
[[IPHAN Good Class]]
Lineoptional
Part ofpart_of

no description

Example
[[Ministry of Culture of Brazil]]
Lineoptional
Has parthas_part

no description

Example
[[Ministry of Culture of Brazil]]
Lineoptional
Member ofmember_of

no description

Example
[[Ministry of Culture of Brazil]]
Lineoptional
Field of workfield_of_work

Important holdings

Example
[[State theatre]]
Lineoptional
Areaarea

The theatre's area

Example
4000 square meters
Lineoptional
Countrycountry

The theatre's country

Example
Brazil
Lineoptional
Founderfounder

The theatre's founder

Lineoptional
Operatoroperator

The theatre's operator

Lineoptional
Owned byowned_by

The owner of the theatre

Example
[[Ministry of Culture of Brazil]]
Lineoptional
Official openingofficial_opening

Date of the theatre's opening

Lineoptional
Official closureofficial_closure

Date of the theatre's closure

Lineoptional
Locationlocation

Location of the theatre

Lineoptional
Addressstreet_address

Oficial address of the theatre

Lineoptional
Genregenre

Genre of the theatre

Lineoptional
Person, place or thing the theatre is named in honor ofnamed_after

The owner of the theatre

Lineoptional
Occupantoccupant

The organization occupaying the theatre

Lineoptional
Maximum capacitymaximum_capacity

The total capacity of people in the theater

Lineoptional
Significant eventsignificant_event

The most (or one of the most) significant event held at the theater

Lineoptional
Awardaward_received

Award (or most important awards) the theater has received

Lineoptional
Websitewebsite

Official or primary website operated by the theatre. Use the template {{URL}}.

Example
{{URL|example.org}}
Templatesuggested
Networknetwork

If the theatre is part of a theatre network, specify the network name to invoke one of the [https://en.wikipedia.org/w/index.php?title=Special%3APrefixIndex&prefix=Infobox+theatre&namespace=10 network templates]

Lineoptional
nrhpnrhp

no description

Unknownoptional
embeddedembedded

no description

Unknownoptional

Tracking category

[edit]