Template:Sic/doc: Difference between revisions

From Deadlock Wiki
Jump to navigation Jump to search
Mgpt (talk | contribs)
mNo edit summary
Sur (talk | contribs)
m note added that parameter usage should be avoided
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
== Usage ==
==Usage==
This template is used to display a tooltip with "sic". It indicates that the preceding text has been reproduced verbatim, and any errors are present in the original quote, not due to a transcription mistake.
This template is used to display a {{t|tooltip}} with "sic". It indicates that the preceding text has been reproduced verbatim, and any errors are present in the original source, not due to a transcription mistake.


* <code><nowiki>Text{{sic}}</nowiki></code> generates <code>Text{{sic}}</code>
==Examples==
<noinclude>[[Category:Template documentation]]</noinclude>
<pre>Text{{sic}}</pre>
generates:
Text{{sic}}
 
<pre>The buff cooldown was lowered to 50%.{{sic}}</pre>
generates:
The buff cooldown was lowered to 50%.{{sic}}
 
 
<b>Use [[Template:Refn]] instead for this use case. This parameter may eventually be removed, do not use it in new cases.</b>
<pre>Sticky Bomb now gains 1% stack on attach.{{sic|Stacks are gained on-hit, not on-attach.}}</pre>
generates:
Sticky Bomb now gains 1% stack on attach.{{sic|Stacks are gained on-hit, not on-attach.}}
<includeonly>[[Category:Formatting templates]]</includeonly><noinclude>[[Category:Template documentation]]</noinclude>

Latest revision as of 22:19, 8 November 2024

Usage[edit source]

This template is used to display a {{tooltip}} with "sic". It indicates that the preceding text has been reproduced verbatim, and any errors are present in the original source, not due to a transcription mistake.

Examples[edit source]

Text{{sic}}

generates: Text[sic]

The buff cooldown was lowered to 50%.{{sic}}

generates: The buff cooldown was lowered to 50%.[sic]


Use Template:Refn instead for this use case. This parameter may eventually be removed, do not use it in new cases.

Sticky Bomb now gains 1% stack on attach.{{sic|Stacks are gained on-hit, not on-attach.}}

generates: Sticky Bomb now gains 1% stack on attach.[sic]