Template talk:Unsigned

(Redirected from Template talk:Unsigned/doc)
Latest comment: 11 months ago by Izno in topic Edit request: trim

Template Unsigned2 is deprecated? edit

Template {{Unsigned2}} is deprecated? Please see Template_talk:Unsigned2#Deprecated_template?--Estopedist1 (talk) 06:09, 27 September 2021 (UTC)Reply

Save you a click: Nope, the user just misinterpreted User:AnomieBOT/docs/TemplateSubster. {{ping|ClydeFranklin}} (t/c) 20:50, 27 March 2023 (UTC)Reply

Preceding unsigned comment added by Example (talk • contribs) edit

I would change this to Preceding unsigned comment is comment that had been added by: '''Example''' (talk • contribs) --5.43.86.137 (talk); 12:05, 3 August 2022 (UTC)Reply

Semantics and styling edit

@Jonesey95 and JJMC89: Per MOS:SMALL, I removed the small HTML tag: that is intended for fine print. Do we think that the note that this inserts on talk pages constitutes fine print? ―Justin (koavf)TCM 20:48, 19 September 2022 (UTC)Reply

I think that this template fits the broad definition of "fine print". See the W3 spec, which includes statements such as Small print is also sometimes used for attribution, or for satisfying licensing requirements.Jonesey95 (talk) 02:50, 20 September 2022 (UTC)Reply
 Justin (koavf)TCM 03:10, 20 September 2022 (UTC)Reply
Whatever the case, boldly modifying this template but not {{Unsigned IP}} etc. was ill-advised. Nardog (talk) 03:12, 20 September 2022 (UTC)Reply
Water under the bridge. Koavf has been blocked and unblocked, and the templates are healed and consistent with each other. – Jonesey95 (talk) 03:31, 20 September 2022 (UTC)Reply

Edit request: trim edit

Please change all occurences of

{{{1<noinclude>|Example</noinclude>}}}

to

{{{{{|safesubst:}}}trim|{{{1<noinclude>|Example</noinclude>}}}}}

This will trim the leading and trailing whitespaces/newline, from the input. I learned in my most recent usage of this template that these whitespaces aren't being trimmed by default. CX Zoom[he/him] (let's talk • {CX}) 21:30, 4 May 2023 (UTC)Reply

This looks like a reasonable request. Can you please give an example, maybe via a diff or sample code, showing why this is needed? – Jonesey95 (talk) 21:57, 4 May 2023 (UTC)Reply
@CX Zoom: * Pppery * it has begun... 18:41, 9 May 2023 (UTC)Reply
Thanks for the ping, I wasn't subscribed. Here is an example: Special:Diff/1153209143. Notice how it is [[User:CapnJackSp |CapnJackSp ]] ([[User talk:CapnJackSp #top|talk]], with spaces because I had left a space beyond the username; the diff preceding it shows no space, because in that case I did not leave a space beyond the name. CX Zoom[he/him] (let's talk • {CX}) 19:28, 9 May 2023 (UTC)Reply
I'm inclined to decline this - the Wikilink syntax already appears to ignore the extra space, so I see no reason we shouldn't let it. * Pppery * it has begun... 19:32, 9 May 2023 (UTC)Reply
Not when you use multi-line formatting, might be very rare to use it in this manner but plausible. See Special:Diff/1154024441. trim fixes all cases. CX Zoom[he/him] (let's talk • {CX}) 19:39, 9 May 2023 (UTC)Reply
This hypothetical multi-line usage causes a Linter error. I've been fixing Linter errors for five years now – I've fixed hundreds of thousands of them – and I don't recall seeing a single instance of this problem in this template or any of its siblings. My memory is not perfect, but this seems like a solution in search of a problem. – Jonesey95 (talk) 23:46, 9 May 2023 (UTC)Reply
  Not done: See Jonesey comment. Izno (talk) 22:18, 12 May 2023 (UTC)Reply