Template:Kbl10n/legacyml: Difference between revisions
Jump to navigation
Jump to search
patchwork for blog translations |
mNo edit summary |
||
| Line 8: | Line 8: | ||
<td colspan="2" align="center" style="border-top: 1px solid #aaaaaa;"> | <td colspan="2" align="center" style="border-top: 1px solid #aaaaaa;"> | ||
{{#switch: {{#replace:{{#urlencode:{{PAGENAME}}}}|%26%2339%3B|+}} | {{#switch: {{#replace:{{#urlencode:{{PAGENAME}}}}|%26%2339%3B|+}} | ||
| {{#replace:{{#urlencode:{{{de|}}}}}|%27|+}} = {{kbl10n/ml/de}} | | {{#replace:{{#urlencode:{{{de|}}}}}|%27|+}} = {{kbl10n/ml/de|blog={{{blog|}}}}} | ||
| {{#replace:{{#urlencode:{{{fr|}}}}}|%27|+}} = {{kbl10n/ml/fr}} | | {{#replace:{{#urlencode:{{{fr|}}}}}|%27|+}} = {{kbl10n/ml/fr|blog={{{blog|}}}}} | ||
| {{#replace:{{#urlencode:{{{ja|}}}}}|%27|+}} = {{kbl10n/ml/ja}} | | {{#replace:{{#urlencode:{{{ja|}}}}}|%27|+}} = {{kbl10n/ml/ja|blog={{{blog|}}}}} | ||
| {{kbl10n/ml/en}}}}</span></td> | | {{kbl10n/ml/en}}}}</span></td> | ||
</tr></table>{{#ifeq:{{#replace:{{#urlencode:{{PAGENAME}}}}|%26%2339%3B|+}}|{{#replace:{{#urlencode:{{{de|}}}}}|%27|+}}{{{de_nobox|}}}|{{hint | </tr></table>{{#ifeq:{{#replace:{{#urlencode:{{PAGENAME}}}}|%26%2339%3B|+}}|{{#replace:{{#urlencode:{{{de|}}}}}|%27|+}}{{{de_nobox|}}}|{{hint | ||
Revision as of 06:33, 27 May 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.