ទំព័រគំរូ:Marriage

ដោយវិគីភីឌា
Jump to navigation Jump to search
Documentation icon ឯកសារកម្មទំព័រគំរូ[បង្ហាញ] [កែប្រែ] [ប្រវត្តិ] [បន្សុទ្ធ]

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. If the individuals specified in the template consider themselves to be in a marriage as defined in the article Marriage, then this template is applicable.

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.

Example usage[កែប្រែ]

The typical use of {{marriage}} is to specify a spouse in an article. See: Joseph Needham, spouse parameter:

{{marriage|Lu Gwei-Djen|1989|1991}}
Lu Gwei-Djen (m. 1989 – 1991) «Did not recognize date. Try slightly modifying the date in the first parameter.–Did not recognize date. Try slightly modifying the date in the first parameter.»"Marriage: Lu Gwei-Djen to Marriage" Location:ទំព័រគំរូ:Placename/do-adrPropទំព័រគំរូ:Placename/do-adrPropទំព័រគំរូ:Placename/do-adrPropទំព័រគំរូ:Placename/do-adrProp (linkback://km.wikipedia.org/wiki/%E1%9E%91%E1%9F%86%E1%9E%96%E1%9F%90%E1%9E%9A%E1%9E%82%E1%9F%86%E1%9E%9A%E1%9E%BC:Marriage)

Full dates are supported in any format with standard output as years only

{{marriage|Michelle Obama|October 3, 1992}}
Michelle Obama (m. ១៩៩២) «Did not recognize date. Try slightly modifying the date in the first parameter.»"Marriage: Michelle Obama to Marriage" Location:ទំព័រគំរូ:Placename/do-adrPropទំព័រគំរូ:Placename/do-adrPropទំព័រគំរូ:Placename/do-adrPropទំព័រគំរូ:Placename/do-adrProp (linkback://km.wikipedia.org/wiki/%E1%9E%91%E1%9F%86%E1%9E%96%E1%9F%90%E1%9E%9A%E1%9E%82%E1%9F%86%E1%9E%9A%E1%9E%BC:Marriage)

Example demonstrating multiple options:

{{marriage|Michelle Obama|October 3, 1992|show=[[Michelle Obama]] <small>(m. 1992)</small>|spouse2=Barack Obama
|street-address1=Trinity United Church of Christ|street-address2=400 W. 95th Street|city=Chicago
|lat=41.7219|lon=-87.6342}}

produces Michelle Obama (m. 1992) «Did not recognize date. Try slightly modifying the date in the first parameter.»"Marriage: Michelle Obama to Barack Obama" Location:ទំព័រគំរូ:Placename/do-adrPropទំព័រគំរូ:Placename/do-adrPropទំព័រគំរូ:Placename/do-adrPropទំព័រគំរូ:Placename/do-adrProp41°43′19″N 87°38′03″W / 41.7219°N 87.6342°W / 41.7219; -87.6342 (October 3, 1992: Marriage: Michelle Obama to Barack Obama) (linkback://km.wikipedia.org/wiki/%E1%9E%91%E1%9F%86%E1%9E%96%E1%9F%90%E1%9E%9A%E1%9E%82%E1%9F%86%E1%9E%9A%E1%9E%BC:Marriage)