Template talk:Module link expanded

Latest comment: 5 years ago by Alucard 16 in topic Edit Request 26 June, 2019

Usage

edit

{{#invoke:ColorAlphabet|blank|some piece of text}}

{{#invoke:ConvertNumeric|function}}

I set it so "{{{2}}}" will be displayed if the function name is not given, to remind people to use this parameter (the need for a function name confuses the heck out of all newbies). Wnt (talk) 16:55, 21 March 2013 (UTC)Reply

Edit Request 26 June, 2019

edit

Per the outcome at this TfD, the code on this template should be replaced with:

<code>&#123;&#123;#invoke:[[Module:{{{1}}}|{{{1}}}]]{{safesubst:<noinclude />#if:{{{2|}}}|&#124;{{{2}}}}}&#125;&}</code><noinclude>
{{documentation}}
<!-- Categories go on the /doc subpage and interwikis go on Wikidata. -->
</noinclude>

and Template:mlix should be a redirect to here. I'm unable to do the edit due to restrictions.BrandonXLF (t@lk) 04:58, 26 June 2019 (UTC)Reply

  Note: Moved to the template editor's queue. I know this isn't template-protected, but the requesting editor is subject to an editing restriction in this area, and I'm certainly not equipped to handle this (and probably the average editor responding to semi-protected requests isn't either, I'll guess). Thanks, ‑‑ElHef (Meep?) 20:27, 26 June 2019 (UTC)Reply
  Working Since this was bumped back into the semi-protect queue by Xaosflux I will attempt implementing this request. If I break something please fix or revert my edit. Alucard 16❯❯❯ chat? 11:28, 29 June 2019 (UTC)Reply
  Done @BrandonXLF: Please follow up with my edits at Template:Mlx and Template:Mlix to ensure that I implemented the changes correctly. I don't know much about template editing and I don't want to break something. If I need to fix something please ping me. Alucard 16❯❯❯ chat? 11:37, 29 June 2019 (UTC)Reply
@Alucard 16: It seems the code wasn't added properly (because pre elements still render character codes, making it harder to show the code). The code should be:
<code>&#123;&#123;#invoke:[[Module:{{{1}}}|{{{1}}}]]{{safesubst:<noinclude />#if:{{{2|}}}|&#124;{{{2}}}}}&#125;&#125;</code><noinclude>
{{documentation}}
<!-- Categories go on the /doc subpage and interwikis go on Wikidata. -->
</noinclude>
BrandonXLF (t@lk) 01:07, 30 June 2019 (UTC)Reply
@BrandonXLF: I copied the above exactly and placed it in Template:Mlx/sandbox is this right? If it is I will move it to the template. Alucard 16❯❯❯ chat? 01:32, 30 June 2019 (UTC)Reply
@Alucard 16: Yep, it's right. BrandonXLF (t@lk) 04:45, 30 June 2019 (UTC)Reply
Thanks for checking BrandonXLF I updated the code on the main template. Alucard 16❯❯❯ chat? 04:55, 30 June 2019 (UTC)Reply