Template:Ref sic: Difference between revisions
(Create 'Ref sic' template as an alternative for 'Sic' created with reference pages in mind.) |
(Rectify parameter naming discrepency.) |
||
Line 2: | Line 2: | ||
-->{{#if: {{{2| {{{correction| }}} }}} || {{{1| {{{source| }}} }}}{{error|Parameters 2 or correction must be provided with a valid argument.}} }}<!-- | -->{{#if: {{{2| {{{correction| }}} }}} || {{{1| {{{source| }}} }}}{{error|Parameters 2 or correction must be provided with a valid argument.}} }}<!-- | ||
-->{{#if: {{{1| {{{source| }}} }}} | | -->{{#if: {{{1| {{{source| }}} }}} | | ||
{{hover text|Please DO NOT {{#if: {{{2| {{{ | {{hover text|Please DO NOT {{#if: {{{2| {{{correction| }}} }}}|change to "{{{2| {{{correction| }}} }}}"|EDIT this}}; the original source is intentionally copied verbatim and {{{description|contains the same error.}}}| {{{1| {{{source| }}} }}}{{#if:{{{nosic| }}}|| <small>[sic]</small>}}} }} | ||
}}</includeonly><!-- | }}</includeonly><!-- | ||
--><noinclude>{{Documentation}}</noinclude> | --><noinclude>{{Documentation}}</noinclude> |
Revision as of 02:29, 2 December 2024
An alternative form of 'sic' that places the correction in a hover text that instructs the reader not to attempt to correct the text as the mistake is intentionally copied verbatim from the original source.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Source Text | 1 source | The word or phrase found in the source text, verbatim, including whatever mistake might be present. | String | required |
Correction | 2 correction | The corrected form of the word or phrase that has been singled out as being incorrect. | String | suggested |
Description | description | An optional decription that replaces the terminal "contains the same error." part of the hover text. Such a description is intended to provide more detail or direction to the reader. | String | optional |
No Sic | nosic | If present, the trailing '[sic]' is omitted from the output. The value is unimportant, as it is merely the presence of this parameter that affects the output. | Unknown | optional |
The above documentation is transcluded from Template:Ref sic/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |