Template:TemplateDataInfo/i18n/ja: Difference between revisions
More actions
←Created page with 'ビジュアルエディターや、アップロードウィザードなどの他のツールで使用されます。' |
←Created page with '既存のテンプレートドキュメント' |
||
| Line 5: | Line 5: | ||
|text=[[:mw:Special:MyLanguage/Extension:TemplateData|テンプレートデータ]]は、人間と機械の両方のテンプレートパラメータ(それらの説明とテンプレート全体の説明)に関する情報を保存する方法です。 [[:mw:Special:MyLanguage/:VisualEditor|ビジュアルエディター]]や、[[Special:MyLanguage/Commons:Upload Wizard|アップロードウィザード]]などの他のツールで使用されます。 | |text=[[:mw:Special:MyLanguage/Extension:TemplateData|テンプレートデータ]]は、人間と機械の両方のテンプレートパラメータ(それらの説明とテンプレート全体の説明)に関する情報を保存する方法です。 [[:mw:Special:MyLanguage/:VisualEditor|ビジュアルエディター]]や、[[Special:MyLanguage/Commons:Upload Wizard|アップロードウィザード]]などの他のツールで使用されます。 | ||
---- | ---- | ||
<u> | <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>‎useTemplateData=1</nowiki></code> or <code><nowiki>‎useTemplateData=only</nowiki></code> on the <code><nowiki>‎/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>‎useTemplateData=1</nowiki></code> or <code><nowiki>‎useTemplateData=only</nowiki></code> on the <code><nowiki>‎/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. | ||
Revision as of 09:05, 20 February 2022
- テンプレートデータ
テンプレートデータは、人間と機械の両方のテンプレートパラメータ(それらの説明とテンプレート全体の説明)に関する情報を保存する方法です。 ビジュアルエディターや、アップロードウィザードなどの他のツールで使用されます。
既存のテンプレートドキュメント
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 TemplateData • Commons-specific information