On November 27th, 2022, the 8,000th article was added to the SuccuWiki!

Template:Marriage

From SuccuWiki - The Wiki of the Succubi
Revision as of 16:26, 6 November 2012 by TeraS (talk | contribs) (Created page with "<includeonly>{{event|{{#if:{{{show|}}}|{{{show|}}}|{{{1|{{{spouse1|{{{spouse|}}}}}}}}} (m. {{get-year|{{{2|{{{date}}}}}}}}{{#ifeq:{{{3|{{{end| }}}}}}| ||–{{#ifeq:{{...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
[edit] [history] [purge] Documentation icon Template documentation

This template specifies in a structured form the particulars of a marriage: the names of the spouses, the period of the marriage, and the location of the ceremony where the two were joined. This adds the ability to interoperate with net applications that understand relationships between people and time and place information. For instance, seeing a 1000 foot view of a location of a wedding described in Wikipedia article 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.

Usage:

The template {{marriage}} would typically be in an infobox, such as in {{Infobox person}}'s spouse field. However, it may be used anywhere in an article.

Parameters

Parameter Default
Optional show If present this text is displayed in place of anything else.
Required 1 Name of the person to whom the subject is married. Alias parameter: "spouse".
Required 2 Date the marriage began. Alias parameter: "date".
Optional 3 Date the marriage was dissolved or one of the spouses died. Alias parameter: "end".
Optional reason Reason for the end of marriage. Should be one of "divorced" or "widowed".
Optional spouse2 Name of the second person that appears in the Marriage description. If omitted, the name of the article is assumed to refer to this person. article name
Location of the ceremony (optional; a wide variety of location information may be specified in any combination).
Optional locality1 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. (Also supports locality2 & locality3.)
Optional street-address1 First street address line. (3 lines supported, named street-address2... and so on.)
Optional city town (Aliases) Same as locality.
Optional region State, province, department, oblast, or other subnational governmental unit.
Optional state (Alias) Same as region.
Optional province (Alias) Same as region.
Optional country-name Country.
Optional uncertain 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. World Geodetic System 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.