Module talk:WikiProject banner/Archive 13: Difference between revisions

Content deleted Content added
m Archiving 1 discussion(s) from Template talk:WPBannerMeta) (bot
m Archiving 1 discussion(s) from Template talk:WPBannerMeta) (bot
Line 385:
As discussed in the link above, any page which is not in the article talk space will display "This <pagetype> does not require a rating on the quality scale." This is not correct in some cases, e.g FM-class which specifically places a rating on a page in the File namespace. Is this something we should be concerned about? Are there any other common examples? (I am not worried about the bespoke template WikiProject Portals, as this has already been customised accordingly.) &mdash;&nbsp;Martin <small>([[User:MSGJ|MSGJ]]&nbsp;·&nbsp;[[User talk:MSGJ|talk]])</small> 22:07, 10 December 2020 (UTC)
:I think if the ''class'' is anything except the namespace, then we should display "This <pagetype> has been rated <class>-Class...". If the ''class'' equals the namespace, then it sounds a bit silly to say "This template has been rated Template-Class..." so we should keep the current wording. If people agree with the gist of this, then I will try and work up some proper logic. &mdash;&nbsp;Martin <small>([[User:MSGJ|MSGJ]]&nbsp;·&nbsp;[[User talk:MSGJ|talk]])</small> 22:42, 18 December 2020 (UTC)
 
== Auto documentation ==
 
I'm working on a system for auto-documenting project banners using [[Template:WPBannerDoc]]. Preliminary efforts are in [[Template:WPBannerMeta/templatepage/sandbox]], and documentation can be activated with new parameter {{para|DOC|auto}}. Results can be seen on [[Template:WPBannerMeta/test]] and [[Template:WikiProject Doctor Who/sandbox]]. Feedback would be appreciated! &mdash;&nbsp;Martin <small>([[User:MSGJ|MSGJ]]&nbsp;·&nbsp;[[User talk:MSGJ|talk]])</small> 12:16, 24 December 2020 (UTC)
:I think my auto-documentation is ready for prime time. There are a few special cases left to consider (e.g. custom quality scales, or b-class checklists) but I would like to start deploying it on some basic banner templates. &mdash;&nbsp;Martin <small>([[User:MSGJ|MSGJ]]&nbsp;·&nbsp;[[User talk:MSGJ|talk]])</small> 20:09, 28 December 2020 (UTC)
::The does still have some features that show up for the ''small'' paramter which could be removed now. Here's a [https://en.wikipedia.org/w/index.php?title=Special:Search&limit=250&offset=0&ns10=1&search=insource%3A%2F%5C%7B%5C%7BWPBannerMeta%2F+-insource%3A%2F%5C%7B%5C%7B%5BDd%5Doc%2F+-insource%3A%2F%5C%7C+%2ADOC%2F+-intitle%3A%2Fsandbox%2F+-intitle%3A%2FWPBannerMeta%2F+-hastemplate%3A%22Inactive+WikiProject+banner%22 search link] of banners without any docs at the moment, where it would be easy to add them. -- [[User:WOSlinker|WOSlinker]] ([[User talk:WOSlinker|talk]]) 09:42, 3 January 2021 (UTC)
:::That's helpful thanks. It would make sense to start with those. &mdash;&nbsp;Martin <small>([[User:MSGJ|MSGJ]]&nbsp;·&nbsp;[[User talk:MSGJ|talk]])</small> 13:30, 3 January 2021 (UTC)
:Concerning the {{para|category}} parameter (which all WikiProject banner templates have - or should have, anyway), also the {{para|auto}} parameter (found in rather less than half of the WikiProject banner templates) - when writing doc pages, I purposely omit these from the copypaste boilerplates because {{para|category}} is rarely used, and {{para|auto}} should not be used except by bots. For the same reasons, I always place them bottom of the "Optional parameters" list (which is otherwise ordered alphabetically), and omit them from any examples. --[[User:Redrose64|<span style="color:#a80000; background:#ffeeee; text-decoration:inherit">Red</span>rose64]] &#x1f339; ([[User talk:Redrose64|talk]]) 18:52, 3 January 2021 (UTC)
::Good idea - I've removed those from the boilerplate text. Rather than grouping alphabetically, I've grouped the optional parameters into notes/alerts and task forces. Headings appear when a few are in use. &mdash;&nbsp;Martin <small>([[User:MSGJ|MSGJ]]&nbsp;·&nbsp;[[User talk:MSGJ|talk]])</small> 20:33, 3 January 2021 (UTC)