Template:Translation/zh-hant: Difference between revisions

From PZwiki
No edit summary
m (Automated {{Languages}} removal.)
 
(10 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{#switch:{{{1|}}}
<noinclude>{{Documentation}}[[Category:Language templates]]</noinclude><includeonly>{{#switch:{{{1|}}}


<!-- Months -->
<!-- Months -->
Line 233: Line 233:
| Orange Soda = 橘子汽水
| Orange Soda = 橘子汽水
| Pop = 汽水
| Pop = 汽水
| Red Wine = 紅酒
| White Wine = 白酒
| Beer = 啤酒
| Bacon = 培根
| Bacon = 培根
| Bacon Bits = 培根丁
| Bacon Bits = 培根丁
Line 242: Line 239:
| Baloney Slices = 波洛尼亞香腸片
| Baloney Slices = 波洛尼亞香腸片
| Beef Jerky = 牛肉乾
| Beef Jerky = 牛肉乾
| Small Animal Meat | Rodent Meat = 小动物肉
| Small Bird Meat = 小鸟肉
| Chicken = 雞
| Chicken = 雞
| Chicken Foot = 雞腳
| Chicken Foot = 雞腳
| Dehydrated Meat Stick = 脫水乾肉條
| Dehydrated Meat Stick = 脫水乾肉條
| Ham = 火腿
| Ham Slices = 火腿切片
| Cabbage = 高麗菜
| Corn = 玉米罐頭
| Avocado = 酪梨
| Bell Pepper = 甜椒
| Broccoli = 花椰菜
| Yogurt = 優格
| Eggplant = 茄子
| Leek = 韭菜
| Jalapeno = 墨西哥辣椒


<!-- 烹飪 -->
<!-- 烹飪 -->
Line 267: Line 277:
| Cooking Pot = 煮鍋
| Cooking Pot = 煮鍋
| Saucepan = 湯鍋
| Saucepan = 湯鍋
| WaterBleachBottle = 水瓶
| Bleach Bottle with Water = 水瓶
| Bowl of Water = 碗裝水
| Bowl of Water = 碗裝水
| Bucket of Water = 桶裝水
| Bucket of Water = 桶裝水
Line 330: Line 340:
| Bourbon = 波本威士忌
| Bourbon = 波本威士忌
| Empty Bottle = 空瓶
| Empty Bottle = 空瓶
| Red Wine = 紅酒
| White Wine = 白酒
| Beer = 啤酒


<!-- 特點 -->
<!-- 特點 -->
Line 366: Line 379:
| Razor = 刮鬍刀
| Razor = 刮鬍刀
| Radio = 收音機
| Radio = 收音機
| radio = 收音機
| Tooth brush = 牙刷
| Tooth brush = 牙刷
| Tooth paste = 牙膏
| Tooth paste = 牙膏
Line 422: Line 436:
| Composter = 堆肥箱
| Composter = 堆肥箱
| Stashes = 藏匿處
| Stashes = 藏匿處
| generator = 發電機
| Generator = 發電機


<!-- 時間 -->
<!-- 時間 -->
Line 451: Line 467:
| Carbohydrates = 碳水化合物
| Carbohydrates = 碳水化合物
| Proteins = 蛋白質
| Proteins = 蛋白質
| Protein = 蛋白質
| Sandbox = 沙盒
| Sandbox = 沙盒
| Multiplayer = 多人遊戲
| Multiplayer = 多人遊戲
Line 497: Line 514:
| player = 玩家
| player = 玩家
| moodles = 情緒
| moodles = 情緒
| health = 健康
| health = 健康
| death = 死亡
| death = 死亡
Line 505: Line 521:
| Evolved Recipe = 進化配方
| Evolved Recipe = 進化配方
| Refillable = 可裝填
| Refillable = 可裝填
| clothing = 衣服
| Tiles = 傢俱


| #default = {{{1}}}
| #default = {{{1}}}
}}
}}</includeonly>

Latest revision as of 14:01, 3 March 2024

[view] [edit] [history] [purge] Template documentation
Translation icon.png
This article/section needs to be translated.
Editors are encouraged to translate this page to the best of their ability.

The {{Translation}} template is used to maintain a list of English and the non-English equivalent for item names and common words, for use in templates and to translate elements of pages automatically. Each language subpage is a user-editable database containing English words and the non-English equivalents.

Using the database helps in maintaining the same translations uniformly and easy changes in case something changes in the game update, so adding a word there and using proper template is preferred to translating the words directly.

Database format

The entries are stored in the | English word | english word = Translated word with each pipe being equivalent to translate (for example different casing of the word).

HTML comments in the format of <!-- Comment --> can be stored to aid categorization and finding certain words. These are not included anywhere, but can be translated to help finding proper words for other translators.

Usage

When incorporating to a page, one of the 3 templates should be used, depending on the situation. Using wrong one can lead to extra work being done in wiki, preventing showing certain pages in extreme cases.

  1. {{Translation}} Should be used where a link is not required, and just the translated word is needed. This template will search the list (switch) for the word in the first parameter, then display that instead of the English word, based on the language code (subpage).
  2. {{T}} Should be used where a link is required. It will automatically get the translated word from the list in {{Translation}}.
  3. {{Subpage}} Should be used for links (such as image links) where just the English word and language code are needed.

Examples

{{Translation|Language}}

Produces

語言

(Which will show the translated word, if it's in the database).

How to add entries

Getting started

  1. Make sure you're on the correct page – a template and not the documentation subpage (this will be a link if you're on the wrong page).
  2. Click the Edit button at the very top, not the one next to Template documentation. Or click here to edit current page.

Making the edits

  1. Once in the edit screen, you'll see a list of entries that look like: | Language = 語言
  2. Check to see if there is a category for the word(s) you want to add, such as <!-- Other -->, or add a new one.
  3. Add your word(s) in the following format (each entry should be on a new line separated by a pipe |): | Language = 語言

See also

Documentation transcluded from Template:Translation/zh-hant/doc.
Editors can experiment in this template's sandbox (create)