Template:Sic/doc

Description
This template can be used on any quoted text that contains a textual error, and is deliberately left uncorrected because it was faithfully reproduced from the original source.

Sic is Latin for "thus"; in full, sic erat scriptum, translates to "thus was it written". It is used to indicate that text was copied as is from the source, without any modifications. See Sic and sic.

Usage
Simply add sic after the quote in question to display the template. By default, it will link to the Sic Wikipedia article and has a tooltip.

For example, if this was added to the page:

It would look like this:

"The quick brown fox jumps oer [sic] the lazy dog."

Ambiguity over error
If the correctness or incorrectness of an error cannot be determined, a  can be added to indicate doubt. Examples of when you might want to use this include:
 * The quoted source might not be available online, or not without a paid subscription, etc.
 * A quoted passage contains a spelling error but is ambiguous as to whether the statement was originally printed this way.

A question mark can be added by specifying a  to the first un-named parameter, as shown below.

"The quick brown fox jumps oer [sic] the lazy dog."

Obfuscating the error
In some cases, you may want to wrap the textual error with the template in order to prevent automated tools, such as AutoWikiBrowser, from automatically correcting the error (Which would not be appropriate). The template supports two parameters, intended for "eating" the error in question.

"The quick brown fox jumps oer [sic] the lazy dog."

In the above example, automated tools would be prevented from changing "oer" to "over" because the error is now surrounded by the template, and in general automated tools should leave content inside templates alone.

The above can be used alongside the  method, but the   must come first.

"The quick brown fox jumps oer [sic] the lazy dog."

Leaving editor notes
Notes can be left within the template for editors to see using the  parameter. These notes are not visible to the reader when the page is rendered.

"The quick brown fox jumps oer [sic] the lazy dog."

Hiding the link
By default, the template links to Sic; however, this is not desirable in all cases. For example, if sic is used multiple times in a row, it would be awkward to have them all link to the same page. It is also undesirable to have sic display a link if it is used inside of a link, as this breaks the wiki markup.

For that reason, the link can be disabled by specifying.

"The quick brown fox jumps oer the lazy dog."

Hiding the tooltip
By default, the template has a tooltip, which is displayed when the cursor is moved over the template. This can be disabled if so desired with.

"The quick brown fox jumps oer [sic] the lazy dog."

Both  and   can be used together.

"The quick brown fox jumps oer the lazy dog."

Hiding the [sic]
Finally, the [sic] can be hidden, and the template can be used solely for preventing automated tools from correcting the error. Use  to do this.

"The quick brown fox jumps oer [sic] the lazy dog."

The  parameter can still be used even if the [sic] is hidden, and will continue to serve as a hidden note for editors.

Credits
This template was based off the one on Wikipedia with the same name.