Xiayu讨论 | 贡献2020年7月7日 (二) 20:12的版本 (导入1个版本)
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)

模板:Lang-x/doc

来自中文乐谱库

Lua错误:无法创建进程:proc_open(/dev/null): failed to open stream: Operation not permitted[[Category:模板:SUBJECTSPACE ZH说明文件]] Lua错误:无法创建进程:proc_open(/dev/null): failed to open stream: Operation not permitted Lua错误:无法创建进程:proc_open(/dev/null): failed to open stream: Operation not permitted Lua错误:无法创建进程:proc_open(/dev/null): failed to open stream: Operation not permitted

用法

Lua错误:无法创建进程:proc_open(/dev/null): failed to open stream: Operation not permitted 模板{{lang-x}}向读者表明一个名词或短语在[[Lua错误:无法创建进程:proc_open(/dev/null): failed to open stream: Operation not permitted]]的原文形式。名词或短语是唯一的必要参数。文本依据Wikipedia:格式手冊/文字格式的建议进行格式化。

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

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

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

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

参数

{{#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|link=yes}})
  • 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 (Lua错误:无法创建进程:proc_open(/dev/null): failed to open stream: Operation not permitted).
  • The Seafarers of Catan (Lua错误:无法创建进程:proc_open(/dev/null): failed to open stream: Operation not permitted) is an expansion of the board game The Settlers of Catan.
  • Albert the Bear (Lua错误:无法创建进程:proc_open(/dev/null): failed to open stream: Operation not permitted)
  • All Quiet on the Western Front (Lua错误:无法创建进程:proc_open(/dev/null): failed to open stream: Operation not permitted) is a novel by Erich Maria Remarque.


模板数据

这是用于新版-{zh-cn:可视化编辑器;zh-tw:視覺化編輯器;}-及其他工具的-{zh-cn:模板数据;zh-tw:模板資料}--{zh-cn:文档;zh-tw:文件;}-。

Lang-x-{zh-cn:模板数据;zh-tw:模板資料}-

<templatedata> { "params": { "1": { "label": "文本", "description": "要显示的外文", "type": "string", "required": true }, "links": { "label": "显示链接", "description": "设置为no可关闭条目语言的链接", "type": "boolean" }, "lit": { "label": "直译", "description": "外文的字面翻译" }, "translit": { "label": "转译", "description": "对于不使用拉丁字母的语言的外文转译,使用拉丁字母的语言则忽略此字段", "type": "string" } }, "description": "向读者表明外语中名词或短语的原文形式。" } </templatedata>

参见

  • {{Lang}}
  • {{Language with name/for}}
  • {{Language icon}}
  • {{[[Template:Lua错误:无法创建进程:proc_open(/dev/null): failed to open stream: Operation not permittedicon|Lua错误:无法创建进程:proc_open(/dev/null): failed to open stream: Operation not permittedicon]]}}