Extension:TemplateLink

From MediaWiki.org
Jump to navigation Jump to search
MediaWiki extensions manual
Crystal Clear action run.svg
TemplateLink
Release status: unmaintained
Implementation Tag
Description Create links to a special page that will transclude a parameterized template.
Author(s) Magnus Mansketalk
Latest version 1.1 (2008-01-11)
MediaWiki tested on 1.11
License No license specified
Download Template:WikimediaDownload/svn
Translate the TemplateLink extension if it is available at translatewiki.net
Check usage and version matrix.

Example1[edit]

<templatelink>test|param1=value1|param2=value2</templatelink>

links to a new page transcluding {{test|param1=value1|param2=value2}}. The link will be labeled "Test" (the template name).

Example2[edit]

<templatelink>
test|param1=value1|param2=value2
Click on this!
</templatelink>

does the same as Example1, but the link will be labeled "Click on this!" instead of "Test".

Security[edit]

No known issues.


Changes to LocalSettings.php[edit]

require_once( "$IP/extensions/TemplateLink/TemplateLink.setup.php" );