الگو:Event

This template adds the ability to هم‌کنش‌پذیری with net applications that understand time and place information. For instance, seeing a 1000 foot view of a location of an event described in wikipedia article on a military conflict is a single click away. This is possible with Google/Mapquest/Yahoo used directly from wikipedia articles when viewed with a microformats aware browser. Unlike {{coord}}, no intermediate jumps are necessary, and simple text descriptions may be used to describe the location. This is not limited to map applications and it is currently thought that this functionality will be standard in browsers in the 2010 time frame. For step by step information on how to enable this functionality, see instructions here.

Usage: The event template may be used anywhere in an article. Here are some ideas for usage:

Back Matter

Bullet items at the end of the article

Collapsed lists: When event details (eg coordinates) are considered to fine grained to be of interest to most readers, the list might be included in a collapsed navbox. See example here

Gallery: events corresponding to images might use the event template for captions. See example here.

Inline Events may be specified inside <ref> tags

If {{event}} is used often, consider grouping the refs in their own chronology section separate from other footnotes EG:[⌛ ۱]

If present this text is displayed in place of anything else. If only the event's name needs to be overridden, use the showname parameter instead

–

(optional)

name

Name for the event. If omitted, showname is used. If showneame is not specified pagename is assumed. The event name value appears as an item in the list of events and locations available from a microformats aware browser.

1:showname.
2:article name

(optional)

showname

If a longer descriptive name is desired, this text will be used in place of displaying the name of the event.

name

(optional)

note

Note of any length.

–

(optional)

locality1 (1-3)

Catch all specifier for any location. Examples: a building, facility, square, county, mountain, valley. Any geographical area or locality in which the named item is physically located or with which it is associated in some other important way.

–

(optional)

street-address1

First street address line. (5 lines supported, named street-address2... and so on)

If set to "y", the location is to be interpreted as "in the vicinity of", rather than to be regarded as a precise point. (Class assigned: "label")

–

(optional)

lat

Latitude. Numeric decimal value only, no compass directions. سامانه ژئودتیک جهانی ۱۹۸۴ values. Used for the purpose of exporting geo values as part of the hCard. Users that don't understand why they would want to do that should use {{coord}} instead.

–

(optional)

lon

Longitude. Numeric decimal value only, no compass directions

–

(optional)

pre-coord

If set, the coordinates are displayed first. Default is that coordinates appear last.

–

(optional)

section

(Optional) Name of the article section relevant to the event description. Inbound links will arrive at this section.

–

(optional)

noHcard

(Optional) By default, in addition to emitting a microformat event, the location of the event will be emitted for mapping options (as an hcard). If this option is set to any value, then map option will not appear and the location will not be emitted as an hcard."