This is an archive of past discussions. Do not edit the contents of this page. If you wish to start a new discussion or revive an old one, please do so on the current talk page. |
Archive 1 |
This
edit request to
Template:Tlg has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Wikipedia:Requested moves/Technical requests/Instructions ( Special:PermanentLink/938164624) is currently broken because someone changed tlsp to use this template and this template does a nowiki wrap to disable the formatting.
In practice, it is quite common to want to include some manual formatting in template parameters, such as italics for things that the user should fill in. Tlg should get a wiki-enabled version. To do so, replace the chunk with {#ifeq:{{{2|¬}}}|¬ | ||{{#tag:nowiki|{{{2}}}}}}}
with:
-->{{#ifeq:{{{nowiki|}}}|y|<!--
-->{{#ifeq:{{{2|¬}}}|¬ | ||{{#tag:nowiki|{{{2}}}}}}}<!--
-->{{#ifeq:{{{3|¬}}}|¬ | ||{{#tag:nowiki|{{{3}}}}}}}<!--
-->{{#ifeq:{{{4|¬}}}|¬ | ||{{#tag:nowiki|{{{4}}}}}}}<!--
-->{{#ifeq:{{{5|¬}}}|¬ | ||{{#tag:nowiki|{{{5}}}}}}}<!--
-->{{#ifeq:{{{6|¬}}}|¬ | ||{{#tag:nowiki|{{{6}}}}}}}<!--
-->{{#ifeq:{{{7|¬}}}|¬ | ||{{#tag:nowiki|{{{7}}}}}}}<!--
-->{{#ifeq:{{{8|¬}}}|¬ | ||{{#tag:nowiki|{{{8}}}}}}}<!--
-->{{#ifeq:{{{9|¬}}}|¬ | ||{{#tag:nowiki|{{{9}}}}}}}<!--
-->{{#ifeq:{{{10|¬}}}|¬ | ||{{#tag:nowiki|{{{10}}}}}}}<!--
-->{{#ifeq:{{{11|¬}}}|¬ | ||{{#tag:nowiki|{{{11}}}}}}}<!--
-->|{{#ifeq:{{{2|¬}}}|¬ | ||{{{2}}}}}<!--
-->{{#ifeq:{{{3|¬}}}|¬ | ||{{{3}}}}}<!--
-->{{#ifeq:{{{4|¬}}}|¬ | ||{{{4}}}}}<!--
-->{{#ifeq:{{{5|¬}}}|¬ | ||{{{5}}}}}<!--
-->{{#ifeq:{{{6|¬}}}|¬ | ||{{{6}}}}}<!--
-->{{#ifeq:{{{7|¬}}}|¬ | ||{{{7}}}}}<!--
-->{{#ifeq:{{{8|¬}}}|¬ | ||{{{8}}}}}<!--
-->{{#ifeq:{{{9|¬}}}|¬ | ||{{{9}}}}}<!--
-->{{#ifeq:{{{10|¬}}}|¬ | ||{{{10}}}}}<!--
-->{{#ifeq:{{{11|¬}}}|¬ | ||{{{11}}}}}}}<!--
Why not just use the italics option? Because people may want to use a mix of italicized text and non-italicized, fixed stuff. Say you are making an example for linking to a project on GitHub: instead of https://github.com/username/project
you say https://github.com/username/project
. Explaining code "language" stuff like formatting tend to end up like that. I will fix the page that way, but it doesn't mean these sort of explanations will not go away.
Oh, and italics makes the PIPES italicized too. I want subst:RMassist|current page title|new page title|reason=reason for move
, not subst:RMassist|current page title|new page title|reason=reason for move
.
-- Artoria 2e5 🌉 11:06, 16 April 2020 (UTC)
This
edit request to
Template:Tlg has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
I have reimplemented the whole thing in Lua, as italicized PIPES in between is unacceptable anyways: Module:Tlg
Just replace the code with the following and bug me if it fails. I am a bit too tired to create a test page.
{{#Invoke:Tlg|main}}
Artoria 2e5 🌉 12:29, 16 April 2020 (UTC)
{{ spaces}} template does not function within {{ tlg}}.
See {{tlg|{{space}} tlg {{space}} }}
Results:
{{[[Template: tlg | tlg ]]}}
Instead of:
See {{tlg| tlg }}
-- BoldLuis ( talk) 09:36, 11 May 2020 (UTC)
See {{tlg| tlg }}
, you want to use {{tlg|tlg|{{spaces}}tlg{{spaces}}}}
, which gives {{
tlg| tlg }}; you didn't have the second parameter.
Primefac (
talk) 15:26, 20 November 2020 (UTC)The result of the move request was: IAR closed, moved. If someone doesn't like it, they are more than welcome to open an RM for going the opposite direction. Primefac ( talk) 12:00, 21 November 2020 (UTC) Primefac ( talk) 12:00, 21 November 2020 (UTC)
– Match name with template. * Pppery * it has begun... 00:53, 21 November 2020 (UTC)
Artoria2e5, I was looking at the module and noticed that it is capping the number of parameters at 10, similar to the "old" pre-module functionality. Was this an intentional choice, or primarily stylistic to match that old functionality? Primefac ( talk) 13:30, 21 November 2020 (UTC)
|
), see
Template:Wd/doc/examples. Therefore, I'd say to remove the cap.
Thayts
••• 22:16, 21 December 2020 (UTC)
This is an archive of past discussions. Do not edit the contents of this page. If you wish to start a new discussion or revive an old one, please do so on the current talk page. |
Archive 1 |
This
edit request to
Template:Tlg has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Wikipedia:Requested moves/Technical requests/Instructions ( Special:PermanentLink/938164624) is currently broken because someone changed tlsp to use this template and this template does a nowiki wrap to disable the formatting.
In practice, it is quite common to want to include some manual formatting in template parameters, such as italics for things that the user should fill in. Tlg should get a wiki-enabled version. To do so, replace the chunk with {#ifeq:{{{2|¬}}}|¬ | ||{{#tag:nowiki|{{{2}}}}}}}
with:
-->{{#ifeq:{{{nowiki|}}}|y|<!--
-->{{#ifeq:{{{2|¬}}}|¬ | ||{{#tag:nowiki|{{{2}}}}}}}<!--
-->{{#ifeq:{{{3|¬}}}|¬ | ||{{#tag:nowiki|{{{3}}}}}}}<!--
-->{{#ifeq:{{{4|¬}}}|¬ | ||{{#tag:nowiki|{{{4}}}}}}}<!--
-->{{#ifeq:{{{5|¬}}}|¬ | ||{{#tag:nowiki|{{{5}}}}}}}<!--
-->{{#ifeq:{{{6|¬}}}|¬ | ||{{#tag:nowiki|{{{6}}}}}}}<!--
-->{{#ifeq:{{{7|¬}}}|¬ | ||{{#tag:nowiki|{{{7}}}}}}}<!--
-->{{#ifeq:{{{8|¬}}}|¬ | ||{{#tag:nowiki|{{{8}}}}}}}<!--
-->{{#ifeq:{{{9|¬}}}|¬ | ||{{#tag:nowiki|{{{9}}}}}}}<!--
-->{{#ifeq:{{{10|¬}}}|¬ | ||{{#tag:nowiki|{{{10}}}}}}}<!--
-->{{#ifeq:{{{11|¬}}}|¬ | ||{{#tag:nowiki|{{{11}}}}}}}<!--
-->|{{#ifeq:{{{2|¬}}}|¬ | ||{{{2}}}}}<!--
-->{{#ifeq:{{{3|¬}}}|¬ | ||{{{3}}}}}<!--
-->{{#ifeq:{{{4|¬}}}|¬ | ||{{{4}}}}}<!--
-->{{#ifeq:{{{5|¬}}}|¬ | ||{{{5}}}}}<!--
-->{{#ifeq:{{{6|¬}}}|¬ | ||{{{6}}}}}<!--
-->{{#ifeq:{{{7|¬}}}|¬ | ||{{{7}}}}}<!--
-->{{#ifeq:{{{8|¬}}}|¬ | ||{{{8}}}}}<!--
-->{{#ifeq:{{{9|¬}}}|¬ | ||{{{9}}}}}<!--
-->{{#ifeq:{{{10|¬}}}|¬ | ||{{{10}}}}}<!--
-->{{#ifeq:{{{11|¬}}}|¬ | ||{{{11}}}}}}}<!--
Why not just use the italics option? Because people may want to use a mix of italicized text and non-italicized, fixed stuff. Say you are making an example for linking to a project on GitHub: instead of https://github.com/username/project
you say https://github.com/username/project
. Explaining code "language" stuff like formatting tend to end up like that. I will fix the page that way, but it doesn't mean these sort of explanations will not go away.
Oh, and italics makes the PIPES italicized too. I want subst:RMassist|current page title|new page title|reason=reason for move
, not subst:RMassist|current page title|new page title|reason=reason for move
.
-- Artoria 2e5 🌉 11:06, 16 April 2020 (UTC)
This
edit request to
Template:Tlg has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
I have reimplemented the whole thing in Lua, as italicized PIPES in between is unacceptable anyways: Module:Tlg
Just replace the code with the following and bug me if it fails. I am a bit too tired to create a test page.
{{#Invoke:Tlg|main}}
Artoria 2e5 🌉 12:29, 16 April 2020 (UTC)
{{ spaces}} template does not function within {{ tlg}}.
See {{tlg|{{space}} tlg {{space}} }}
Results:
{{[[Template: tlg | tlg ]]}}
Instead of:
See {{tlg| tlg }}
-- BoldLuis ( talk) 09:36, 11 May 2020 (UTC)
See {{tlg| tlg }}
, you want to use {{tlg|tlg|{{spaces}}tlg{{spaces}}}}
, which gives {{
tlg| tlg }}; you didn't have the second parameter.
Primefac (
talk) 15:26, 20 November 2020 (UTC)The result of the move request was: IAR closed, moved. If someone doesn't like it, they are more than welcome to open an RM for going the opposite direction. Primefac ( talk) 12:00, 21 November 2020 (UTC) Primefac ( talk) 12:00, 21 November 2020 (UTC)
– Match name with template. * Pppery * it has begun... 00:53, 21 November 2020 (UTC)
Artoria2e5, I was looking at the module and noticed that it is capping the number of parameters at 10, similar to the "old" pre-module functionality. Was this an intentional choice, or primarily stylistic to match that old functionality? Primefac ( talk) 13:30, 21 November 2020 (UTC)
|
), see
Template:Wd/doc/examples. Therefore, I'd say to remove the cap.
Thayts
••• 22:16, 21 December 2020 (UTC)