The editors' meeting has been canceled for technical reasons.

Template:Lj/doc: Difference between revisions

From NeuroWiki
Jump to navigation Jump to search
m 1 revision imported
No edit summary
Line 1: Line 1:
這個模板是爲了方便以日文样式显示日文。
This template is designed for displaying Japanese text in Japanese style.


{{tl|lang}}日語部分的代碼<code><nowiki>{{lang|ja|}}</nowiki></code>的效果相同,但与后者相比本模板的展开长度更小。並不強制使用本模板。
It has the same effect as the {{tl|lang}} code for the Japanese part: <nowiki>{{lang|ja|}}</nowiki>, but with a smaller expansion length compared to the latter. It is not mandatory to use this template.


== 用法 ==
== Usage ==
<code><nowiki>{{lj|内容}}</nowiki></code>
<nowiki>{{lj|Content}}</nowiki>


=== 特別注意 ===
=== Special Notes ===
*{{color|red|本模板'''不应'''被用于防止普通简繁体转换。如果您仅希望处理繁体字而不是日本汉字,请使用'''<code><nowiki>-{ }-</nowiki></code>'''(详见[[Help:繁简转换]])。}}
* This template should only be used when you want to display Japanese content, and the source code of the content is indeed in Japanese. In theory, whenever the content is in Japanese, this template (or <nowiki>{{lang|ja|}}</nowiki>) should be added. See [[Help:Handling Japanese]], [[Help:Language tags#Usage|Usage of language tags]].
*仅当您想要展示日语内容,且该内容的源代码确实为日语时,才应当使用该模板。理论上只要是日语内容就需要添加该模板(或<code><nowiki>{{lang|ja|}}</nowiki></code>),而不是根据是否发生简繁转换而选择性地添加该模板,参见[[Help:日语的处理]][[Help:语言标签#用途|语言标签的用途]]
* This template should not be used to wrap [[Help:Tables|tables]], paragraphs, or other block-level elements, as this template is an inline element. For block-level elements, use {{tl|Ljd}} instead.
*不应使用本模板包裹[[Help:表格|表格]]、段落和其他块级元素,因为本模板是行内元素。如需作为块级元素,请使用{{tl|Ljd}}
== Example ==
<nowiki>{{lj|初めての恋が終わる時}}</nowiki> → {{lj|初めての恋が終わる時}}


== 範例 ==
== See also ==
<code><nowiki>{{lj|初めての恋が終わる時}}</nowiki></code>→{{lj|初めての恋が終わる時}}


== 參見 ==
<!-- Add category of the template below this line -->
 
<noinclude>[[Category:Template documentation]][[zh:Template:Lj/doc]]</noinclude>
<!-- 本行下加入模板的分類 -->
<noinclude>[[Category:模板文档]]</noinclude>

Revision as of 00:43, 13 January 2025

This template is designed for displaying Japanese text in Japanese style.

It has the same effect as the {{lang}} code for the Japanese part: {{lang|ja|}}, but with a smaller expansion length compared to the latter. It is not mandatory to use this template.

Usage

{{lj|Content}}

Special Notes

  • This template should only be used when you want to display Japanese content, and the source code of the content is indeed in Japanese. In theory, whenever the content is in Japanese, this template (or {{lang|ja|}}) should be added. See Help:Handling Japanese, Usage of language tags.
  • This template should not be used to wrap tables, paragraphs, or other block-level elements, as this template is an inline element. For block-level elements, use {{Ljd}} instead.

Example

{{lj|初めての恋が終わる時}} → 初めての恋が終わる時

See also