Difference between revisions of "Template talk:Sic"
m |
m |
||
Line 20: | Line 20: | ||
:::<code><nowiki><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></nowiki></code> | :::<code><nowiki><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></nowiki></code> | ||
:::<br><br>generates<br><br> | :::<br><br>generates<br><br> | ||
− | :::<code><sup>{{tooltip|{{lang incomplete|pt-br=[|force=pt-br}}Obrigado!{{lang incomplete|pt-br=]|force=pt-br}}|{{lang incomplete|en=The preceding text | + | :::<code><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></code> |
:::<br><br> | :::<br><br> | ||
:::However, I think square brackets for all languages is better, so I have removed both lang incomplete entirely. | :::However, I think square brackets for all languages is better, so I have removed both lang incomplete entirely. | ||
:::<br/>[[User:Tiagoquix|<font color="#1e90ff">Tiagoquix</font>]] ([[User talk:Tiagoquix|<font color="#19c819">talk</font>]]) 04:03, 28 June 2024 (UTC) | :::<br/>[[User:Tiagoquix|<font color="#1e90ff">Tiagoquix</font>]] ([[User talk:Tiagoquix|<font color="#19c819">talk</font>]]) 04:03, 28 June 2024 (UTC) |
Revision as of 04:03, 28 June 2024
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