Difference between revisions of "Template:Gamelink"

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

Revision as of 11:49, 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.