Template:Kbl10n/legacyml: Difference between revisions
Jump to navigation
Jump to search
removing temporary variables. should have done this quite some time ago |
customization option for weird UTF-8 titles |
||
| Line 11: | Line 11: | ||
| {{#replace:{{#urlencode:{{{fr|}}}}}|%27|+}} = {{kbl10n/ml/fr|blog={{{blog|}}}}} | | {{#replace:{{#urlencode:{{{fr|}}}}}|%27|+}} = {{kbl10n/ml/fr|blog={{{blog|}}}}} | ||
| {{#replace:{{#urlencode:{{{ja|}}}}}|%27|+}} = {{kbl10n/ml/ja|blog={{{blog|}}}}} | | {{#replace:{{#urlencode:{{{ja|}}}}}|%27|+}} = {{kbl10n/ml/ja|blog={{{blog|}}}}} | ||
| {{kbl10n/ml/en}}}}</span></td> | | {{kbl10n/ml{{#if:{{#var:lang}}|{{#var:lang}}|/en}}}}}}</span></td> | ||
</tr></table></includeonly></onlyinclude>This template is supposed to be used, to connect translations of the [[Knowledge Base]]. It is now part of [[Template:Kbl10n]] but can also be used as a stand-alone template. | </tr></table></includeonly></onlyinclude>This template is supposed to be used, to connect translations of the [[Knowledge Base]]. It is now part of [[Template:Kbl10n]] but can also be used as a stand-alone template. | ||
Revision as of 05:58, 12 October 2009
This template is supposed to be used, to connect translations of the Knowledge Base. It is now part of Template:Kbl10n but can also be used as a stand-alone template.
Usage:
{{kbl10n/ml
|en=ENGLISH-KB-ID
|en_title=ENGLISH-KB-TITLE (optional, for hovertext)
|de=GERMAN-WIKI-LINK
|fr=FRENCH-WIKI-LINK
|ja=JAPANESE WIKI LINK
}}
For example, translations of the article Xstreet Merchants and Shoppers FAQs could be marked with this setup:
{{kbl10n/ml
|en=5816
|en_title=Xstreet Merchants and Shoppers FAQs
|de=Häufig gestellte Fragen von Xstreet-Händlern und Kunden (KB)
|fr=FAQ Vendeurs Acheteurs Xstreet (KB)
|ja=Xstreetで商品を販売購入するためのFAQ (KB)
}}
It would result in:
Please use this template all on top of an article. Even above Template:Help.