Template:Kbl10n: Difference between revisions
Jump to navigation
Jump to search
New page: <onlyinclude><includeonly>{{#ifeq:{{{mode|}}}|ml|{{multi-lang/kb |en={{{en|}}} |en_title={{{en_title|}}} |de={{{de|}}} |de_title={{{de_title|}}} |fr={{{fr|}}} |ja={{{ja|}}} }}| {{{!}} styl... |
m adding example |
||
| Line 75: | Line 75: | ||
</div> | </div> | ||
The _jire 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. | ||
The _note variables can store additional notes. | The _note variables can store additional notes. | ||
It is not required to add info to all variables. | |||
== Example == | |||
<div style="font-size: 130%; "> | |||
<nowiki>{{</nowiki>kbl10n | |||
|en=5816 | |||
|en_title=Xstreet Merchants and Shoppers FAQs | |||
|en_up=20/1/2009 | |||
|de=5830 | |||
|de_title=Häufig gestellte Fragen von Xstreet-Händlern und Kunden | |||
|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|ml}}} | |||
}} | |||
</div> | |||
Revision as of 14:26, 17 March 2009
This template is supposed to provide a language bar for Knowledge Base translations via Template:Multi-lang/kb, as well as an easy method to document already translated pages.
Usage
Please create subpages with to this template with the name scheme: Template:Kbl10n/ENGLISH_KB_ID.
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-KB-ID
|de_title=GERMAN-KB-TITLE (optional, for hovertext)
|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=
}}
The _jire 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.
Example
{{kbl10n
|en=5816
|en_title=Xstreet Merchants and Shoppers FAQs
|en_up=20/1/2009
|de=5830
|de_title=Häufig gestellte Fragen von Xstreet-Händlern und Kunden
|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=ml
}}