Template:TemplateDataInfo/i18n: Difference between revisions
Template page
More actions
m factual inaccuracy |
m copyedit |
||
| Line 5: | Line 5: | ||
|text=<translate><!--T:1--> | |text=<translate><!--T:1--> | ||
[[<tvar|page>: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.</translate> <translate><!--T:2--> | [[<tvar|page>: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.</translate> <translate><!--T:2--> | ||
It is used by [[<tvar|page2>:mw:Special:MyLanguage/:VisualEditor</>|VisualEditor]] and other tools. At Wikimedia Commons, we '''discouraged''' implantation of JSON-Data into | It is used by [[<tvar|page2>:mw:Special:MyLanguage/:VisualEditor</>|VisualEditor]] and other tools. At Wikimedia Commons, we '''discouraged''' implantation of JSON-Data into Wiki-markup.</translate> <translate><!--T:3--> | ||
Please avoid putting raw <tvar|tag><nowiki><templatedata></nowiki></>-tags into the | 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.</translate> | ||
|help=<translate><!--T:4--> | |help=<translate><!--T:4--> | ||
Wikipedia's help about TemplateData</translate> | Wikipedia's help about TemplateData</translate> | ||
Revision as of 17:01, 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 Wiki-markup. 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.