Template:TemplateDataInfo/i18n/en: Difference between revisions
Template page
More actions
Importing a new version from external source |
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 other tools. At Wikimedia Commons, we '''discouraged''' implantation of JSON-Data into Wikitext. Please avoid putting raw <nowiki><templatedata></nowiki>-tags into the wikitext. Instead, use {{tl|TemplateBox}} with <code><nowiki>useTemplateData=1</nowiki></code> or <code><nowiki>useTemplateData=only</nowiki></code>. <code><nowiki><nowiki></nowiki></code>-tags can be wrapped around the the arguments, if required, to avoid templates being expanded. | |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 [[<tvar|page2>:mw:Special:MyLanguage/:VisualEditor</>|VisualEditor]] and other tools. At Wikimedia Commons, we '''discouraged''' implantation of JSON-Data into Wikitext. Please avoid putting raw <tvar|tag><nowiki><templatedata></nowiki></>-tags into the wikitext. Instead, use <tvar|tag2>{{tl|TemplateBox}}</> with <tvar|param1><code><nowiki>useTemplateData=1</nowiki></code></> or <tvar|param2><code><nowiki>useTemplateData=only</nowiki></code></>. <tvar|tag3><code><nowiki><nowiki></nowiki></code></>-tags can be wrapped around the the arguments, if required, to avoid templates being expanded. | ||
|help=Wikipedia's help about TemplateData | |help=Wikipedia's help about TemplateData | ||
|helppage=:en:Wikipedia:VisualEditor/TemplateData/Tutorial | |helppage=:en:Wikipedia:VisualEditor/TemplateData/Tutorial | ||
Revision as of 17:02, 16 August 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 other tools. At Wikimedia Commons, we discouraged implantation of JSON-Data into Wikitext. Please avoid putting raw <templatedata>-tags into the wikitext. Instead, use {{TemplateBox}} with useTemplateData=1 or useTemplateData=only. <nowiki>-tags can be wrapped around the the arguments, if required, to avoid templates being expanded.
NOTE: Please do not use this template directly! This is just for translation. Use {{TemplateDataInfo}} instead.