Template:TemplateDataInfo/i18n: Difference between revisions
Template page
More actions
←Created page with '{{TemplateDataInfo/layout |title=TemplateData |text=TemplateData is a way to store information about template parameters (the description of those and of the wh...' |
m extending |
||
| Line 1: | Line 1: | ||
{{TemplateDataInfo/layout | <languages/> | ||
<onlyinclude>{{TemplateDataInfo/layout | |||
|title=TemplateData | |title=TemplateData | ||
|text=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:VisualEditor|VisualEditor]] and other tools. At Wikimedia Commons, we '''discouraged''' implantation of JSON-Data into Wikitext. Please avoid putting <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>. | |text=<translate>[[<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>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.</translate> <translate>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 pre-processed.</translate> | ||
|lang=en | |help=<translate>Wikipedia's help about TemplateData</translate> | ||
}}< | |helppage=<translate>:en:Wikipedia:VisualEditor/TemplateData/Tutorial</translate> | ||
|lang=<translate>en</translate> | |||
}}</onlyinclude> | |||
{{translated tag|info}} | {{translated tag|info}} | ||