模板:Notatypo/doc

来自决策链云智库
< 模板:Notatypo
Zeroclanzhang讨论 | 贡献2024年1月16日 (二) 23:11的版本 (创建页面,内容为“{{Documentation subpage}} {{High-use}} {{Template shortcut|typo|nat}} {{Template redirect|Chem name|Proper name|Not typo}} {{Wrapper|Sic}} This template can be used to encapsulate deliberate or apparent typos to save them from correction by bots and automated wiki-editors. Its purpose is to indicate passages that might appear incorrect to an automated tool, but which are actually correct. It has no effect on the rendered wikitext. The template is also recog…”)
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)

This template can be used to encapsulate deliberate or apparent typos to save them from correction by bots and automated wiki-editors. Its purpose is to indicate passages that might appear incorrect to an automated tool, but which are actually correct. It has no effect on the rendered wikitext. The template is also recognized by WP:AWB during normal Regex typo fixing procedures, in which the program skips the text during its evaluation.

Any of five names can be used:

  1. {{Not a typo}} for items that are actually correct. Examples: bird calls, made-up words, "he put a little {{not a typo|english}} on the ball", in which "english" is not capitalised.
  2. {{Typo}} for items that are deliberately incorrect, because we are illustrating a point.
    If it is in a direct quote, use {{Sic}} instead.
  3. {{Proper name}} for names, such as Flouride (not fluoride) or Pharoah (not pharaoh).
  4. {{chem name}} for chemical names; for example: {{chem name|poly(1-phenylethene)}}.
    For chemical formulas like 模板:Chem2, use {{chem}} or {{chem2}} instead.
  5. {{As written}} For situations where the spelling is not deliberately incorrect or correct.
    For example, Julia Pardoe's book title The Life of 模板:As written, Queen of France, Consort of 模板:As written, and Regent of the Kingdom Under Louis XIII is neither correct nor incorrect, because both "Marie de' Medici" and "Henry IV" have multiple spellings.

Also be aware of:

  1. {{Lang}} for other-language text. If this is used a language code is required.
  2. {{Sic}}, which can be used to mark up text, thus [sic], or invisibly.

Examples

  • The first known mention of a form of the word "billiards" appears in [[Edmund Spenser]]'s ''Mother Hubberd's Tale'' in 1591, where he speaks of "... games that may be found ... with dice, with cards, with {{Not a typo|balliards}}."
    → The first known mention of a form of the word "billiards" appears in Edmund Spenser's Mother Hubberd's Tale in 1591, where he speaks of "... games that may be found ... with dice, with cards, with 模板:Not a typo."
  • H.C. Nielsen is credited in the film as the '''{{Typo|assistent}}''' director.
    → H.C. Nielsen is credited in the film as the 模板:Typo director.

Advanced usage

  • In some cases it may be beneficial to obfuscate the text so that it isn't included when searching for particular patterns. In order to achieve this, {{Not a typo}} supports two parameters, allowing the text to be broken up at an arbitrary position.
{{Not a typo|patt|ern}} instead of {{Not a typo|pattern}}
模板:Not a typo

See also