Template:Template link: Difference between revisions
xml>Primefac avoid line breaks for brackets (TPER) |
basic |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
{{ | <includeonly>{{#if:{{{2|}}}|<nowiki>{{</nowiki>[[Template:{{{1|}}}|{{{1|}}}]]<nowiki>|</nowiki>{{{2|}}}<nowiki>}}</nowiki>|<nowiki>{{</nowiki>[[Template:{{{1|}}}|{{{1|}}}]]<nowiki>}}</nowiki>}}</includeonly><noinclude>{{documentation|content={{shortcut|tlink|tl}}Add a link to a template formatted as a template. | ||
{{ | |||
< | == Template data == | ||
<templatedata> | |||
{ | |||
"params": { | |||
"1": { | |||
"label": "Target template", | |||
"required": true | |||
}, | |||
"2": { | |||
"label": "Parameter 1", | |||
"description": "The first parameter of a template. Useful for linking to simple templates." | |||
} | |||
} | |||
} | |||
</templatedata>}} | |||
</noinclude> | </noinclude> |
Latest revision as of 00:01, 10 December 2024
Lua error: Module:TNT:172: '''Missing JsonConfig extension, or not properly configured; Cannot load https://commons.wikimedia.org/wiki/Data:I18n/Documentation.tab. See https://www.mediawiki.org/wiki/Extension:JsonConfig#Supporting_Wikimedia_templates'''.