Template:SIC/sandbox
This is the template sandbox page for Template:SIC (diff). See also the companion subpage for test cases. |
Purpose
[edit]{{SIC}} is used to indicate that the spelling of that word matches the original text. This should minimise the amount of modification by those who like to correct spelling. Use of this template is queried and may be untested. Compare the earlier practice of using {{Sic}} (a different template with a similar name, which serves as a marker in the wikitext, but has no effect in the rendered page) or of doing nothing.
This template should only be used for words that are actually typos. It is not for indicating a different or obsolete spelling, nor for attaching definitions, synonyms, commentary etc. to a word. For that, you may want to use the more generic {{tooltip}} template.
Effect
[edit]To underline the word of interest, and to produce a pop-up to show the presumed intended word.
Usage
[edit]- Use of two parameters
- first parameter (
$1
ortarget
) is the word in text being transcribed [mandatory] - second parameter (
$2
ortexttip
) is the word that is presumed to have been the intended word [optional]
The intention is to encapsulate the word in question
{{SIC|typed word|presumed word}}
- RESULT: typed word ← hover cursor to see full effect
If the dashed line (default) is problematic for the work, this can be overridden
- third parameter (
$3
ornodash
) = nodash
{{SIC|typed word|presumed word|nodash}}
- RESULT: typed word ← hover cursor to see full effect
Incorrect usage
[edit]- no parameters
{{SIC}}
- RESULT: {{{1}}} ← hover cursor to see full effect
See also
[edit]- {{sic}} — which undertakes a similar function though as a hidden placemarker in the text.
- {{tooltip}} — {{SIC}} is based upon this template
- {{hyphenation inconsistency}}
- {{ambiguous hyphenation}}
Templatedata
[edit]To display a visual representation that a presumed error in the published work is indeed what was produced in that work
Parameter | Description | Type | Status | |
---|---|---|---|---|
target | target 1 | targetted word in text | String | required |
texttip | texttip 2 | presumed text | String | optional |
nodash | nodash 3 | used to suppress dashed underline | Boolean | optional |