Extension:TemplateLink

From MediaWiki.org
Jump to: navigation, search
MediaWiki extensions manual - list
Crystal Clear action run.png
TemplateLink

Release status: beta

Implementation Tag
Description Create links to a special page that will transclude a parameterized template.
Author(s) Magnus ManskeTalk
Last version 1.1 (2008-01-11)
MediaWiki tested on 1.11
License No license specified
Download

Check usage (experimental)

Contents

[edit] Example1

<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).

[edit] Example2

<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".

[edit] Security

No known issues.


[edit] Changes to LocalSettings.php

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

Variants
Actions
Navigation
Support
Download
Development
Communication
Print/export
Toolbox