Template:Not a typo
(重定向自Template:As written)
此模板可用于写入故意或明显的誤字,或是看上去像誤字但并非誤字的词,以防止它们被机器人和AutoWikiBrowser(AWB)更正,其目的是指出对自动化工具来说可能看起来不正确但实际上是正确的语句(词汇)。它对呈现的wikitext没有影响。AWB在正常的正则表达式拼写错误修复过程中也可以识别该模板,在该过程中,程序在评估过程中会跳过文本。
可用的有以下四个模板:
- {{Not a typo}} 标记正确的词汇,例如,"he put a little english on the ball",其中"english"并非首字母大写;
- {{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.);
- {{Proper name}} 标记专有名词,例如Flouride(而非fluoride)或Pharoah(而非pharaoh);
- {{As written}} 标记拼写并非故意写错或写对,例如书名"Pardoe, Julia. The Life of Marie de Medici"的"Marie de' Medici"有多种写法。
此外需要注意:
- {{Lang}} for other-language text.
- {{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