Format:Marriage/doc

De la MediaWiki
Versiunea din 13 iulie 2024 20:56, autor: Sergiu (discuție | contribuții) (1 versiune importată)
(dif) ← Versiunea anterioară | Versiunea curentă (dif) | Versiunea următoare → (dif)
Sari la navigare Sari la căutare

Lua error: Cannot create process: proc_open(/dev/null): Failed to open stream: Operation not permitted

Lua error: Cannot create process: proc_open(/dev/null): Failed to open stream: Operation not permitted Lua error: Cannot create process: proc_open(/dev/null): Failed to open stream: Operation not permitted Format:Uses Wikidata Format:Uses TemplateStyles

Usage

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Marriage in articles based on its TemplateData.

TemplateData for Marriage

Lua error: Cannot create process: proc_open(/dev/null): Failed to open stream: Operation not permitted

Intended for use in Infoboxes, specifically {{Infobox person}} and templates calling Infobox person. {{Marriage}} takes up to three unnamed parameters (name, start date, end date) plus an optional named parameter "end=" to provide the reason for the end of the marriage.

Parametrii formatului

This template prefers inline formatting of parameters.

ParametruDescriereTipStare
Spouse's name1

Name of the person to whom the subject married. May be omitted, typically for remarriages to the same spouse.

Șirsugerat
Date married2

Date the marriage began.

Datăsugerat
Date ended3

Date the marriage was dissolved or the spouse of the article's subject died.

Datăopțional
Reason marriage endedend reason

Reason for marriage's end. Suggested reasons are automatically abbreviated. If the marriage ended due to death of article's subject, do not provide a reason.

Suggested values
died divorced separated annulled
Șiropțional

Examples and usage notes

Format:Infobox person Infoboxes already reduce text size to 88%, and MOS:FONTSIZE sets a lower limit for text size at 85% of the normal page font size, so it is not appropriate to use font size reduction when this template is used in an infobox. The example here is produced by: <syntaxhighlight style="font-size:small;" lang="wikitext"> Format:Infobox person </syntaxhighlight>

  • None of the parameters are required on their own, but if a template is missing all three of start date, end date, and reason, an error message will be displayed.
  • Use of the first two parameters with |end= (|reason=) will cause a line break between the name and the start date.
  • Use of Format:Dc or Format:Dc for this purpose has been deprecated (see discussion).
  • If the marriage ended with the death of the article's subject, Format:Insource.
  • For either date parameter, only the year will be displayed; if a full date is provided, it is included via a tooltip; i.e., Format:Tla.

Format:Qnote

Tracking categories

  • [[:Category:Lua error: Cannot create process: proc_open(/dev/null): Failed to open stream: Operation not permitted|Category:Lua error: Cannot create process: proc_open(/dev/null): Failed to open stream: Operation not permitted]] (0)Format:Sup
  • [[:Category:Lua error: Cannot create process: proc_open(/dev/null): Failed to open stream: Operation not permitted|Category:Lua error: Cannot create process: proc_open(/dev/null): Failed to open stream: Operation not permitted]] (0) Format:Sup
  • [[:Category:Lua error: Cannot create process: proc_open(/dev/null): Failed to open stream: Operation not permitted|Category:Lua error: Cannot create process: proc_open(/dev/null): Failed to open stream: Operation not permitted]] (0) Format:Sup
  • [[:Category:Lua error: Cannot create process: proc_open(/dev/null): Failed to open stream: Operation not permitted|Category:Lua error: Cannot create process: proc_open(/dev/null): Failed to open stream: Operation not permitted]] (0) Format:Sup

Format:Plainlist