Difference between revisions of "Template:Gamelink"

From Minetest Wiki
Jump to navigation Jump to search
m
Line 1: Line 1:
[[{{BASEPAGENAME}}/{{{1}}}|{{ #if: {{{2|}}} | {{{2}}} | {{{1}}} }}]]
+
[[{{BASEPAGENAME}}/{{{1}}}|{{#if:{{{2|}}}|{{{2}}}|{{{1}}}}}]]
 
<noinclude>
 
<noinclude>
 
== Usage ==
 
== Usage ==

Revision as of 11:51, 12 August 2014

[[Gamelink/{{{1}}}|{{{1}}}]]

Usage

It takes either 1 or 2 parameters.

  • 1: The page to link to within the same game or mod.
  • 2: An alternative text to display in the text.
{{Gamelink|Steel Ingot}}
{{Gamelink|Steel Ingot|Steel Ingots}}

Limitations

It is not capable of linking remaining charakters in the link like Steel Ingots. Use the 2nd parameter instead.