Jump to content

Template talk:Select skin

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

Flatlist

[edit]

{{Select skin/sandbox}} has been updated to use {{flatlist}}: MinervaNeue (mobile) · MonoBook · Timeless · Vector legacy (2010) · Vector (2022) --— Gadget850 (Ed) talk 00:36, 23 January 2013 (UTC)[reply]

Usage in indented lines

[edit]

Template:Select skin doesn't work very well when used with indentation. Example: Special:Permalink/948213657. Is it intended to be used inline? I've tried the following in sandbox: Special:Diff/819697970/948215532, which does fix the issue. However, it is not valid HTML. So I've replaced CSS class hlist using {{middot}}: Special:Diff/819697970/948217070. I've also added a test case. —⁠andrybak (talk) 20:03, 30 March 2020 (UTC)[reply]

It uses a <div>...</div>, which is a block element, and block elements cannot be inlined. --Redrose64 🌹 (talk) 23:19, 30 March 2020 (UTC)[reply]

Template-protected edit request on 2 April 2020

[edit]

Please use Special:Permalink/948228188, which replaces <div>...</div> with <span>...</span> and CSS class hlist with {{middot}}. This would allow using {{Select skin}} inline. For example:

. —⁠andrybak (talk) 18:00, 2 April 2020 (UTC)[reply]

 Done After looking at the test cases, I added a line break to preserve the line breaking that was previously provided by the div tag when |view= was used. I hope that is OK. In general, unless a display change is actively sought, the test cases page should look identical when comparing the live and sandbox cases. – Jonesey95 (talk) 23:46, 2 April 2020 (UTC)[reply]

Vector 2022

[edit]

New Vector is now a new skin (named Vector 2022) rather than a switch within Vector, so the two Vector skin links need to be changed:

From ...|useskin=vector&useskinversion=1}} {{int:skinname-vector}} ...|useskin=vector&useskinversion=2}} New {{int:skinname-vector}}
To ...|useskin=vector}} {{int:skinname-vector}} ...|useskin=vector-2022}} {{int:skinname-vector-2022}}
i.e. Vector legacy (2010) Vector (2022)

Thanks — GhostInTheMachine talk to me 10:46, 18 March 2022 (UTC)[reply]

 Done. P.I. Ellsworth - ed. put'r there 11:08, 18 March 2022 (UTC)[reply]

Flatlist

[edit]

Izno, for your information, the edit to use {{flatlist}} has broken the use-case of putting {{Select skin}} in an indented block. See Template:Select skin/testcases § Inline vs block test. —⁠andrybak (talk) 18:38, 31 March 2022 (UTC)[reply]