An older version of {{
Template link with subst and parameters}}
supported only
one example parameter for the specified template, more
parameters had to be separated by |.
This is still necessary for more than three parameters,
but otherwise the direct approach now also works.
Omniplex
19:33, 24 March 2006 (UTC)
Are there any objections to removing the spaces ( ) found just inside the opening and closing brackets? This template's peers {{ Tl}}, {{ Tls}}, and {{ Tlp}} do not have them. × Meegs 22:19, 16 July 2006 (UTC)
{{
editprotected}}
Please move the template's documentation to a seperate
/doc page. (Replace all of the documentation here to the /doc page)
M
C
10 |
Sign here!
04:24, 1 May 2009 (UTC)
{{ editprotected}} I need a fifth parameter for one example. And the protection template should really be on the documentation page (I have added it there). Could you please copy the following text to do these two minor things:
{{[[Wikipedia:Template substitution|subst]]:[[{{ns:Template}}:{{{1|Tlsp}}}|{{{1|Tlsp}}}]]{{#if:{{{2|}}}||{{{2}}}}}{{#if:{{{3|}}}||{{{3}}}}}{{#if:{{{4|}}}||{{{4}}}}}{{#if:{{{5|}}}||{{{5}}}}}{{#if:{{{6|}}}||<i>etc.</i>}}{{#if:{{{subst|}}}||subst={{{subst}}}}}}}<noinclude> {{Documentation}} </noinclude>
—Preceding unsigned comment added by Debresser ( talk • contribs) 13:54, 5 October 2009 (UTC)
Please get consensus before requesting edits. Skomorokh, barbarian 03:16, 6 October 2009 (UTC)
Amalthea has run some tests. There seems to be no problem with the proposed edit. Actually, now that I consider it, why not make that some more parameters. Better have them, just in case. The code would be:
{{[[Wikipedia:Template substitution|subst]]:[[{{ns:Template}}:{{{1|Tlsp}}}|{{{1|Tlsp}}}]]{{#if:{{{2|}}}||{{{2}}}}}{{#if:{{{3|}}}||{{{3}}}}}{{#if:{{{4|}}}||{{{4}}}}}{{#if:{{{5|}}}||{{{5}}}}}{{#if:{{{6|}}}||{{{6}}}}}{{#if:{{{7|}}}||{{{7}}}}}{{#if:{{{8|}}}||{{{8}}}}}{{#if:{{{9|}}}||{{{9}}}}} {{#if:{{{10|}}}||<i>etc.</i>}}{{#if:{{{subst|}}}||subst={{{subst}}}}}}}<noinclude> {{Documentation}} </noinclude>
—Preceding unsigned comment added by Debresser ( talk • contribs) 02:09, 9 October 2009 (UTC)
{{
editprotected}}
Please change the link [[Wikipedia:Template substitution|subst]]
to [[Wikipedia:Substitution|subst]]
, as the link changed. Thanks! Cheers, —
MC10 (
T•
C•
GB•
L)
17:46, 26 July 2010 (UTC)
![]() | This
edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Please change [[Wikipedia:Substitution|subst]]:
to [[Wikipedia:Substitution|subst:]]
. This is basically making the colons part of your delicious breakfest of the link. I would request this also be done to {{
tls}}.
Of course, this isn't really neccesary, I just always prefered subst:
as the text over subst
, since it looks a bit nicer and cleaner to me.
LikeLakers2 (
talk |
Sign my guestbook!)
02:40, 19 October 2011 (UTC)
Primefac, unfortunately,
switch to {{Tlg}}
broke support of <var>...</var>
and {{
var}} in parameters. See
/testcases (at the moment sandbox has the version before {{
tlg}}). I've noticed because instructions at
Speedy CfD broke:
Remember to tag the category with:
{{ subst:Cfr-speedy|New name}}
— andrybak ( talk) 18:59, 17 April 2020 (UTC)
{{ tlg}} uses a nowiki on all of its parametersHowever, {{ =}} seems to be not affected: Special:Permalink/951581404. — andrybak ( talk) 21:10, 17 April 2020 (UTC)
<nowiki>...</nowiki>
pairing. Not sure why it lets through templates but not HTML.
Primefac (
talk)
21:30, 17 April 2020 (UTC)An older version of {{
Template link with subst and parameters}}
supported only
one example parameter for the specified template, more
parameters had to be separated by |.
This is still necessary for more than three parameters,
but otherwise the direct approach now also works.
Omniplex
19:33, 24 March 2006 (UTC)
Are there any objections to removing the spaces ( ) found just inside the opening and closing brackets? This template's peers {{ Tl}}, {{ Tls}}, and {{ Tlp}} do not have them. × Meegs 22:19, 16 July 2006 (UTC)
{{
editprotected}}
Please move the template's documentation to a seperate
/doc page. (Replace all of the documentation here to the /doc page)
M
C
10 |
Sign here!
04:24, 1 May 2009 (UTC)
{{ editprotected}} I need a fifth parameter for one example. And the protection template should really be on the documentation page (I have added it there). Could you please copy the following text to do these two minor things:
{{[[Wikipedia:Template substitution|subst]]:[[{{ns:Template}}:{{{1|Tlsp}}}|{{{1|Tlsp}}}]]{{#if:{{{2|}}}||{{{2}}}}}{{#if:{{{3|}}}||{{{3}}}}}{{#if:{{{4|}}}||{{{4}}}}}{{#if:{{{5|}}}||{{{5}}}}}{{#if:{{{6|}}}||<i>etc.</i>}}{{#if:{{{subst|}}}||subst={{{subst}}}}}}}<noinclude> {{Documentation}} </noinclude>
—Preceding unsigned comment added by Debresser ( talk • contribs) 13:54, 5 October 2009 (UTC)
Please get consensus before requesting edits. Skomorokh, barbarian 03:16, 6 October 2009 (UTC)
Amalthea has run some tests. There seems to be no problem with the proposed edit. Actually, now that I consider it, why not make that some more parameters. Better have them, just in case. The code would be:
{{[[Wikipedia:Template substitution|subst]]:[[{{ns:Template}}:{{{1|Tlsp}}}|{{{1|Tlsp}}}]]{{#if:{{{2|}}}||{{{2}}}}}{{#if:{{{3|}}}||{{{3}}}}}{{#if:{{{4|}}}||{{{4}}}}}{{#if:{{{5|}}}||{{{5}}}}}{{#if:{{{6|}}}||{{{6}}}}}{{#if:{{{7|}}}||{{{7}}}}}{{#if:{{{8|}}}||{{{8}}}}}{{#if:{{{9|}}}||{{{9}}}}} {{#if:{{{10|}}}||<i>etc.</i>}}{{#if:{{{subst|}}}||subst={{{subst}}}}}}}<noinclude> {{Documentation}} </noinclude>
—Preceding unsigned comment added by Debresser ( talk • contribs) 02:09, 9 October 2009 (UTC)
{{
editprotected}}
Please change the link [[Wikipedia:Template substitution|subst]]
to [[Wikipedia:Substitution|subst]]
, as the link changed. Thanks! Cheers, —
MC10 (
T•
C•
GB•
L)
17:46, 26 July 2010 (UTC)
![]() | This
edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Please change [[Wikipedia:Substitution|subst]]:
to [[Wikipedia:Substitution|subst:]]
. This is basically making the colons part of your delicious breakfest of the link. I would request this also be done to {{
tls}}.
Of course, this isn't really neccesary, I just always prefered subst:
as the text over subst
, since it looks a bit nicer and cleaner to me.
LikeLakers2 (
talk |
Sign my guestbook!)
02:40, 19 October 2011 (UTC)
Primefac, unfortunately,
switch to {{Tlg}}
broke support of <var>...</var>
and {{
var}} in parameters. See
/testcases (at the moment sandbox has the version before {{
tlg}}). I've noticed because instructions at
Speedy CfD broke:
Remember to tag the category with:
{{ subst:Cfr-speedy|New name}}
— andrybak ( talk) 18:59, 17 April 2020 (UTC)
{{ tlg}} uses a nowiki on all of its parametersHowever, {{ =}} seems to be not affected: Special:Permalink/951581404. — andrybak ( talk) 21:10, 17 April 2020 (UTC)
<nowiki>...</nowiki>
pairing. Not sure why it lets through templates but not HTML.
Primefac (
talk)
21:30, 17 April 2020 (UTC)