Template talk:Sic
mouseover[edit]
Is it possible to add a mouseover event that displays an optional text (added parameter) describing the sic error? ~~
Kiomadoushi 03:13, 29 June 2011 (UTC)
- It is, but it is a bit complicated. I will try anyway. - Yandere
10:37, 4 August 2012 (UTC)
- <span style="margin: 0em 0.1em; font-size: 85%;" {{#if:{{{1|}}}|title="{{{1}}}"}}>{{#if:{{{1|}}}|[''sic'']|[''[[wikipedia:sic|sic]]'']}}</span> should work, but you'd lose the link to wikipedia when you invoke the tooltip. Not sure if that's acceptable, maybe someone could come up with a more desirable solution. — Rari
12:18, 4 August 2012 (UTC)
- Yeah I found this solution, too. It is way more complicated if you try to keep the link. - Yandere
12:27, 4 August 2012 (UTC) - I have a sic template in [[User:Yandere/sic| my Userspace]] which can do a hover over text and a link, but it redirects to the sic page in this wiki. Is it possible to put a redirect on the wikipedia page on the [[sic]] page?
- With the we can have pretty much both. {{User:Yandere/sic|template:sic with mouse over text}} - Yandere
20:29, 4 August 2012 (UTC)
- Yeah I found this solution, too. It is way more complicated if you try to keep the link. - Yandere
- <span style="margin: 0em 0.1em; font-size: 85%;" {{#if:{{{1|}}}|title="{{{1}}}"}}>{{#if:{{{1|}}}|[''sic'']|[''[[wikipedia:sic|sic]]'']}}</span> should work, but you'd lose the link to wikipedia when you invoke the tooltip. Not sure if that's acceptable, maybe someone could come up with a more desirable solution. — Rari
- I took the relevant code from {{H:title}} and stuck it in here. Seemed pretty easy to me. —Dr Ishmael
20:36, 4 August 2012 (UTC)
- Well, I started to learn the Media Wiki macro language a week ago, so I am still not sure how everything works. :P
- But anyway, nice work. - Yandere
07:19, 5 August 2012 (UTC)
- I took the relevant code from {{H:title}} and stuck it in here. Seemed pretty easy to me. —Dr Ishmael
- When there's a reason given, can we give the text a dotted underline and give the cursor a question mark thing, like Template:UTC time? pling
00:08, 4 May 2013 (UTC)
- When there's a reason given, can we give the text a dotted underline and give the cursor a question mark thing, like Template:UTC time? pling
- Assign class="sic" to the span wrapper, then add
span.sic a { text-decoration: none; }to Common.css. You could even move the cursor/border styles into the class definition. —Dr Ishmael
02:40, 4 May 2013 (UTC)
- Assign class="sic" to the span wrapper, then add
transclusion error with double quotes[edit]
Looking at Skritt Swipe we can see the transcluded descriptions of both Exalted Hammer and Summon Kryptis Turret.
While the former works correctly, the latter should be showing the tooltip should be "that", which correctly displays on its page, however the text is rendered as should be.
Specifically looking at the HTML we can see title="should be "that"" (note: dev tools in browsers may display this differently, Ctrl+U is your friend) on the page, and title="should be" in the transclusion.
I suspect as issue due to the double transclusion via Template:skill description, but I'm not sure. benaryorg (talk) 12:06, 11 February 2026 (UTC)