Difference between revisions of "Template:Kbl10n/legacyml"

From Second Life Wiki
Jump to navigation Jump to search
(setting global "in progress" hint box for german KB articles until final link fix and QA is done.)
(Old Knowledge Base)
 
(12 intermediate revisions by one other user not shown)
Line 1: Line 1:
<onlyinclude><includeonly><div class="LanguageLinks" style="margin: 1em 0;">
<onlyinclude><includeonly>{{#if:{{{en_parature|}}}|{{#ifexist:{{{en|}}}||[[Category:Articles where stuff went wrong]]}}}}<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;">
<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">
<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;">
<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;'''{{#ifeq:{{{de_temp|}}}|*|[[{{{de|}}}|Deutsch]]|<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|}}}|日本語]]'''}}
{{#if:{{{en_parature|}}}|[[{{{en|}}}|English]]|{{#if:{{{en|}}}|'''<span class="plainlinks">[{{#ifeq:{{{blog|}}}|*|{{{en|}}}|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;'''[[{{{de|}}}|Deutsch]]'''}}{{#if:{{{fr|}}}|&nbsp;•&nbsp;'''[[{{{fr|}}}|Français]]'''}}{{#if:{{{ja|}}}|&nbsp;•&nbsp;'''[[{{{ja|}}}|日本語]]'''}}
</td></tr>
</td></tr>
<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: {{#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{{#if:{{#var:lang}}|{{#var:lang}}|/en}}}}}}</span></td>
</tr></table>{{#ifeq:{{#replace:{{#urlencode:{{PAGENAME}}}}|%26%2339%3B|+}}|{{#replace:{{#urlencode:{{{de|}}}}}|%27|+}}|{{hint
</tr></table></includeonly></onlyinclude>This template is supposed to be used, to connect translations of the [[Old Knowledge Base]]. It is now part of [[Template:Kbl10n]] but can also be used as a stand-alone template.
|mode=important
|desc=These articles are currently a work in progress. Please visit the [https://support.secondlife.com/ics/support/default.asp?deptID=4802 Parature Knowledge Base] until this one is finished.<br>
Diese Artikel werden gerade überarbeitet. Bitte besuchen sie so lange die [https://support.secondlife.com/ics/support/default.asp?deptID=4802 Parature Knowledge Base].}}|}}</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.


Usage:
Usage:
Line 23: Line 20:
  |en=<font color="blue">ENGLISH-KB-ID</font>
  |en=<font color="blue">ENGLISH-KB-ID</font>
  |en_title=<font color="blue">ENGLISH-KB-TITLE</font> (optional, for hovertext)
  |en_title=<font color="blue">ENGLISH-KB-TITLE</font> (optional, for hovertext)
  |de=<font color="blue">GERMAN-KB-ID</font>
  |de=<font color="blue">GERMAN-WIKI-LINK</font>
|de_title=<font color="blue">GERMAN-KB-TITLE</font> (optional, for hovertext)
  |fr=<font color="blue">FRENCH-WIKI-LINK</font>
  |fr=<font color="blue">FRENCH-WIKI-LINK</font>
  |ja=<font color="blue">JAPANESE WIKI LINK</font>
  |ja=<font color="blue">JAPANESE WIKI LINK</font>
Line 36: Line 32:
  |en=<font color="blue">5816</font>
  |en=<font color="blue">5816</font>
  |en_title=<font color="blue">Xstreet Merchants and Shoppers FAQs</font>
  |en_title=<font color="blue">Xstreet Merchants and Shoppers FAQs</font>
  |de=<font color="blue">5830</font>
  |de=<font color="blue">Häufig gestellte Fragen von Xstreet-Händlern und Kunden (KB)</font>
|de_title=<font color="blue">Häufig gestellte Fragen von Xstreet-Händlern und Kunden</font>
  |fr=<font color="blue">FAQ Vendeurs Acheteurs Xstreet (KB)</font>
  |fr=<font color="blue">FAQ_Vendeurs_Acheteurs_Xstreet_(KB)</font>
  |ja=<font color="blue">Xstreetで商品を販売購入するためのFAQ (KB)</font>
  |ja=<font color="blue">Xstreetで商品を販売購入するためのFAQ_(KB)</font>
  }}
  }}
</div>
</div>
Line 45: Line 40:
It would result in:
It would result in:


{{multi-lang/kb
{{kbl10n/ml
|en=5816
|en=5816
|en_title=Xstreet Merchants and Shoppers FAQs
|en_title=Xstreet Merchants and Shoppers FAQs
|de=5830
|de=Häufig gestellte Fragen von Xstreet-Händlern und Kunden (KB)
|de_title=Häufig gestellte Fragen von Xstreet-Händlern und Kunden
|fr=FAQ Vendeurs Acheteurs Xstreet (KB)
|fr=FAQ_Vendeurs_Acheteurs_Xstreet_(KB)
|ja=Xstreetで商品を販売購入するためのFAQ (KB)
|ja=Xstreetで商品を販売購入するためのFAQ_(KB)
}}
}}




Please use this template all on top of an article. Even above [[Template:Help]].
Please use this template all on top of an article. Even above [[Template:Help]].

Latest revision as of 03:45, 28 July 2012

This template is supposed to be used, to connect translations of the Old 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.