Template:J: Difference between revisions
Jump to navigation
Jump to search
(It's probably better to have it close to the actual Japanese characters.) |
(Added an alternate format.) |
||
Line 1: | Line 1: | ||
{{tt|{{{1}}}|{{{2}}}}}<sup style="font-size: 70%">[[Pikipedia:Japanese|?]]</sup>{{#if:{{{3|}}}|, lit.: "{{{3}}}"}}<noinclude> | {{tt|{{{1}}}|{{{2}}}}}<sup style="font-size: 70%">[[Pikipedia:Japanese|?]]</sup>{{#if:{{{3|}}}|{{#ifeq:{{{f|}}}|tp| ( | , }}lit.: "{{{3}}}"{{#ifeq:{{{f|}}}|tp|)}}}}<noinclude> | ||
==Info== | ==Info== | ||
To be used when a [[Pikipedia:Japanese|Japanese]] name or term needs to be presented. | To be used when a [[Pikipedia:Japanese|Japanese]] name or term needs to be presented. | ||
Line 15: | Line 15: | ||
! 3 | ! 3 | ||
| No || || Translation || Literal translation. | | No || || Translation || Literal translation. | ||
|- | |||
! f | |||
| No || || Format | |||
| The format to present the text on. The following values are valid, and you can learn more about how they look in the [[#Examples|examples]] section below. | |||
* '''tp''': Translation in Parenthesis: the translation is surrounded in parenthesis. | |||
|} | |} | ||
Line 31: | Line 36: | ||
| <pre>{{j|ダマグモキャノン|Dama Gumo Kyanon|Cannon Ball Spider}}</pre> | | <pre>{{j|ダマグモキャノン|Dama Gumo Kyanon|Cannon Ball Spider}}</pre> | ||
| {{j|ダマグモキャノン|Dama Gumo Kyanon|Cannon Ball Spider}} | | {{j|ダマグモキャノン|Dama Gumo Kyanon|Cannon Ball Spider}} | ||
|- | |||
| <pre>{{j|さいみんクッキー|Sai Min Kukkī|Hypnotic Cookie|f=tp}}</pre> | |||
| {{j|さいみんクッキー|Sai Min Kukkī|Hypnotic Cookie|f=tp}} | |||
|} | |} | ||
[[Category:Inline templates]] | [[Category:Inline templates]] | ||
</noinclude> | </noinclude> |
Revision as of 10:21, January 23, 2015
{{{1}}}?
Info
To be used when a Japanese name or term needs to be presented.
Parameters
Parameter | Mandatory | Default | Purpose | Detailed description |
---|---|---|---|---|
1 | Yes | Kanji/Kana | The original Japanese text, in Kanji or Kana. | |
2 | Yes | Romanization | The romanized text. | |
3 | No | Translation | Literal translation. | |
f | No | Format | The format to present the text on. The following values are valid, and you can learn more about how they look in the examples section below.
|
Template
{{j|<japanese>|<romanization>|<translation>}}
Examples
Code | Result |
---|---|
{{j|アルフ|Arufu}} |
アルフ? |
{{j|ダマグモキャノン|Dama Gumo Kyanon|Cannon Ball Spider}} |
ダマグモキャノン?, lit.: "Cannon Ball Spider" |
{{j|さいみんクッキー|Sai Min Kukkī|Hypnotic Cookie|f=tp}} |
さいみんクッキー? (lit.: "Hypnotic Cookie") |