Difference between revisions of "Template:Gamelink"

From Minetest Wiki
Jump to navigation Jump to search
Line 1: Line 1:
 
<includeonly>[[{{BASEPAGENAME}}/{{{1}}}|{{#if: {{{2|}}} | {{{2}}} | {{{1}}} }}]]</includeonly>
 
<includeonly>[[{{BASEPAGENAME}}/{{{1}}}|{{#if: {{{2|}}} | {{{2}}} | {{{1}}} }}]]</includeonly>
 +
<noinclude>
 +
== Usage ==
 +
This template takes either 1 or 2 parameters.
 +
* 1: The page to link to '''within''' the same game or mod.
 +
* 2: An alternative text to display as the URL.
 +
<pre>
 +
{{Gamelink|Steel Ingot}}
 +
{{Gamelink|Steel Ingot|Steel Ingots}}
 +
</pre>
 +
</noinclude>

Revision as of 19:12, 14 August 2014


Usage

This template takes either 1 or 2 parameters.

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