Content deleted Content added
m Archiving 1 discussion(s) from Template talk:WPBannerMeta) (bot |
|||
Line 11:
:{{ping|Evolution and evolvability}} just wondering if my answer made any sense? — Martin <small>([[User:MSGJ|MSGJ]] · [[User talk:MSGJ|talk]])</small> 08:10, 5 May 2020 (UTC)
::{{re|MSGJ}}. Woops, I meant to use {{para|TF_n_IMP}} rather than {{para|TF_n_QUALITY}} as the example. Because currently, if {{para|TF_n}} isn't filled in, the template will ignore {{para|TF_n_IMP}}. The template I'm working on is {{tlx|WikiProject_Molecular_Biology}}.
::Example: <code><nowiki>{{WikiProject Molecular Biology |class=Stub |importance=Low |RNA-imp=high |MCB-
{{WikiProject Molecular Biology|category=no |class=Stub |importance=Low |biophysics-imp=high |genetics-
::but should really return:
{{WikiProject Molecular Biology|category=no |class=Stub |importance=Low |biophysics= foo|biophysics-imp=high |genetics=bar|genetics-
::So the query is more about whether we can automatically assume {{para|TF_n}} is yes if any of the {{para|TF_n_XYZ}} parameters are filled. [[User:Evolution and evolvability|T.Shafee(Evo<small>&</small>Evo)]]<sup>[[User talk:Evolution and evolvability|talk]]</sup> 12:26, 5 May 2020 (UTC)
:::Ah, I understand your point now. Typically the only taskforce parameter that is set at the article level is the importance. So you are saying that if {{para|biophysics-imp}} is set to any value, then we should assume that {{para|biophysics|yes}}? That would be fairly simple to implement. Are there any possible side effects of doing this? What if {{para|biophysics-imp|cheesecake}}, i.e. an unrecognised value - should that trigger the taskforce as well? — Martin <small>([[User:MSGJ|MSGJ]] · [[User talk:MSGJ|talk]])</small> 13:38, 5 May 2020 (UTC)
Line 405:
== Argh ==
One of my long term projects has been to turn {{tl|WikiProject Politics}} into '''[[Special:Permalink/995474531|this]]''' while preserving all the pre-existing categories. {{re|MSGJ}} Can you please help me and fix my spaghetti code? &
:If I knew what you were trying to achieve then I might be able to help! — Martin <small>([[User:MSGJ|MSGJ]] · [[User talk:MSGJ|talk]])</small> 09:11, 21 December 2020 (UTC)
:{{ping|MJL}} what is your intention in creating [[Template:WPBannerMeta/notes/category]]? — Martin <small>([[User:MSGJ|MSGJ]] · [[User talk:MSGJ|talk]])</small> 06:38, 3 January 2021 (UTC)
Line 429:
#:<code><nowiki>|PROJECT_STATUS = {{{PROJECT_STATUS|{{#if:{{{status|}}}|{{{status}}}|inactive}}}}}</nowiki></code>
This has been tested at [[Template:Inactive WikiProject banner/testcases]]. The change adds a new class to the banner which would allow users to hide inactive WikiProject at their own discretion. &
:{{done}}, but I've added a class also for the actives also. --[[User:Izno|Izno]] ([[User talk:Izno|talk]]) 04:33, 9 February 2021 (UTC)
|