Hi fellow wiki editors!

To help newly registered users get more familiar with the wiki (and maybe older users too) there is now a {{Welcome to the wiki}} template. Have a look at it and feel free to add it to new users discussion pages (and perhaps your own).

I have tried to keep the template short, but meaningful. /Johan G


Jump to: navigation, search


527 bytes added, 14:06, 12 December 2013
Usage when translating templates
{{#if: {{{lang|}}} | {{{ {{{lang}}} }}} | {{#if: {{{ {{lc: {{#titleparts: {{PAGENAME}} | 1}} }}| }}} | {{{ {{lc: {{#titleparts: {{PAGENAME}} | 1}} }} }}} | {{{en|}}} }} }}<noinclude>
{{Informative template|1=
== Goal ==
This template will show texts in different languages depending on the language of the page it is placed on.
The language the text will be shown in depends on the two letter language code between the page namespace and the page title, for example [[Talk:De/HB Radio-NAV|Talk:'''De'''/HB Radio-NAV]]. If a parameter with a text is not available in the language of the page or is empty, the English text will be shown instead provided it is available.
== Usage ==
=== Translating templates ===
The template is mainly used for translating templates.
Do note that many templates are based on tables and have to start from the beginning of the line, which is accomplished like in the below example, and that inserting blank lines will alter the way the template is rendered.
| en = <!-- English -->
{{ Template with English contents }}
| de = <!-- German -->
{{ Template with German contents }}
| fr = <!-- French -->
{{ Template with French contents }}
=== Using the lang parameter ===

Navigation menu