Difference between revisions of "Template:LangFallback"

From Kerbal Space Program Wiki
Jump to: navigation, search
(!don't show →en if not in any language;)
Line 1: Line 1:
<includeonly>[[{{{1}}}{{#if: {{{force|}}}|/{{{force}}}|{{if lang}}}}{{{3|}}}|{{{2|{{{1}}}}}}]]{{#ifeq: {{{force|{{SUBPAGENAME}}}}}|{{PAGENAME}}||<sup>[[{{{1}}}{{{3|}}}|→ en]]</sup>}}</includeonly><noinclude>Creates a link with a link to the English version, if it isn't already in the English version.
+
<includeonly>[[{{{1}}}{{#if: {{{force|}}}|/{{{force}}}|{{if lang}}}}{{{3|}}}|{{{2|{{{1}}}}}}]]{{#if: {{{force|{{if lang}}}}}|<sup>[[{{{1}}}{{{3|}}}|→ en]]</sup>}}</includeonly><noinclude>Creates a link with a link to the English version, if it isn't already in the English version.
  
 
== Parameters ==
 
== Parameters ==

Revision as of 16:54, 8 June 2013

Creates a link with a link to the English version, if it isn't already in the English version.

Parameters

Template:ParameterRowTemplate:ParameterRowTemplate:ParameterRowTemplate:ParameterRow
Name Optional Description

Examples

{{LangFallback|Parts|force=ru}}

Parts → en

{{LangFallback|Parts}}

Parts