Difference between revisions of "Template:LangFallback"

From Kerbal Space Program Wiki
Jump to: navigation, search
(!don't show →en if not in any language;)
m (* use non-breaking spaces to avoid separation.)
Line 1: Line 1:
<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.
+
<includeonly>[[{{{1}}}{{#if: {{{force|}}}|/{{{force}}}|{{if lang}}}}{{{3|}}}|{{{2|{{{1}}}}}}]]&nbsp;{{#if: {{{force|{{if lang}}}}}|<sup>[[{{{1}}}{{{3|}}}|→&nbsp;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 14:52, 30 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