Template:Tlx

From NetHackWiki
Jump to navigation Jump to search

{{[[Template:{{{1}}}|{{{1}}}]]}}

This template can be used to display fancy links to other templates, with optional example parameter(s).

Examples:

  • {{tlx|Welcome}} → {{Welcome}}
  • {{tlx|White|@}} → {{White|@}}

If the template you want to link to takes multiple parameters, use "|" instead of "|" to separate them. If the parameter(s) include equals signs ("="), prefix them with "2=".

Example:

  • {{tlx|Monster|2=name=Grid bug|symbol={{tlx|monsym|grid bug}}}} → {{Monster|name=Grid bug|symbol={{monsym|grid bug}}}}

For compatibility, Template:Tl is a redirect to this template. You may use either name. (A long time ago on Wikipedia, before the introduction of ParserFunctions, {{tlx}} was used for links with and {{tl}} for links without parameters. This is still traditional, but no longer needed, at least not on NetHackWiki.)