Template:Literal translation/doc
此頁面是Template:Literal translation的Template文档。 此頁面可能包含了模板的使用說明、分類和其他内容。 |
This template uses single quotation marks ('…'), because Wikipedia's Manual of Style at MOS:SINGLE calls for simple glosses to be enclosed this way.
用法
[编辑]{{literal translation}}
→ 直译:{{literal translation|lk=yes}}
→ 直译:{{literal translation|lk=no}}
→ 直译:{{literal translation|a}}
→ 直译:「a」{{literal translation|''a'' A}}
→ 直译:「a A」{{literal translation|a|b}}
→ 直译:「a」或「b」{{literal translation|a|b|c|d}}
→ 直译:「a」或「b」或「c」或「d」
For now, the template takes up to four separate translations (|a|b|c|d
). If each meaning is a single word, using serial commas is another stylistic choice: |a, b, c, d
.
Unlinking (|lk=no
) avoids cluttering the same paragraph or list with repetitive overlinking of "直译:".
Formats the literal translation of a word or phrase per Manual of Style guidelines.
参数 | 描述 | 类型 | 状态 | |
---|---|---|---|---|
Literal meaning | 1 | Gloss for a term | 字符串 | 必需 |
2nd literal meaning | 2 | Another meaning, if any | 字符串 | 可选 |
3rd literal meaning | 3 | Another meaning, if any | 字符串 | 可选 |
4th literal meaning | 4 | Another meaning (last possible), if any | 字符串 | 可选 |
Sortable | sortable | In sortable tables, ignore 'lit.' | 字符串 | 可选 |
Italic | i | If 'yes', the prefix 'lit.' is italicized. The meaning is still not italicized. Italics of either is almost never necessary stylistically. | 字符串 | 可选 |
Link | lk | If 'yes' or 'on', linked to the article on literal translation. If 'no' or 'off', no links or dashed underlines. | 字符串 | 可选 |
重定向
[编辑]Any of the following can be used instead of {{literal translation}}, with the same parameters and results:
参见
[编辑]{{Gloss}}
- similar template but without "lit." lead-in.