Template:Kbl10n/legacyml: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
fixing |
||
| Line 7: | Line 7: | ||
<tr valign="top" style="background: #EEF3E2; font-size:smaller; color:#546368;"> | <tr valign="top" style="background: #EEF3E2; font-size:smaller; color:#546368;"> | ||
<td colspan="2" align="center" style="border-top: 1px solid #aaaaaa;"> | <td colspan="2" align="center" style="border-top: 1px solid #aaaaaa;"> | ||
{{#switch: {{PAGENAME}} | {{#switch: {{#replace:{{#urlencode:{{PAGENAME}}}}|%26%2339%3B|+}} | ||
| {{{fr|}}} = {{kbl10n/ml/fr}} | | {{#replace:{{#urlencode:{{{fr|}}}}}|%27|+}} = {{kbl10n/ml/fr}} | ||
| {{{ja|}}} = {{kbl10n/ml/ja}} | | {{#replace:{{#urlencode:{{{ja|}}}}}|%27|+}} = {{kbl10n/ml/ja}} | ||
| {{kbl10n/ml/en}}}}</span></td> | | {{kbl10n/ml/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 08:53, 4 April 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-KB-ID
|de_title=GERMAN-KB-TITLE (optional, for hovertext)
|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=5830
|de_title=Häufig gestellte Fragen von Xstreet-Händlern und Kunden
|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.