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/bn: Difference between revisions

Template page
Updating to match new version of source page
Updating to match new version of source page
Line 3: Line 3:
<onlyinclude>{{TemplateDataInfo/layout
<onlyinclude>{{TemplateDataInfo/layout
|title=TemplateData
|title=TemplateData
|text=[[: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. It is used by [[:mw:Special:MyLanguage/:VisualEditor|VisualEditor]] and possibly other tools like [[Special:MyLanguage/Commons:Upload Wizard|Upload Wizard]]. At Wikimedia Commons, there is the '''recommendation''' to either use {{tl|TemplateBox}} with <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. <code><nowiki><nowiki></nowiki></code>-tags can be wrapped around the the arguments, if required, to avoid templates being expanded. Another option, especially for imported templates, or for users with JSON experience, is placing raw <nowiki><templatedata></nowiki>-tags into the Wikitext or the template.
|text=[[: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. It is used by [[:mw:Special:MyLanguage/:VisualEditor|VisualEditor]] and possibly other tools like [[Special:MyLanguage/Commons:Upload Wizard|Upload Wizard]].
----
----
<u>Existing template documentation</u><br/>
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. <code><nowiki><nowiki></nowiki></code>-tags can be wrapped around the the arguments, if required, to avoid templates being expanded.<br/>
<u>Newly created template documentation and imports</u><br/>
Another option, especially for imported templates, or for users with JSON experience, is placing raw <nowiki><templatedata></nowiki>-tags into the Wikitext or the template as described in various Wikipediae.
<u>Discussion</u><br/>
[[Commons:Requests for comment/How Commons should deal with TemplateData|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.]]
[[Commons:Requests for comment/How Commons should deal with TemplateData|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.]]
|help=টেমপ্লেটডেটা সম্পর্কে উইকিপিডিয়ার সাহায্য
|help=টেমপ্লেটডেটা সম্পর্কে উইকিপিডিয়ার সাহায্য
Line 12: Line 19:
}}</onlyinclude>
}}</onlyinclude>


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

Revision as of 22:17, 21 November 2013


<templatedata>JSON</templatedata> ./. {{TemplateBox}}
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. It is used by VisualEditor and possibly other tools like Upload Wizard.


Existing template documentation
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 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 or the template as described in various Wikipediae.

Discussion
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.


টেমপ্লেটডেটা সম্পর্কে উইকিপিডিয়ার সাহায্যCommons-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.