User:Badg0n/Template:Link: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
<includeonly>[[
<includeonly>[[{{If mod prefix|Mods/{{What mod}}/}}{{{1}}}{{#if: {{{lang|}}}|{{#ifeq: {{{lang}}}|none||/{{{lang}}}}}|{{If language suffix}}}}|{{#if: {{{2|}}}|{{{2}}}|{{#ifeq: {{{lang}}}|none|{{{1}}}|{{#switch:{{#if: {{{lang|}}}|{{#ifeq: {{{lang}}}|none||{{{lang}}}}}|{{Language suffix}}}}
{{If mod prefix | Mods/{{What mod}}/ }}
{{{1}}}
{{#if: {{{lang|}}}|
  {{#ifeq: {{{lang}}}|none|
      |
      /{{{lang}}}
  }}
  |
  {{If language suffix}}
}}
|
{{#if: {{{2|}}}|
  {{{2}}}|
  {{#ifeq: {{{lang}}}|none|
      {{{1}}}|
      {{#switch:{{#if: {{{lang|}}}|{{#ifeq: {{{lang}}}|none||{{{lang}}}}}|{{Language suffix}}}}
| cs = {{Translation/cs|{{{1}}}{{#if: {{{plural|}}}|{{#ifeq: {{Translation/cs|{{{1}}}_2}}|{{{1}}}_2||_2}}}}}}
| cs = {{Translation/cs|{{{1}}}{{#if: {{{plural|}}}|{{#ifeq: {{Translation/cs|{{{1}}}_2}}|{{{1}}}_2||_2}}}}}}
| de = {{Translation/de|{{{1}}}{{#if: {{{plural|}}}|{{#ifeq: {{Translation/de|{{{1}}}_2}}|{{{1}}}_2||_2}}}}}}
| de = {{Translation/de|{{{1}}}{{#if: {{{plural|}}}|{{#ifeq: {{Translation/de|{{{1}}}_2}}|{{{1}}}_2||_2}}}}}}
Line 29: Line 13:
| zh = {{Translation/zh|{{{1}}}{{#if: {{{plural|}}}|{{#ifeq: {{Translation/zh|{{{1}}}_2}}|{{{1}}}_2||_2}}}}}}
| zh = {{Translation/zh|{{{1}}}{{#if: {{{plural|}}}|{{#ifeq: {{Translation/zh|{{{1}}}_2}}|{{{1}}}_2||_2}}}}}}
| #default = {{{1}}}
| #default = {{{1}}}
      }}
}}}}}}]]</includeonly><noinclude>
  }}
}}
 
 
]]</includeonly><noinclude>
{{Template shortcut|L}}
{{Template shortcut|L}}
</noinclude>
</noinclude>

Revision as of 15:51, 10 May 2016