Jump to content
Toggle menu
  • 8 articles
  • 75 files
  • 7 users
  • 37.8K edits
Neodyland Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:TemplateDataInfo/i18n/ja: Difference between revisions

Template page
Created page with 'テンプレートデータ'
Replace language interwiki prefix in helppage with :w: form
 
(5 intermediate revisions by 2 users not shown)
Line 3: Line 3:
<onlyinclude>{{TemplateDataInfo/layout
<onlyinclude>{{TemplateDataInfo/layout
|title=テンプレートデータ
|title=テンプレートデータ
|text=<span lang="en" dir="ltr" class="mw-content-ltr">[[:mw:Special:MyLanguage/Extension:TemplateData|TemplateData]] is a way to store information about template parameters (the description of those and of the whole template) for both humans and machines.</span> <span lang="en" dir="ltr" class="mw-content-ltr">It is used by [[:mw:Special:MyLanguage/:VisualEditor|VisualEditor]] and possibly other tools like [[Special:MyLanguage/Commons:Upload Wizard|Upload Wizard]].</span>
|text=[[:mw:Special:MyLanguage/Extension:TemplateData|テンプレートデータ]]は、人間と機械の両方のテンプレートパラメータ(それらの説明とテンプレート全体の説明)に関する情報を保存する方法です。 [[:mw:Special:MyLanguage/:VisualEditor|ビジュアルエディター]]や、[[Special:MyLanguage/Commons:Upload Wizard|アップロードウィザード]]などの他のツールで使用されます。
----
----
<u><span lang="en" dir="ltr" class="mw-content-ltr">Existing template documentation</span></u><br/>
<u>既存のテンプレートドキュメント</u><br/>
<div lang="en" dir="ltr" class="mw-content-ltr">
<div lang="en" dir="ltr" class="mw-content-ltr">
At Wikimedia Commons, it is recommended to use {{tl|TemplateBox}} with either <code><nowiki>&lrm;useTemplateData=1</nowiki></code> or <code><nowiki>&lrm;useTemplateData=only</nowiki></code> on the <code><nowiki>&lrm;/doc</nowiki></code> subpage and transcluding it with {{tl|Documentation}} into the template. {{tag|nowiki|o}}-tags can be wrapped around the arguments, if required, to avoid templates being expanded.
At Wikimedia Commons, it is recommended to use {{tl|TemplateBox}} with either <code><nowiki>&lrm;useTemplateData=1</nowiki></code> or <code><nowiki>&lrm;useTemplateData=only</nowiki></code> on the <code><nowiki>&lrm;/doc</nowiki></code> subpage and transcluding it with {{tl|Documentation}} into the template. {{tag|nowiki|o}}-tags can be wrapped around the arguments, if required, to avoid templates being expanded.
Line 14: Line 14:
Another option, especially for imported templates, or for users with JSON experience, is placing raw {{tag|templatedata|o}}-tags into the Wikitext of the template, as described in various Wikipediae.
Another option, especially for imported templates, or for users with JSON experience, is placing raw {{tag|templatedata|o}}-tags into the Wikitext of the template, as described in various Wikipediae.
</div>
</div>
<u>議論</u><br/>
[[Commons:Requests for comment/How Commons should deal with TemplateData|<span lang="en" dir="ltr" class="mw-content-ltr">There is an ongoing discussion about that matter. Feel invited to comment if you are experienced in either way, your time permits and if you like to share your opinion or to make a suggestion.</span>]]
|help=<span lang="en" dir="ltr" class="mw-content-ltr">Wikipedia's help about TemplateData</span>
|help=<span lang="en" dir="ltr" class="mw-content-ltr">Wikipedia's help about TemplateData</span>
|helppage=:en:Wikipedia:VisualEditor/TemplateData/Tutorial
|helppage=:w:Wikipedia:VisualEditor/TemplateData/Tutorial
|info=<span lang="en" dir="ltr" class="mw-content-ltr">Commons-specific information</span>
|info=<span lang="en" dir="ltr" class="mw-content-ltr">Commons-specific information</span>
|lang={{#invoke:Caller title|lang|base=Template:TemplateDataInfo/i18n}}
|lang=ja
}}</onlyinclude>
}}</onlyinclude>


{{translated tag|header}}
{{translated tag|header}}

Latest revision as of 18:30, 11 August 2026


<templatedata>JSON</templatedata> ./. {{TemplateBox}}
テンプレートデータ

テンプレートデータは、人間と機械の両方のテンプレートパラメータ(それらの説明とテンプレート全体の説明)に関する情報を保存する方法です。 ビジュアルエディターや、アップロードウィザードなどの他のツールで使用されます。


既存のテンプレートドキュメント

At Wikimedia Commons, it is recommended to use {{TemplateBox}} with either ‎useTemplateData=1 or ‎useTemplateData=only on the ‎/doc subpage and transcluding it with {{Documentation}} into the template. ‎<nowiki>-tags can be wrapped around the arguments, if required, to avoid templates being expanded.

Newly created template documentation and imports

Another option, especially for imported templates, or for users with JSON experience, is placing raw ‎<templatedata>-tags into the Wikitext of the template, as described in various Wikipediae.


Wikipedia's help about TemplateDataCommons-specific information

NOTE: Please do not use this template directly! This is just for translation. Use {{TemplateDataInfo}} instead.
Cookies help us deliver our services. By using our services, you agree to our use of cookies.