Template talk:Sic
Protected page.
Any chance we can get this page unprotected again, no way to add translations atm. Zeklyn (talk) 20:12, 18 April 2019 (UTC)
Add parenthesis to tooltip
I'm trying to make all the sup text a tooltip instead of just the "sic" part, but I'm not able to. It's missing the end parenthesis after my edits.
Here's the diff of what I did: https://wiki.teamfortress.com/w/index.php?title=User%3ATiagoquix%2FSandbox&type=revision&diff=3730615&oldid=3730614
Is there something I am missing?
Any help is appreciated.
Tiagoquix (talk) 09:54, 27 June 2024 (UTC)
- You close off the
{{lang}}
, then add the closing parenthesis, then close off the tooltip. The closing parenthesis is inside the tooltip. Simply turn}}}}
at the end into}}
and turn the ending}}{{lang incomplete
into}}}}{{lang incomplete
. Also note that the nowiki tags for the parenthesis are not necessary, as they function fine without.
| s | GrampaSwood (talk) (contribs) 12:24, 27 June 2024 (UTC)
- I figured it out. Both lang incompletes should be
{{tooltip|here (with sic)|then normal
.{{lang}}
here - Example:
<sup>{{tooltip|{{lang incomplete|pt-br=[|force=pt-br}}Obrigado!{{lang incomplete|pt-br=]|force=pt-br}}|{{lang incomplete|en=The preceding text is in Brazilian Portuguese.|force=en}}}}</sup>
generates[Obrigado!]
- However, I think square brackets for all languages is better, so I have removed both lang incomplete entirely.
Tiagoquix (talk) 04:03, 28 June 2024 (UTC)
- I figured it out. Both lang incompletes should be
- I'm not sure why you feel the need to change this at all? Square brackets are not used in English for this (or really any) purpose. The common usage in English is (sic), and often in superscript so it doesn't detract from the original text. Adding square brackets, and making the tooltip bigger to include the brackets, detracts from that. I think it should be reverted. » Cooper Kid (blether) • (contreebs) 07:17, 28 June 2024 (UTC)
- I changed it after seeing that w:Template:Sic uses square brackets, so coming from Wikipedia I think it can be considered the standard, and, therefore, the "correct" way. However, I can revert it without any problems. I'll wait for a third opinion and proceed from there.
Tiagoquix (talk) 07:21, 28 June 2024 (UTC)
- I changed it after seeing that w:Template:Sic uses square brackets, so coming from Wikipedia I think it can be considered the standard, and, therefore, the "correct" way. However, I can revert it without any problems. I'll wait for a third opinion and proceed from there.