Module talk:Template invocation: Difference between revisions

Content deleted Content added
Line 33:
:{{ping|Andrybak}} OK I got courageous and fixed the module anyway. Please check it out. [[User:Johnuniq|Johnuniq]] ([[User talk:Johnuniq|talk]]) 04:05, 20 May 2020 (UTC)
::A mystery explained with a mystery: the reason the module is used at [[Alan Garner]] is that it uses {{tl|postnominals}} and even "{{tlf|postnominals}}" (with no parameters) calls [[Module:Template invocation]]. [[User:Johnuniq|Johnuniq]] ([[User talk:Johnuniq|talk]]) 04:50, 20 May 2020 (UTC)
 
== Editor-hostile wikitext ==
 
{{editprotected}}
The module is currently producing "[[WP:BOTDICT#editor-hostile wikitext / editor-friendly wikitext|editor-hostile wikitext]]" by not adding spaces between the parameters. Please add a space at line [[Module:Template_invocation#L-116]]:
: <code>ret[#ret + 1] = ' ' .. seps.pipe</code>
(an alternative solution by changing <code>pipe = '|',</code> to <code>pipe = ' |',</code> at [[Module:Template_invocation#L-81]] would probably be less robust, since <code>pipe</code> is used for unnamed parameters as well, but some such templates don't trim whitespace from their arguments). — [[User:Mikhail Ryazanov|Mikhail Ryazanov]] ([[User talk:Mikhail Ryazanov|talk]]) 20:56, 9 February 2024 (UTC)