Difference between revisions of "Template:Kbl10n/legacyml"

From Second Life Wiki
Jump to navigation Jump to search
m (design fix vs. code mess)
m
Line 1: Line 1:
<onlyinclude><includeonly><div class="LanguageLinks" style="margin: 1em 0;"><table width="100%" style="clear: both; border: 1px solid #aaaaaa; border-collapse: collapse; padding: 0.2em; margin: 0; font-size: 85%; margin: 0 1px;"><tr valign="top" style="background: #EEF3E2"><td style="width: 10px; white-space: nowrap; padding: 4px 1em 0 0.5em; border-right: 1px solid #aaaaaa;">'''[[Community Translation Project]]:'''&nbsp;</td><td style="padding: 1px 1em 0; background: #F6F9ED;">{{#if:{{{en|}}}|'''<span class="plainlinks">[http://support.secondlife.com/ics/support/default.asp?deptID=4417&task=knowledge&questionID={{{en|}}} {{#if:{{{en_title|}}}|<span title="{{{en_title|}}}">English</span>|English}}]</span>'''}}{{#if:{{{de|}}}|&nbsp;•&nbsp;'''<span class="plainlinks">[https://support.secondlife.com/ics/support/default.asp?deptID=4802&task=knowledge&questionID={{{de|}}} {{#if:{{{de_title|}}}|<span title="{{{de_title|}}}">Deutsch</span>|Deutsch}}]</span>'''}}{{#if:{{{fr|}}}|&nbsp;•&nbsp;'''[[{{{fr|}}}|Français]]'''}}{{#if:{{{ja|}}}|&nbsp;•&nbsp;'''[[{{{ja|}}}|日本語]]'''}}</td></tr></table></includeonly></onlyinclude>This template is supposed to be used, to connect translations of the [[Knowledge Base]]. Usage:
<onlyinclude><includeonly><div class="LanguageLinks" style="margin: 1em 0;"><table width="100%" style="clear: both; border: 1px solid #aaaaaa; border-collapse: collapse; padding: 0.2em; margin: 0; font-size: 85%; margin: 0 1px;">
<tr valign="top" style="background: #EEF3E2">
<td style="width: 10px; white-space: nowrap; padding: 4px 1em 0 0.5em; border-right: 1px solid #aaaaaa;">'''[[Community Translation Project]]:'''&nbsp;</td><td style="padding: 1px 1em 0; background: #F6F9ED;">{{#if:{{{en|}}}|'''<span class="plainlinks">[http://support.secondlife.com/ics/support/default.asp?deptID=4417&task=knowledge&questionID={{{en|}}} {{#if:{{{en_title|}}}|<span title="{{{en_title|}}}">English</span>|English}}]</span>'''}}{{#if:{{{de|}}}|&nbsp;•&nbsp;'''<span class="plainlinks">[https://support.secondlife.com/ics/support/default.asp?deptID=4802&task=knowledge&questionID={{{de|}}} {{#if:{{{de_title|}}}|<span title="{{{de_title|}}}">Deutsch</span>|Deutsch}}]</span>'''}}{{#if:{{{fr|}}}|&nbsp;•&nbsp;'''[[{{{fr|}}}|Français]]'''}}{{#if:{{{ja|}}}|&nbsp;•&nbsp;'''[[{{{ja|}}}|日本語]]'''}}</td></tr></table></includeonly></onlyinclude>This template is supposed to be used, to connect translations of the [[Knowledge Base]]. Usage:


<div style="font-size: 130%; ">  
<div style="font-size: 130%; ">  

Revision as of 16:49, 17 March 2009

This template is supposed to be used, to connect translations of the Knowledge Base. Usage:

{{multi-lang/kb
|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:

{{multi-lang/kb
|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.