Template talk:Marriage

Page contents not supported in other languages.
Source: Wikipedia, the free encyclopedia.
WikiProject iconBiography Template‑class
WikiProject iconThis template is within the scope of WikiProject Biography, a collaborative effort to create, develop and organize Wikipedia's articles about people. All interested editors are invited to join the project and contribute to the discussion. For instructions on how to use this banner, please refer to the documentation.
TemplateThis template does not require a rating on Wikipedia's content assessment scale.

Lua conversion

I think this template should be converted into Lua. What do you guys think?

talk) 01:50, 16 September 2023 (UTC)[reply
]

I think that's a good idea. I would do it myself but I'm not that familiar with Lua. ‑‑Neveselbert (talk · contribs · email) 14:52, 16 September 2023 (UTC)[reply]
@
RapMonstaXY
, I would be up for rewriting this as a Lua module. I've been mulling it over for months now and haven't gotten around to trying it out.
I think it would make it so much easier to implement some of the more cumbersome tidbits.
Is this something you're interested in working on in some capacity as well? Pedantical (talk) 02:13, 22 October 2023 (UTC)[reply]
I'm gonna help too... Will you teach me?
talk • contribs) 05:32, 22 October 2023 (UTC)[reply
]

Template-protected edit request on 22 October 2023

I've updated the tracking categories from 3 separate categories into a single category for cleaner tracking.

All tracking items would go in to 'Category:Marriage template errors' and the following 2 categories would then be no longer used:

- Category:Marriage template deprecations‎

- Category:Marriage template anomalies‎


If this change is approved and implemented, I'll go back to the primary tracking category and update the sort keys and the documentation (I've got a list of the updated sort keys on my end so that would be a pretty quick edit), and then I'll go set the unused categories in motion to be deleted smoothly.

I'll also go update the Template:Marriage docs page to clean up the categories listed there too.


I think this is a small but helpful change in continuing to clean up the template bit by bit. It also feels fitting since the three separate categories were once totally justified given their previous size, but they're pretty well maintained now, so clumping the anomalies and deprecations into a single place will just help with continued maintenance.


To implement: you should be able to just copy/paste the sandbox template over (except for the very first line with the Template Styles CSS reference to sandbox). The /sandbox page was otherwise identical.


Thanks!
Pedantical (talk) 02:10, 22 October 2023 (UTC)[reply]

 Completed.
ed. put'er there 17:01, 22 October 2023 (UTC)[reply
]

Template-protected edit request on 23 October 2023

Context:

I've looked over some past conversations about use of the values 'separated' and 'annulled' being included in the template and abbreviated in a way that is generally understood (in this case, both "sep" and "ann" are commonly used abbreviations in genealogy and relationship records). Adding these two additional "standard" choices will allow for editors to reduce the amount of nested abbreviations into the end parameter (not that it's a bad thing; just common enough usage where it feels appropriate to add into documented usage for editors).


Change to be made:

I have added the necessary lines of text to the switch case to the primary /sandbox page.

You can copy all the contents except the first line reference to the sandbox's Template Styles CSS page.

Thanks!!

Pedantical (talk) 17:07, 23 October 2023 (UTC)[reply]

 Done * Pppery * it has begun... 00:10, 27 October 2023 (UTC)[reply]
Problem here, which I believe has been discussed before: separation does not end a marriage—only divorce, death, and annulment does. "Separated" should not be included as an option. —Joeyconnick (talk) 19:49, 11 February 2024 (UTC)[reply]

Non-breaking spaces causing issues on mobile

The excessive use of "&nbsp" characters is messing up how this template appears on mobile, and causes infoboxes to look weird. For example, see Anya Taylor-Joy on mobile; this template's "&nbsp" usage is causing its text to be aligned further left than it should be. At this point, I'm doing no more than pointing out this issue, but ... I think the resolution here may possibly be to remove all "&nbsp" between the spouse surname and the left bracket of the date range. Steel1943 (talk) 20:54, 3 November 2023 (UTC)[reply]

Hey there! Thanks for pointing that out. I’ll see what I can do clean that up. The formatting is something that I’d like to tackle as well, and this lines up nicely with my hope to get the template less dependent on styling where isn’t strictly necessary. Pedantical (talk) 23:53, 3 November 2023 (UTC)[reply]
@Pedantical: any update on this? This issue is still there. Another example is Avi Shlaim; his wife's name is misaligned with rest of the infobox entries on the right-hand side. Brusquedandelion (talk) 05:41, 10 April 2024 (UTC)[reply]

Error messages with death date?

In the article Joaquín Torres-García, the template listed his spouse as "Manolita Piña (m. 1908, died 1949)". This was in error as she died in 1994, not 1949. I tried to update her death date to 1994 but that resulted in an error message that the date 1994 was after his death date. I then instead tried keeping the 1949 date but replacing the "died" with "his death", but that reached a different error message that "his death" is deprecated and should be replaced by "died"! Obviously using "his death" would be accurate here whilst "died" would imply that his spouse had died in 1949. So then I tried just removing the reason parameter entirely and having the marriage end date be in 1949 with his death, but doing that resulted in the wording "Manolita Piña (1908⁠–⁠1949)", not mentioning that 1908 was the year of marriage at all and thereby implying that his wife had been born in 1908 and died in 1949!

I was left with no choice but to just remove the template completely and manually record that he married his wife in 1908 and she died in 1994. I feel like those two error messages should be removed, as either recording the spouse's death date or that the marriage ended with the subject's death would be accurate ways of conveying the information, but the template as-is gives no good option for using it. Chessrat (talk, contributions) 11:46, 26 January 2024 (UTC)[reply]

@Chessrat: This is by design. Note the text, "If the marriage ended with the death of the article's subject, do not provide a date." on the template page. Since the article's subject died first, you do not provide the spouse's death year. They were married at death is the fact that holds. --Engineerchange (talk) 12:14, 26 January 2024 (UTC)[reply]
@Engineerchange Aha, thank you. I had noticed the "If the marriage ended due to death of article's subject, do not provide a reason." further up in the description, but did not notice the "do not provide a date" further down. Chessrat (talk, contributions) 13:02, 26 January 2024 (UTC)[reply]