Template:Ref sic: Difference between revisions

From Guild of Archivists
(Rectify parameter naming discrepency.)
(Remove guard for second parameter. I.e. make the second parameter optional.)
Line 1: Line 1:
<includeonly>{{#if: {{{1| {{{source| }}} }}} || {{error|Parameters 1 or source must be provided with a valid argument.}} }}<!--
<includeonly>{{#if: {{{1| {{{source| }}} }}} || {{error|Parameters 1 or source must be provided with a valid argument.}} }}<!--
-->{{#if: {{{2| {{{correction| }}} }}} || {{{1| {{{source|&nbsp;}}} }}}{{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| {{{correction| }}} }}}|change to &quot;{{{2| {{{correction| }}} }}}&quot;|EDIT this}}; the original source is intentionally copied verbatim and {{{description|contains the same error.}}}| {{{1| {{{source| }}} }}}{{#if:{{{nosic| }}}||&nbsp;<small>&#91;sic&#93;</small>}}} }}
{{hover text|Please DO NOT {{#if: {{{2| {{{correction| }}} }}}|change to &quot;{{{2| {{{correction| }}} }}}&quot;|EDIT this}}; the original source is intentionally copied verbatim and {{{description|contains the same error.}}}| {{{1| {{{source| }}} }}}{{#if:{{{nosic| }}}||&nbsp;<small>&#91;sic&#93;</small>}}} }}
}}</includeonly><!--
}}</includeonly><!--
--><noinclude>{{Documentation}}</noinclude>
--><noinclude>{{Documentation}}</noinclude>

Revision as of 02:31, 2 December 2024

Template documentation[view] [edit] [history] [purge]

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.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Source Text1 source

The word or phrase found in the source text, verbatim, including whatever mistake might be present.

Stringrequired
Correction2 correction

The corrected form of the word or phrase that has been singled out as being incorrect.

Stringsuggested
Descriptiondescription

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.

Stringoptional
No Sicnosic

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.

Unknownoptional