CJK Box Template

   
%<template><if cn><if cn2>

Chinese 1: {{{cn}}}
Chinese 2: {{{cn2}}}
<else> Chinese: {{{cn}}}
</if></if><if cn3> Chinese 3: {{{cn3}}}
</if><if ja><if ja2> Japanese 1: {{{ja}}}
Japanese 2: {{{ja2}}}
<else> Japanese: {{{ja}}}
</if></if><if ja3> Japanese 3: {{{ja3}}}
</if><if kr><if kr2> Korean 1: {{{kr}}}
Korean 2: {{{kr2}}}
<else> Korean: {{{kr}}}
</if></if><if kr3> Korean 3: {{{kr3}}}
</if>

%</template>

Table of contents

Purpose

This template allows you to easily put a CJK Box (Chinese, Japanese, Korean translation box) on pages. Pages that use this template will show up at CJK Translations.


Basic Usage

Basic usage is when there is only a single translation for a term

Chinese: Chinese Translation
Japanese: Japanese Translation
Korean: Korean Translation

{{CJK Box
|cn=Chinese Translation
|ja=Japanese Translation
|kr=Korean Translation
}}

results in the box to the right:

If you do not know the translation in a certain language, please use a single dash (-) instead. Doing that will cause the page to show up on the CJK Translation Missing page, and allows other editors to provide the translation.


Advanced Usage

When a term has multiple translations, you can use the additional cn2, cn3, ja2, ja3, and kr2, kr3 parameters, like this:

Chinese 1: Chinese Translation
Chinese 2: Alternate Chinese Translation
Chinese 3: Yet another Chinese Translation
Japanese 1: Japanese Translation
Japanese 2: Japanese alternative
Korean 1: Korean Translation
Korean 2: Korean Translation 2

{{CJK Box
|cn=Chinese Translation
|cn2=Alternate Chinese Translation
|cn3=Yet another Chinese Translation
|ja=Japanese Translation
|ja2=Japanese alternative
|kr=Korean Translation
|kr2=Korean Translation 2
}}
results in the box to the right:

Example: Atari

Chinese 1: 打吃 (da3 chi1)
Chinese 2: 叫吃 (jiao4 chi1)
Japanese 1: 当たり (atari)
Japanese 2: 当て (ate)
Korean: 단수 (tansu)

{{CJK Box
|ja=当たり (atari)
|ja2=当て (ate)
|cn=打吃 (da3 chi1)
|cn2=叫吃 (jiao4 chi1)
|kr=단수 (tansu)
}}


This is a copy of the living page "CJK Box Template" at Sensei's Library.
(OC) 2008 the Authors, published under the OpenContent License V1.0.
[Welcome to Sensei's Library!]
StartingPoints
ReferenceSection
About