Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

// request.cf · coarse context

A page that knows where it met you.

Only coarse request metadata is shown. This demo does not display or persist visitor IP addresses.

Country
US
Cloudflare location
CMH
Connection
HTTP/2
Language
Not provided

Ray ID: a21f415e18822308

Jump to content

Template talk:Infobox ship

Page contents not supported in other languages.
Add topic
From Wikipedia, the free encyclopedia
(Redirected from Module talk:Infobox ship/doc)
Latest comment: 1 month ago by Tupsumato in topic Classification society

infobox_caption ignores italics

[edit]

Here, |infobox_caption=yes and |display_title=SV ''Rembrandt van Rijn'' results in an unitalicized caption. Same outcome if |display_title=none is combined with an external DISPLAYTITLE. Paradoctor (talk) 01:05, 4 January 2026 (UTC)Reply

Because 'SV' is not recognized by Module:WPSHIPS utilities as a valid prefix. If we are to believe these search results, there are only about 20 articles about ships with the 'SV' prefix. I have added 'SV' to the module and reverted your edit as a test.
Trappist the monk (talk) 01:45, 4 January 2026 (UTC)Reply
As usual, quick work.
Resolved
Paradoctor (talk) 02:27, 4 January 2026 (UTC)Reply

@Trappist the monk: It's still not working for me. At Icon of the Seas If I set |infobox_caption=yes I do not get an italic caption. GA-RT-22 (talk) 09:26, 30 January 2026 (UTC)Reply

|infobox_caption=yes can only auto-italicize captions from the article title if the article title has a recognized ship prefix (USS, MV, etc) or a recognized disambiguator prefix: <nationality> <ship type> <name>; or a parenthetical disambiguator suffix: (BB-265). The article title for Icon of the Seas has neither of these. I've tweaked the template doc some.
Trappist the monk (talk) 14:37, 30 January 2026 (UTC)Reply
Much better, thank you. This makes me wonder why it can't do what the old documentation says: "formats the infobox caption in the same way that the article title is formatted" but I assume this is a technical restriction. GA-RT-22 (talk) 14:57, 30 January 2026 (UTC)Reply
I'm pretty sure that there was a reason but what that reason was, I no longer remember. I'll add a TODO note to the module so that sometime in the future I can look into the matter.
Trappist the monk (talk) 15:04, 30 January 2026 (UTC)Reply

Edit Suggestion: "Homeport" vs. "Home port"

[edit]

This subtemplate uses the compound word "homeport" instead of the phrase "home port". Looking online, I can't find any traditionally published dictionary which includes the noun "homeport", though I can find multiple entries for "homeport" the verb and "home port" the noun phrase. The description of the parameter itself uses "home port" in favor of "homeport".

This only came to my attention because the word "homeport" appears twice in the body text of this article, its usage seemingly having bled outward from the page's infobox. Encyclopedia articles probably shouldn't use compound words which don't or have yet to appear in dictionaries without having some reason to do so, and I don't see any reason to prefer "homeport" to "home port" here. Unless there's something I'm missing (which there may well be), I believe the template should be edited accordingly. Cerebrosoluble (talk) 00:30, 14 January 2026 (UTC)Reply

I don't either – except that I can hear Tevye: "Tradition!". Homeport has been the spelling in the rendered infobox since the first version of {{infobox ship career}}. I won't change the parameter name (|homeport=) but I have changed the displayed label.
Trappist the monk (talk) 00:51, 14 January 2026 (UTC)Reply
Ah, the question of editing the parameter name vs. the displayed label hadn't even occurred to me. That's exactly what I was looking for, though. Thank you! Cerebrosoluble (talk) 01:07, 14 January 2026 (UTC)Reply

Refit definition

[edit]

What qualifies for a refit to include in this infobox? Evan.oltmanns (talk) 21:31, 16 February 2026 (UTC)Reply

To clarify, how invasive or extensive must a refit be to be considered worth adding for this parameter? Evan.oltmanns (talk) 22:05, 16 February 2026 (UTC)Reply

Default title to PAGENAMEBASE

[edit]

@Trappist the monk: out of curiosity before I attempt to implement it, is there a reason you chose not to have a default title above the Infobox? I've come across a number of articles (such as Götheborg (ship)) with no title on the Infobox. In my experience, standard procedure is to use a default title of {{PAGENAMEBASE}}. I just want to make sure I'm not missing something and that this wasn't intentionally omitted. Zackmann (Talk to me/What I been doing) 19:10, 2 June 2026 (UTC)Reply

You are talking about the html table caption? See these discussions:
Trappist the monk (talk) 22:13, 2 June 2026 (UTC)Reply
Ok... Trappist the monk instead of referring me to 5 threads that are all over a decade old and have dozens of posts is there a chance you could just answer the question? Why is there no default title to the Infobox as is done with nearly every other Infobox on the English wikipedia? If this is established consensus thats fine, but just saying "here are 5 discussions about this from 10-14 years ago" really is not helpful in any way. Zackmann (Talk to me/What I been doing) 22:23, 2 June 2026 (UTC)Reply
You and I are not the only editors reading this discussion. Those editors who are not familiar with the topic, or who have forgotten that we had those discussions, may find them enlightening. I gave you the response that I did to avoid putting words into other editors' mouths that they did not speak.
Trappist the monk (talk) 22:37, 2 June 2026 (UTC)Reply
Ok let's try this again, can you please tell me why there is no default title to the Infobox as is done with nearly every other Infobox on the English wikipedia? Please don't just refer me to discussions from over a decade ago. You are an intelligent editor here Trappist. Surely you can give me a simple answer to this. Zackmann (Talk to me/What I been doing) 22:55, 2 June 2026 (UTC)Reply

Classification society

[edit]

Any thoughts of including the current classification society in the infobox? Currently dealing with a bunch of Royal Caribbean ships that recently switched from DNV to either LR or ABS, and it would make keeping track of them easier. --Ahecht (TALK
PAGE
)
16:29, 4 June 2026 (UTC)Reply

In my opinion, classification society is not relevant enough for inclusion into the infobox. I would also question its relevance in the article body without further purpose such as explanation of an interesting class notation (for example, I have usually included it in connection to a non-generic ice class, but not just on its own). Tupsumato (talk) 08:43, 5 June 2026 (UTC)Reply