Module talk:WikiProject banner: Difference between revisions

Content deleted Content added
Line 70:
 
:I have fixed the template &mdash;&nbsp;Martin <small>([[User:MSGJ|MSGJ]]&nbsp;·&nbsp;[[User talk:MSGJ|talk]])</small> 08:57, 10 June 2025 (UTC)
It seems that they wanted to store all their task forces in a configuration file instead of coding each one in the template. This allows the comma-separated list method of triggering each one, as well as keeping the configuration separate from the template code. I have mocked up an example of a config file at [[Template:WikiProject Higher education/config]]. It seems like a very neat way of working. The template would then become most simpler, something as simple as
<syntaxhighlight lang="wikitext">
{{#invoke:WikiProject banner|main|project=Higher Education}}
</syntaxhighlight>
Other advantages: we do not need to pass any parameters through the template, we could supply a list of parameter aliases instead of the horrible <nowiki>{{{a|{{{b|{{{c|}}}}}}}}}</nowiki> construct &mdash;&nbsp;Martin <small>([[User:MSGJ|MSGJ]]&nbsp;·&nbsp;[[User talk:MSGJ|talk]])</small> 13:28, 16 June 2025 (UTC)