Jump to content

Topic on Talk:Recommendations for mobile friendly articles on Wikimedia wikis

Dvorapa (talkcontribs)

What does that "ambox" word mean in English? My dictionary doesn't know. On cswiki we already use the class/class prefix "labelced", which could be translated to something like "banner" in English. It would be really inconvenient to rename or add hundreds of classes to prefix "ambox" if we already use "labelced" (transl. "banner") everywhere.

Anomie (talkcontribs)

"ambox" is an abbreviation of "article message box". On enwiki there's also "tmbox" ("talk-page message box"), "cmbox" ("category message box"), "imbox" ("image message box"), and a few others.

Dvorapa (talkcontribs)

I see. On cswiki we have got "cedule" template ("labelced-page" class) for articles and "cedule diskuse" (resp. "labelced-talk") for talk pages. It would be much easier to set somewhere our prefix than change things like:

labelced-image -> labelced-image ambox-image

labelced-content -> labelced-content ambox-content

and so on...

Jdlrobson (talkcontribs)

Dvorapa I've love your feedback on https://phabricator.wikimedia.org/T206177 I've been pushing for us to use some more neutral language that's not based on the English templates. While supporting different selectors per projects seems like over-engineering, it makes sense to encourage consistent markup across project that uses a common language e.g. `page-issue` / `page-problem` rather than `ambox`

Dvorapa (talkcontribs)

Good to know, thank you!

TheDJ (talkcontribs)

I had to look it up, the ambox (or rather mbox) structure, classes and styling is 11 years and 2 months old now !

Basically the only thing that was added to it was hide-when-compact (terribly named btw).

Dvorapa (talkcontribs)

Ah, there is also another task like that: T201975. BTW this page should be categorized and also linked from other how-to create-template pages on mw, shouldn't be? BTW the order of templates at the top differs on cswiki per our rules, where broken templates (.ambox) should be above info templates (.hatnote) and all the other content.

Reply to "Own class?"