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

Template page
No edit summary
Replace language interwiki prefix in helppage with :w: form
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{TemplateDataInfo/layout
{{TemplateDataInfo/layout
|title=<translate><!--T:13--> TemplateData</translate>
|title=<translate><!--T:1--> TemplateData</translate>
|text=<translate><!--T:1--> [[<tvar name=page>:mw:Special:MyLanguage/Extension:TemplateData</tvar>|TemplateData]] is a way of storing information about a template, such as parameter names, or a description of the template.</translate> <translate><!--T:2--> It is used by [[<tvar name=page2>:mw:Special:MyLanguage/:VisualEditor</tvar>|VisualEditor]] and possibly other tools like [[<tvar name=page3>Special:MyLanguage/Commons:Upload Wizard</tvar>|Upload Wizard]].</translate>
|text=<translate><!--T:2--> [[<tvar name=page>:mw:Special:MyLanguage/Extension:TemplateData</tvar>|TemplateData]] is a way of storing information about a template, such as parameter names, or a description of the template.</translate> <translate><!--T:3--> It is used by [[<tvar name=page2>:mw:Special:MyLanguage/:VisualEditor</tvar>|VisualEditor]] and possibly other tools like [[<tvar name=page3>Special:MyLanguage/Commons:Upload Wizard</tvar>|Upload Wizard]].</translate>
----
----
<u><translate><!--T:9--> Existing template documentation</translate></u><br/>
<u><translate><!--T:4--> Existing template documentation</translate></u><br/>
<translate><!--T:8-->
<translate>
<!--T:5-->
At Wikimedia Commons, it is recommended to use <tvar name=tag2>{{tl|TemplateBox}}</tvar> with either <tvar name=param1><code><nowiki>&lrm;useTemplateData=1</nowiki></code></tvar> or <tvar name=param2><code><nowiki>&lrm;useTemplateData=only</nowiki></code></tvar> on the <tvar name=relPage><code><nowiki>&lrm;/doc</nowiki></code></tvar> subpage and transcluding it with <tvar name=template>{{tl|Documentation}}</tvar> into the template. <tvar name=tag3>{{tag|nowiki|o}}</tvar>-tags can be wrapped around the arguments, if required, to avoid templates being expanded.</translate>
At Wikimedia Commons, it is recommended to use <tvar name=tag2>{{tl|TemplateBox}}</tvar> with either <tvar name=param1><code><nowiki>&lrm;useTemplateData=1</nowiki></code></tvar> or <tvar name=param2><code><nowiki>&lrm;useTemplateData=only</nowiki></code></tvar> on the <tvar name=relPage><code><nowiki>&lrm;/doc</nowiki></code></tvar> subpage and transcluding it with <tvar name=template>{{tl|Documentation}}</tvar> into the template. <tvar name=tag3>{{tag|nowiki|o}}</tvar>-tags can be wrapped around the arguments, if required, to avoid templates being expanded.</translate>


<u><translate><!--T:10--> Newly created template documentation and imports</translate></u><br/>
<u><translate><!--T:6--> Newly created template documentation and imports</translate></u><br/>
<translate><!--T:3-->
<translate>
<!--T:7-->
Another option, especially for imported templates, or for users with JSON experience, is placing raw <tvar name=tag>{{tag|templatedata|o}}</tvar>-tags into the Wikitext of the template, as described in various Wikipediae.</translate>
Another option, especially for imported templates, or for users with JSON experience, is placing raw <tvar name=tag>{{tag|templatedata|o}}</tvar>-tags into the Wikitext of the template, as described in various Wikipediae.</translate>


<u><translate><!--T:11--> Discussion</translate></u><br/>
<u><translate><!--T:8--> Discussion</translate></u><br/>
[[Commons:Requests for comment/How Commons should deal with TemplateData|<translate><!--T:12--> 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.</translate>]]
[[Commons:Requests for comment/How Commons should deal with TemplateData|<translate><!--T:9--> 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.</translate>]]
|help=<translate><!--T:4--> Wikipedia's help about TemplateData</translate>
|help=<translate><!--T:10--> Wikipedia's help about TemplateData</translate>
|helppage=<translate nowrap><!--T:5--> :en:Wikipedia:VisualEditor/TemplateData/Tutorial</translate>
|helppage=<translate nowrap><!--T:11--> :w:Wikipedia:VisualEditor/TemplateData/Tutorial</translate>
|info=<translate><!--T:7--> Commons-specific information</translate>
|info=<translate><!--T:12--> Commons-specific information</translate>
|lang={{#invoke:Caller title|lang|base=Template:TemplateDataInfo/i18n}}
|lang={{#invoke:Caller title|lang|base=Template:TemplateDataInfo/i18n}}
}}
}}
Cookies help us deliver our services. By using our services, you agree to our use of cookies.