跳至內容

模板:Not a typo/doc

維基百科,自由的百科全書

此模板可用於寫入故意或明顯的誤字,或是看上去像誤字但並非誤字的詞,以防止它們被機器人和AutoWikiBrowser(AWB)更正,其目的是指出對自動化工具來說可能看起來不正確但實際上是正確的語句(詞彙)。它對呈現的wikitext沒有影響。AWB在正常的正則表達式拼寫錯誤修復過程中也可以識別該模板,在該過程中,程序在評估過程中會跳過文本。

可用的有以下四個模板:

  1. {{Not a typo}} 標記正確的詞彙,例如,"he put a little english on the ball",其中"english"並非首字母大寫;
  2. {{Typo}} 標記故意輸錯的詞彙,, either because we are illustrating a point, or because it is a direct quote. (It is better to use {{Sic|hide=y}} in quotations.)
  3. {{Proper name}} 標記專有名詞,例如Flouride(而非fluoride)或Pharoah(而非pharaoh);
  4. {{As written}} 標記拼寫並非故意寫錯或寫對,例如書名"Pardoe, Julia. The Life of Marie de Medici"的"Marie de' Medici"有多種寫法。

此外需要注意:

  1. {{Lang}} for other-language text.
  2. {{Sic}}, which can be used to mark up text, thus原文如此, or invisibly.

舉例

  • 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 balliards."
  • H.C. Nielsen is credited in the film as the '''{{Typo|assistent}}''' director.
    → H.C. Nielsen is credited in the film as the assistent director.

進階使用

  • 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}}
→ pattern

參見

  • {{Text}} to obfuscate text for bots