Template talk:Nowrap
Jump to navigation
Jump to search
![]() | Template:Nowrap has been protected indefinitely because it is a highly-used or visible template. Use {{Edit request}} on this page to request an edit.If you wish an edit to be made to something else, such as rewording the documentation or adding a category, you can edit Template:Nowrap/doc. Please test any changes in the template's /sandbox subpage or in a user subpage, and consider discussing changes at the talk page before implementing them. |
Use TemplateStyles
[edit]{{Edit request}} Please apply Special:Diff/588325537 in order to use TemplateStyles (Template:Nowrap/styles.css). — ExE Boss (talk) 12:00, 3 September 2021 (UTC)
- Note, that the loading line has to be written without template namespace, cf. the linked TemplateStyles help page. So it is rather
<templatestyles src="Nowrap/styles.css" />
. - ExE Boss, what’s the purpose of
.nowrap a:before, .nowrap .selflink:before
? Can you provide some counter examples? I found that in Enwiki there is a separate template en:Template:Nowraplinks. (BTW it should be written as::before
with two colons). - — Speravir – 18:25, 6 September 2021 (UTC)
- @Speravir:
So it is rather
<templatestyles src="Nowrap/styles.css" />
.<templatestyles src="Template:Nowrap/styles.css" />
works too, see: {{nowrap/sandbox}}, {{mono}}, and {{plainlist}}.
I simply used what’s being used on other multilingual wikis (e.g.: mw:Template:Nowrap/styles.css, m:Template:Nowrap/styles.css, d:Template:Nowrap/styles.css, etc.), which all use the single colon format in order to support Internet Explorer 8[1]. — ExE Boss (talk) 17:40, 7 September 2021 (UTC)(BTW it should be written as
::before
with two colons)
- @Speravir:
References
- @ExE Boss: Thanks for the references. But in parts I am still not convinced:
- We should use the documented syntax, hence without template namespace.
- Internet Explorer 8 is officially not supported anymore, cf. meta:Tech/News/2017/42, mw:Compability and phab:T248061 (apparently in effect since June 2020). And the double colons would be the smallest problem I guess.
- — Speravir – 00:13, 8 September 2021 (UTC)
- Nothing happen in 3 years. --Jarekt (talk) 01:22, 10 July 2024 (UTC)
Stale
- @ExE Boss: Thanks for the references. But in parts I am still not convinced: