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

Template page
Created page with 'Diskussion'
Replace language interwiki prefix in helppage with :w: form
 
(4 intermediate revisions by one other user not shown)
Line 2: Line 2:


<onlyinclude>{{TemplateDataInfo/layout
<onlyinclude>{{TemplateDataInfo/layout
|title=TemplateData
|title=<span lang="en" dir="ltr" class="mw-content-ltr">TemplateData</span>
|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]].
|text=<span lang="en" dir="ltr" class="mw-content-ltr">[[: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.</span> <span lang="en" dir="ltr" class="mw-content-ltr">It is used by [[:mw:Special:MyLanguage/:VisualEditor|VisualEditor]] and possibly other tools like [[Special:MyLanguage/Commons:Upload Wizard|Upload Wizard]].</span>
----
----
<u>Existing template documentation</u><br/>
<u><span lang="en" dir="ltr" class="mw-content-ltr">Existing template documentation</span></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 arguments, if required, to avoid templates being expanded.<br/>
<div lang="en" dir="ltr" class="mw-content-ltr">
At Wikimedia Commons, it is recommended to use {{tl|TemplateBox}} with either <code><nowiki>&lrm;useTemplateData=1</nowiki></code> or <code><nowiki>&lrm;useTemplateData=only</nowiki></code> on the <code><nowiki>&lrm;/doc</nowiki></code> subpage and transcluding it with {{tl|Documentation}} into the template. {{tag|nowiki|o}}-tags can be wrapped around the arguments, if required, to avoid templates being expanded.
</div>


<u>Newly created template documentation and imports</u><br/>
<u><span lang="en" dir="ltr" class="mw-content-ltr">Newly created template documentation and imports</span></u><br/>
Another option, especially for imported templates, or for users with JSON experience, is placing raw <nowiki><templatedata></nowiki>-tags into the Wikitext of the template, as described in various Wikipediae.
<div lang="en" dir="ltr" class="mw-content-ltr">
 
Another option, especially for imported templates, or for users with JSON experience, is placing raw {{tag|templatedata|o}}-tags into the Wikitext of the template, as described in various Wikipediae.
<u>Diskussion</u><br/>
</div>
[[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=<span lang="en" dir="ltr" class="mw-content-ltr">Wikipedia's help about TemplateData</span>
|help=Wikipedia's help about TemplateData
|helppage=:w:Wikipedia:VisualEditor/TemplateData/Tutorial
|helppage=:en:Wikipedia:VisualEditor/TemplateData/Tutorial
|info=<span lang="en" dir="ltr" class="mw-content-ltr">Commons-specific information</span>
|info=Commons-specific information
|lang=da
|lang=da
}}</onlyinclude>
}}</onlyinclude>


{{translated tag|header}}
{{translated tag|header}}
Cookies help us deliver our services. By using our services, you agree to our use of cookies.