打开主菜单

求真百科

模板:Lang-id

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

用法

设定
code id
italic unset
style: inherit

模板{{lang-id}}向读者表明一个名词或短语在印尼语的原文形式。名词或短语是唯一的必要参数。文本依据求真百科:格式手册/文字格式的建议进行格式化。

模板通常应放置在外文名词或短语的中文翻译后。

参数|links=no可防止链接语言名称。

参数|translit=给出转译,使用拉丁字母表示原文。此处列出了具有此参数的模板。对于原本使用拉丁文字的语言,lang-x模板不支持此参数。

参数|lit=给出中文直译,可能适用于{{lang-id}}

参数

{{#lst:Template:Lang-x/doc/parameters|lang_xx_parameters}}

示例

以下示例展示了德语的翻译。

编辑

  • Weimar is located in the federal state of Thuringia ({{lang-de|Thüringen}}).
  • The Seafarers of Catan ({{lang-de|Die Seefahrer von Catan}}) is an expansion of the board game The Settlers of Catan.
  • Albert the Bear ({{lang-de|Albrecht der Bär|links=no}})
  • All Quiet on the Western Front ({{lang-de|Im Westen nichts Neues|lit=In the West Nothing New}}) is a novel by Erich Maria Remarque.

结果

  • Weimar is located in the federal state of Thuringia (德语:Thüringen).
  • The Seafarers of Catan (德语:Die Seefahrer von Catan) is an expansion of the board game The Settlers of Catan.
  • Albert the Bear (德语:Albrecht der Bär)
  • All Quiet on the Western Front (德语:Im Westen nichts Neues直译 In the West Nothing New) is a novel by Erich Maria Remarque.


模板数据

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly error report for this template.

TemplateData for Lang-id

向读者表明外语中名词或短语的原文形式。

模板参数

参数说明类型状态
文本1

要显示的外文

默认值
例子
自动值
字符串必填
显示链接links

设置为no可关闭条目语言的链接

默认值
例子
自动值
布尔值可选
直译lit

外文的字面翻译

默认值
例子
自动值
未知可选
转译translit

对于不使用拉丁字母的语言的外文转译,使用拉丁字母的语言则忽略此字段

默认值
例子
自动值
字符串可选

参见