Template:Translation/zh-hans: Difference between revisions
m (necessary entries) |
m (Automated {{Languages}} removal.) |
||
(16 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
{{Documentation}} | |||
{{Documentation | |||
[[Category:Language templates]] | [[Category:Language templates]] | ||
</noinclude> | </noinclude> | ||
<includeonly> | <includeonly> | ||
{{#switch:{{{1|}}} | {{#switch:{{{1|}}} | ||
<!-- | <!-- Others --> | ||
| Language = 语言 | | Language = 语言 | ||
| Langauge (local) = | | Langauge (local) = 中文(简体) | ||
| Page name = 页面名 | | Page name = 页面名 | ||
| Read more = 更多 | | Read more = 更多 | ||
<!-- Header --> | |||
| Navigation = 导航 | |||
| Page updated = 页面更新于 | |||
| Main index = 主菜单 | |||
| Unknown Version = 未知版本 | |||
<!-- | <!-- Month --> | ||
| January = 一月 | | January = 一月 | ||
| February = 二月 | | February = 二月 | ||
Line 26: | Line 30: | ||
| December = 十二月 | | December = 十二月 | ||
<!-- | <!-- Infobox Content --> | ||
| General = 通用 | | General = 通用 | ||
| Category = 类别 | | Category = 类别 | ||
Line 51: | Line 55: | ||
| Technical = 灵巧 | | Technical = 灵巧 | ||
| Base ID|Item ID = 物品ID | | Base ID|Item ID = 物品ID | ||
<!-- Medical --> | |||
| Adhesive Bandages = 创可贴 | |||
| Bandage = 绷带 | |||
| Sterilized Bandage = 绷带(消毒) | |||
| Dirty Bandage = 绷带(肮脏) | |||
| Denim Strips = 牛仔布条 | |||
| Dirty Denim Strips = 牛仔布条(肮脏) | |||
| Leather Strips = 皮革条 | |||
| Dirty Leather Strips =皮革条(肮脏) | |||
| Ripped Sheets = 碎布条 | |||
| Sterilized Rag = 碎布条(消毒) | |||
| Dirty Rag = 碎布条(肮脏) | |||
| Splint = 夹板 | |||
| Alcohol Wipes = 酒精湿巾 | |||
| Bottle of Disinfectant = 消毒剂 | |||
| Cotton Balls Doused in Alcohol = 酒精棉球 | |||
| Bourbon = 波本威士忌 | |||
| Black Sage = 黑鼠尾草 | |||
| Comfrey = 聚合草 | |||
| Common Mallow = 棉葵 | |||
| Ginseng = 人参 | |||
| Lemon Grass = 柠檬草 | |||
| Plantain = 车前草 | |||
| Wild Garlic = 野蒜 | |||
| Comfrey Poultice = 聚合草药膏 | |||
| Plantain Poultice = 车前草药膏 | |||
| Wild Garlic Poultice = 野蒜药膏 | |||
| Cold Pack = 冰袋 | |||
| Cotton Balls = 棉球 | |||
| Mortar and Pestle = 研钵和研杵 | |||
| Suture Needle = 缝合针 | |||
| Suture Needle Holder = 持针钳 | |||
| Tissue = 纸巾 | |||
| Tweezers = 镊子 | |||
| Antibiotics = 抗生素 | |||
| Antidepressants = 抗抑郁药 | |||
| Beta Blockers = β-阻断剂 | |||
| Cigarettes = 香烟 | |||
| Painkillers = 止痛药 | |||
| Sleeping Tablets = 安眠药 | |||
| Vitamins = 维生素 | |||
<!-- Clothing --> | |||
| Tank Top = 汗背心 | |||
| Bandeau = 抹胸 | |||
| Crop Top = 无袖露脐衫 | |||
| Crop Top Arms = 露脐衫 | |||
| Blue Fireman T-shirt = 消防员T恤(深蓝) | |||
| Red Fireman T-shirt = 消防员T恤(红) | |||
| Dark Red Fireman T-shirt = 消防员T恤(深红) | |||
| White Fireman T-shirt = 消防员T恤(白) | |||
| Long Sleeve T-shirt = 长袖T恤 | |||
| Medical T-shirt = 医用T恤 | |||
| Military Desert Camo T-shirt = 军用沙漠迷彩T恤 | |||
| Military Green Camo T-shirt = 军用森林迷彩T恤 | |||
| Military T-shirt = 军用T恤 | |||
| Military Urban Camo T-shirt = 军用城市迷彩T恤 | |||
| Police Deputy T-shirt = 警察T恤(灰) | |||
| Blue Police T-shirt = 警察制服T恤(蓝) | |||
| White Police T-shirt = 警察制服T恤(白) | |||
| Police Trooper T-shirt = 警察T恤(蓝) | |||
| Ranger T-shirt = 护林员T恤 | |||
| Brown Ranger T-shirt = 护林员T恤(棕) | |||
| Green Ranger T-shirt = 护林员T恤(绿) | |||
| Small Bandeau = 小抹胸 | |||
| Spiffo T-shirt = 斯皮福T恤 | |||
| Sport T-shirt = 运动T恤 | |||
| Fossoil T-shirt = 福斯石油T恤 | |||
| Gas 2 Go T-shirt = 途行油站T恤 | |||
| Thunder Gas T-shirt = 雷霆燃油T恤 | |||
| Rock T-shirt = 摇滚T恤 | |||
| McCoy's T-shirt = 麦考伊T恤 | |||
| Pile o' Crepe T-shirt = 可丽家T恤 | |||
| Pizza Whirled T-shirt = 回转披萨T恤 | |||
| Valley Station T-shirt = 山谷站T恤 | |||
| Striped T-shirt = 条纹T恤 | |||
| T-shirt = T恤 | |||
| Spiffo T-shirt = 斯皮福T恤 | |||
| TIS T-shirt = 开发商T恤 | |||
| Green Veteran T-shirt = 老兵T恤(绿) | |||
| Red Veteran T-shirt = 老兵T恤(红) | |||
| #default = {{{1}}} | | #default = {{{1}}} | ||
}} | }} | ||
</includeonly> | </includeonly> |
Latest revision as of 15:01, 3 March 2024
{{Translation}}
模板用于维护项目名称和常用词的英语和非英语的等效列表,以及用于其他模板中并自动翻译页面元素。每个语言的子页面都是一个可编辑的数据库,其中包含英语单词和非英语的等效词。
使用数据库有助于在游戏更新时内容发生变化时统一轻松修改相同的翻译单词,因此最好在数据库中添加一个单词并使用适当的模板而不是直接翻译单词。
数据库格式
所有条目以 | 单词 | 英文词 = 翻译词
的形式储存,每一条都有对应的翻译(比如单词的不同大小写)。
可以储存像 <!-- 这是注释 -->
的HTML格式的注释用以帮助分类和查找某些单词。这些单词可能出现在任何地方,但是可以翻译用以帮助其他翻译人员找到合适的词。
用法
当需要应用到一个页面时,需要根据情况使用以下三个模板之一。使用错误的模板可能导致wiki完成额外的工作,甚至可能阻止页面正常显示。
{{Translation}}
应该在不需要链接且只需要翻译单词的情况下使用。此模板将在列表中搜索第一个参数中的单词,然后根据语言代码(对应子页面)显示该单词而不是英语单词。{{T}}
应该在需要链接的情况下使用,它将自动从{{Translation}}
列表中获取对应的翻译词。{{Subpage}}
应该用于只需要英文单词和语言代码的链接(例如图片链接)的情况。
示例
{{Translation|Language}}
- 显示效果:
语言
(如果被翻译的单词在数据库中将会显示。)
如何添加条目
开始尝试
- 确保您在正确的页面上————模板页面而不是文档子页面(如果在错误的页面上,这将会是一个链接)。
- 点击最顶部的“编辑”按钮,而不是“模板文档”旁的按钮,或点击这里编辑当前页面。
进行编辑
- 进入编辑界面后,您将会看到像
| Language = 语言
的条目列表。 - 检查是否有需要添加的单词,例如
<!-- 其它 -->
,或者添加一个新单词。 - 按以下格式添加您的单词(每个条目应该是以
|
分隔的单独一行):| Language = 语言
参见
Documentation transcluded from Template:Translation/zh-hans/doc.
Editors can experiment in this template's sandbox (create)
Editors can experiment in this template's sandbox (create)