Template talk:Sic
Add topic| Template:Sic is indefinitely protected from editing as it is a heavily used or highly visible template. Substantial changes should first be proposed and discussed here on this page. If the proposal is uncontroversial or has been discussed and is supported by consensus, editors may use {{edit template-protected}} to notify a template editor to make the requested edit. Usually, any contributor may edit the template's documentation to add usage notes or categories.
Any contributor may edit the template's sandbox. Functionality of the template can be checked using test cases. |
Archives (Index) |
|
This page is archived by ClueBot III. |
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)
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)
- 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)
- Yes, that sounds great, thanks! ShoneBrooks (talk) 13:07, 27 June 2024 (UTC)
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)
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)