Jump to content

Template talk:Sic

Page contents not supported in other languages.
Add topic
From Wikipedia, the free encyclopedia
Latest comment: 17 days ago by Hairy Dude in topic COinS safe?

HTML class

[edit]

This template should wrap its output in a <span> tag with a class so that automated tools can pick up from the emitted HTML as well that the text isn't a typo. Opencooper (talk) 10:29, 2 December 2023 (UTC)Reply

Template Documentation RE: Usage in Ref tags

[edit]

I was struggling to figure out how to use the SIC Template properly in the context of the title parameter of a Ref tag set. After seeking help, @Rummskartoffel was kind enough to provide a working example and explained the challenge was attributable to trying to render a link within a link. Coming back to the SIC Template documentation I had reviewed before asking, I now see plenty of good examples of how to handle that use case; but that was not evident to me earlier because I was looking at the title parameter merely as a text string (since that's what it is when you create or edit it) and I could not find any material speaking to that (Reference) context. Without knowing quite the best way to approach that, could we find a way to draw attention to the applicability of the no-link template syntax as a means of handling the template's use when applied to Reference tag parameters, and maybe other text that later becomes links? In short, I did not recognize the no-link options as the solution to my problem because I was looking for a solution to a "Reference" problem, not seeing the connection between the two. I was thinking something along these lines: When applied to a title parameter within a <ref></ref> tag set or similar text creating links, the syntax of the template may be adjusted to {{sic|nolink=y}} (producing [sic] in the resulting linked text). ShoneBrooks (talk) 19:22, 25 June 2024 (UTC)Reply

I agree that should be covered better.
This appears to be another case of the same thing described in the description of nolink by When the template is used within the displayed anchor text (right-hand visible portion) of an internal link (aka a wikilink) or external link, this parameter is essential to prevent incorrect formatting, as the link will be truncated otherwise. So I suggest that we simply generalize that, and to make the advice accessible to people looking for help using sic with ref tags, we include that as a second example:
This is necessary in some contexts where the link wikitext would interfere with the correct interpretation of the surrounding wikitext. These are some examples of places a call to the sic template will break the formatting unless it has nolink=y:
  • Within the displayed anchor text (right-hand visible portion) of an internal link (aka a wikilink) or external link
  • In the value of a parameter of a ref tag
We can add other common cases as we discover them. Bryan Henderson (giraffedata) (talk) 18:43, 26 June 2024 (UTC)Reply
Yes, that sounds great, thanks! ShoneBrooks (talk) 13:07, 27 June 2024 (UTC)Reply

Discussion at Wikipedia talk:Manual of Style § Adjust MOS:SIC

[edit]

 You are invited to join the discussion at Wikipedia talk:Manual of Style § Adjust MOS:SIC. waddie96 ★ (talk) 22:01, 17 February 2025 (UTC)Reply

COinS safe?

[edit]

When |hide= is nonempty, this template simply reproduces its first two arguments (or second and third if the first is exactly "?"), meaning it leaves behind no problematic markup for templates that emit COinS. Presumably that means it's COinS-safe with |hide= nonempty? Hairy Dude (talk) 14:50, 11 September 2026 (UTC)Reply