Difference between revisions of "Template:SIC/doc"
Griceylipper (talk | contribs) m (22 revisions imported: Import templates for formatting Jakobsen snippets) |
|||
(2 intermediate revisions by one other user not shown) | |||
Line 11: | Line 11: | ||
==Usage== | ==Usage== | ||
;Use of two parameters | ;Use of two parameters | ||
− | * first parameter (<code>$1</code> or <code>target</code>) is the word in text being transcribed [mandatory] | + | * first parameter (<code>$1</code> or <code>target</code>) is the word in text being transcribed ['''mandatory'''] |
* second parameter (<code>$2</code> or <code>texttip</code>) is the word that is presumed to have been the intended word [optional] | * second parameter (<code>$2</code> or <code>texttip</code>) is the word that is presumed to have been the intended word [optional] | ||
Line 52: | Line 52: | ||
{ | { | ||
"params": { | "params": { | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
"target": { | "target": { | ||
"aliases": [ | "aliases": [ | ||
Line 68: | Line 60: | ||
"type": "string", | "type": "string", | ||
"required": true | "required": true | ||
+ | }, | ||
+ | "texttip": { | ||
+ | "aliases": [ | ||
+ | "2" | ||
+ | ], | ||
+ | "description": "presumed text", | ||
+ | "type": "string" | ||
}, | }, | ||
"nodash": { | "nodash": { |
Latest revision as of 22:58, 10 March 2021
Purpose
{{SIC}} is used to indicate that the spelling of 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) or of doing nothing.
The word should actually be a typo. The purpose of the template is not for indicating a different or obsolete spelling, nor for attaching definitions, synonyms, commentary etc. to a word
Effect
To underline the word of interest, and to produce a pop-up to show the presumed intended word.
Usage
- 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
- no parameters
{{SIC}}
- RESULT: {{{1}}} ← hover cursor to see full effect
See also
- {{sic}} — which undertakes a similar function though as a hidden placemarker in the text.
- {{tooltip}} — {{SIC}} is based upon this template
Templatedata
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 |