Template:J: Difference between revisions

m
Text replacement - "<noinclude> ==Info==" to "<noinclude> ==Info=="
No edit summary
m (Text replacement - "<noinclude> ==Info==" to "<noinclude> ==Info==")
 
(11 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{{1}}} (''{{{2}}}''{{#if:{{{3|}}}|, lit.: "{{{3}}}"}})<noinclude>
{{tt|{{{1}}}|{{{2}}}}}<sup style="font-size: 70%">[[Pikipedia:Japanese|?]]</sup>{{#if:{{{3|}}}|{{#ifeq:{{{f|}}}|tp| &nbsp;( | ,&nbsp; }}lit.: "{{{3}}}"{{#ifeq:{{{f|}}}|tp|)}}}}<noinclude>
 
==Info==
==Info==
To be used when a Japanese name or term needs to be presented.
To be used when a [[Pikipedia:Japanese|Japanese]] name or term needs to be presented.


*'''1''': The Japanese text, in Kanji or Kana.
==Parameters==
*'''2''': The romanization.
{| class = "wikitable"
*3: The literal translation.
! 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|examples]] section below.
* '''tp''': Translation in Parenthesis: the translation is surrounded in parenthesis.
|}
 
==Skeleton==
<pre>
{{j|<japanese>|<romanization>|<translation>}}
</pre>


==Examples==
==Examples==
{| class = "wikitable"
{| class = "wikitable"
! Code
! Code || Result
! Result
|-
|-
| <code><nowiki>{{j|アルフ|Arufu}}</nowiki></code>
| <pre>{{j|アルフ|Arufu}}</pre>
| {{j|アルフ|Arufu}}
| {{j|アルフ|Arufu}}
|-
|-
| <code><nowiki>{{j|ダマグモキャノン|Dama Gumo Kyanon|Cannon Ball Spider}}</nowiki></code>
| <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:Templates]]
[[Category:Inline templates]]</noinclude>
</noinclude>