Difference between revisions of "Template:LangFallback"

From Kerbal Space Program Wiki
Jump to: navigation, search
(Created page with "<includeonly>[[{{{1}}}{{{force|{{if lang}}}}}{{{3|}}}|{{{2|{{{1}}}}}}]{{#ifeq: {{{force|{{SUBPAGENAME}}}}}|{{PAGENAME}}||<sup>[[{{{1}}}{{{3|}}}|→ en]]</sup>}}</includeonly><...")
 
Line 1: Line 1:
<includeonly>[[{{{1}}}{{{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}}}}}}]]{{#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.
  
 
== Parameters ==
 
== Parameters ==

Revision as of 01:41, 2 March 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

Example

{{LangFallback|Parts|force=ru}}

Parts → en