Difference between revisions of "Template:Kbl10n"

From Second Life Wiki
Jump to navigation Jump to search
m
(Old Knowledge Base)
 
(5 intermediate revisions by one other user not shown)
Line 1: Line 1:
<onlyinclude><includeonly>{{Kbl10n/{{#if:{{{mode|}}}|{{{mode|}}}|ml}}
<onlyinclude><includeonly>{{Kbl10n/{{#if:{{{mode|}}}|{{{mode|}}}|ml}}
|en={{{en|}}}
|en={{{en|}}}
|en_parature={{{en_parature|}}}
|blog={{{blog|}}}
|en_title={{{en_title|}}}
|en_title={{{en_title|}}}
|en_note={{{en_note|}}}
|en_note={{{en_note|}}}
Line 21: Line 23:
}}</includeonly></onlyinclude>
}}</includeonly></onlyinclude>


This template is supposed to provide a language bar for [[Knowledge Base]] translations via [[Template:Kbl10n/ml]], as well as an easy method to document already translated pages via [[Template:Kbl10n/table]].
This template is supposed to provide a language bar for [[Old Knowledge Base]] translations via [[Template:Kbl10n/ml]], as well as an easy method to document already translated pages via [[Template:Kbl10n/table]].


== Setup ==
== Setup ==
Line 37: Line 39:
  |en_note=
  |en_note=
  |en_up=
  |en_up=
  |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)
  |de_jira=
  |de_jira=
  |de_note=
  |de_note=
Line 54: Line 55:
</div>
</div>


The _jire variables can store the related [[Issue Tracker|Jira]] issue ID.
The _jira variables can store the related [[Issue Tracker|Jira]] issue ID.


The _up variables can store the date when the last update of the article occured.
The _up variables can store the date when the last update of the article occured.
Line 71: Line 72:
  |en_title=Xstreet Merchants and Shoppers FAQs
  |en_title=Xstreet Merchants and Shoppers FAQs
  |en_up=20/1/2009
  |en_up=20/1/2009
  |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
  |de_jira=CT-146
  |de_jira=CT-146
  |de_up=23/1/2009
  |de_up=23/1/2009
Line 87: Line 87:
The subtemplates of this template can be included with <code><nowiki>{{kbl10n/KB-ID}}</nowiki></code> to add the language bar to the connected KB article. E.g. <nowiki>{{</nowiki>[[Template:Kbl10n/5816|kbl10n/5816]]}} to [[FAQ Vendeurs Acheteurs Xstreet (KB)]] and [[Xstreetで商品を販売購入するためのFAQ (KB)]].
The subtemplates of this template can be included with <code><nowiki>{{kbl10n/KB-ID}}</nowiki></code> to add the language bar to the connected KB article. E.g. <nowiki>{{</nowiki>[[Template:Kbl10n/5816|kbl10n/5816]]}} to [[FAQ Vendeurs Acheteurs Xstreet (KB)]] and [[Xstreetで商品を販売購入するためのFAQ (KB)]].


This will create a language bar looking like this:
This will create a box in the sidebar, containing language links. Using mode=legacyml will result in a languagebar like this:


{{kbl10n/5816}}
{{kbl10n/5816|mode=legacyml}}





Latest revision as of 04:46, 28 July 2012


This template is supposed to provide a language bar for Old Knowledge Base translations via Template:Kbl10n/ml, as well as an easy method to document already translated pages via Template:Kbl10n/table.

Setup

Please create subpages of this template with the name scheme: Template:Kbl10n/ENGLISH_KB_ID for each new localized KB article.

E.g.: Template:Kbl10n/5816

Syntax:

{{kbl10n
|en=ENGLISH-KB-ID
|en_title=ENGLISH-KB-TITLE (optional, for hovertext)
|en_note=
|en_up=
|de=GERMAN-WIKI-LINK
|de_jira=
|de_note=
|de_up=
|fr=FRENCH-WIKI-LINK
|fr_jira=
|fr_note=
|fr_up=
|ja=JAPANESE WIKI LINK
|ja_jira=
|ja_note=
|ja_up=
|mode={{{mode|view}}}
}}

The _jira variables can store the related Jira issue ID.

The _up variables can store the date when the last update of the article occured.

The _note variables can store additional notes.

It is not required to add info to all variables.

Please don't touch the |mode={{{mode|view}}} variable.

Example

{{kbl10n
|en=5816
|en_title=Xstreet Merchants and Shoppers FAQs
|en_up=20/1/2009
|de=Häufig gestellte Fragen von Xstreet-Händlern und Kunden (KB)
|de_jira=CT-146
|de_up=23/1/2009
|fr=FAQ Vendeurs Acheteurs Xstreet (KB)
|fr_jira=CT-159
|ja=Xstreetで商品を販売購入するためのFAQ (KB)
|ja_jira=CT-160
|mode={{{mode|view}}}
}}

Inclusion

The subtemplates of this template can be included with {{kbl10n/KB-ID}} to add the language bar to the connected KB article. E.g. {{kbl10n/5816}} to FAQ Vendeurs Acheteurs Xstreet (KB) and Xstreetで商品を販売購入するためのFAQ (KB).

This will create a box in the sidebar, containing language links. Using mode=legacyml will result in a languagebar like this: