Template talk:WikiProject Physics

message: just made some modifications to this template, which I have reverted because they broke some of the functionality - see  for an example of what's broken. I haven't got the time to do much on the template right now, but when I have I'll try to incorporate some of Centrx's changes into the current version of the template in a non-broken way. I know that there are problems with this template causing excess whitespace - I will admit that I'm fairly new to complex templates, so if anyone can spot what's causing this whitespace please could you fix it (as long as you don't break the template at the same time...) Thanks. Mike Peel 07:51, 23 September 2006 (UTC)
replies: text: Yes, aside from the whitespace issue, the template needs to be shorter (tighter) because it is used atop talk pages that are already really crowded. See Template:Chemistry for an example. It may not seem like a big deal, but I have been doing this for most all talk page headers and it really does save a lot of space in sum, and it also looks much nicer. The changes I was making here now were just trying to fix the whitespace issue, which remains a mystery. —Centrx→talk • 07:59, 23 September 2006 (UTC)

text: That template has the same problem, but it is even harder to fix because the template is very complicated—which would be another reason not to follow it. —Centrx→talk • 16:49, 23 September 2006 (UTC)

text: This isn't a high-use template (that is, high enough that it frequent changes would be a burden on the server) so you can just make changes right on the template. I think it looks great. —Centrx→talk • 22:06, 23 September 2006 (UTC)
replies: text:  I used to do that, but I found that I tended to break the template a lot while making modifications. Hence the alternative location, to keep from breaking a few hundred talk pages. I'll move it over to this page shortly. Mike Peel 06:27, 24 September 2006 (UTC)
thread_title:  Template cleanup 

message: This template is way to big, someone should design a new one that is more compact. --Sadi Carnot 11:15, 22 January 2007 (UTC)
replies: text: it's not as big as  --Andersmusician $ 20:34, 19 June 2007 (UTC)
thread_title: Way to big

message: 
But perhaps it should be this code (or something similar):

This would allow the categorization of physics article according to both importance and quality ratings. Headbomb {ταλκκοντριβς – WP Physics} 15:26, 18 June 2008 (UTC)
thread_title:  Could it be possible to add this to the banner code? 

message: 
I'm no programmer, but I think this code would be better:
# Handles a wider array of input
# Handles list class
# Handles featured list class
# Category and Template class stop being "unassessed"
Headbomb {ταλκκοντριβς – WP Physics} 16:14, 18 June 2008 (UTC)
replies: text: Code diff looks fine at a glance, so I've implemented it. If there are any problems, I can revert or fix the changes.  17:33, 20 June 2008 (UTC)

text: The documentation needs to be updated to indicate what classes are now allowed. I don't see anywhere where "template" is identified unambiguously as a valid class.--Srleffler (talk) 00:03, 21 June 2008 (UTC)
thread_title:  Rewriting the banner code 

message: : Cheers, PeterSymonds (talk) 09:55, 24 June 2008 (UTC)
thread_title: Fixing some minor things

message: Replace this section of code (towards the end)
}} 
with
}} 
Headbomb {ταλκ – WP Physics: PotW} 15:29, 21 June 2008 (UTC)
thread_title: Autorating of importance

message: For some reason, the template adds unnecessary blank space before and after the template. This screws up the formatting when more then one project banner is present. There are probably some extra breaks in the code. Somebody more familiar with the code should check it out. (TimothyRias (talk) 10:03, 9 July 2008 (UTC)
replies: text: I'll take a look at it. I've not tested multiple banners on one page. Can you link to an example? Headbomb {ταλκ – WP Physics: PotW} 11:47, 9 July 2008 (UTC)

text: I removed some whitespace. Is it better now? Headbomb {ταλκ – WP Physics: PotW} 11:54, 9 July 2008 (UTC)

text: Problem is fixed as far as I can tell. Headbomb {ταλκ – WP Physics: PotW} 13:04, 9 July 2008 (UTC)
replies: text: It seems to be fixed now. I'll let you know if I find problems again. (TimothyRias (talk) 08:25, 10 July 2008 (UTC)
thread_title:  Banner is generating superfluos space above/below 

message: 
Please replace
 |Category|category|CAT|Cat|cat|Category:Category-Class physics articles 
 |Template|template|TEMP|Temp|temp|Category:Template-Class physics articles 
by
 |Category|category|CAT|Cat|cat=Category:Category-Class physics articles 
 |Template|template|TEMP|Temp|temp=Category:Template-Class physics articles 
Thanks. Headbomb {ταλκ – WP Physics: PotW} 06:06, 12 July 2008 (UTC)
replies: text: Y Both done.  15:24, 12 July 2008 (UTC)
thread_title:  Cats and Temps categories not working  

message: At Talk:Lift (force) the use of this template seems to be the cause for the "table of contents" (TOC) not showing up. -- Crowsnest (talk) 00:46, 10 October 2008 (UTC)
replies: text: The problem has to do with the Talk:Lift (force)/Comments page existing and being transcluded. The TOC is availible in the blue bar. I'm not quite sure how to circumvent this. Try asking at the village pump. Headbomb {ταλκ – WP Physics: PotW} 07:07, 10 October 2008 (UTC)
replies: text: I removed all section headings from Talk:Lift (force)/Comments, and that solves the problem (with respect to the TOC) on this page (Talk:Lift (force)) for the moment. -- Crowsnest (talk) 07:38, 10 October 2008 (UTC)
replies: text: There is also something on this in #Leave comments to explain the rating. But before I removed the section heads I experimented with including __TOC__ in  Talk:Lift (force). That did not work (maybe caused by the "reflist" tag in the Comments subpage?), as far as I remember and I only saw that using the preview (so no "hard" evidence). -- Crowsnest (talk) 08:10, 10 October 2008 (UTC)

text: I moved the text from Talk:Lift (force)/Comments to Talk:Lift (force), since it did not belong there anyway. Thanks for helping and pointing to the source of the problem! -- Crowsnest (talk) 07:57, 10 October 2008 (UTC)
thread_title:  Physics template and TOC 

message: * Whenever the template is placed within , the article isn't tagged with the custom categories don't show up.
Headbomb {ταλκκοντριβς – WP Physics} 20:57, 11 November 2008 (UTC)
replies: text:  At second glance, that's not the problem. However, there is a problem with it as some tagged and fully assessed articles are listed as ???-importance. See Wikipedia:WikiProject Physics/Assessment categories and click on any ???-importance categories.Headbomb {ταλκκοντριβς – WP Physics} 00:10, 12 November 2008 (UTC)
replies: text:  It appears to be articles that have been assessed with an Uppercase letter at the start of "low - mid - high - top", etc. I tested one by converting to lowercase and worked fine. The code on this banner just needs to be updated to allow case sensitivity. —Borgardetalk 04:34, 12 November 2008 (UTC)
replies: text:  TimothyRias seems to have fixed this. Now it's just a matter of waiting a few days.Headbomb {ταλκκοντριβς – WP Physics} 19:26, 12 November 2008 (UTC)
thread_title:  Metabanner problems 

message: I just found out that the WPBannerMeta template has a hook for creating the quality-importance intersection categories. Adding the following lines should yield the same result as the current custom code in our template.
|HOOK_ASSESS = {{WPBannerMeta/hooks/qualimpintersect
 |class = 
 |importance = 
 |category = ¬
 |ASSESSMENT_CAT = physics articles
 |BANNER_NAME = Template:Physics
 |FULL_QUALITY_SCALE = yes
Doing this would clean up this template and keep the core maintenance central. What do other people say? (And also can somebody double check that this is the correct code?) (TimothyRias (talk) 09:11, 15 April 2009 (UTC)
replies: text: If this achieves the same thing as it does now, I got no problem with it. I could take a look at the code to see if its equivalent, but I don't have time right now. If one of the folks from the Metabanner says making the switch won't freeze hell over, then I have no problem with it.Headbomb {ταλκκοντριβς – WP Physics} 04:56, 16 April 2009 (UTC)
thread_title:  Quality-Importance intersection 

message: The link on the template links to a page which lists 6 criteria, however, the template itself appears only to support 5. __meco (talk) 14:26, 26 April 2009 (UTC)
replies: text: At the moment this template doesn't support B class criteria at all. (TimothyRias (talk) 09:43, 28 April 2009 (UTC)
replies: text: My apology. I think I must have posted to the wrong page. __meco (talk) 13:19, 28 April 2009 (UTC)
thread_title:  5 or 6 criteria for B-class 

message: At present, the template links to Wikipedia:WikiProject Physics/Quality Control#Quality scale, a section of that page that doesn't exist.  Should this link be changed to point somewhere else, say a more generic quality scale?  Can this link be changed easily, since the banner is generated through WPBannerMeta?  Or should the "Quality scale" section be created in the WikiProject Physics/Quality Control page?  I'm afraid this isn't my area of expertise.  -David Schaich Talk/Cont 16:33, 27 July 2009 (UTC)
replies: text: Good point. I don't think it is possible to control the importance and quality links separately. So, it would be best to actual create that section and made just transclude the WP1.0 scale there. (TimothyRias (talk) 17:06, 27 July 2009 (UTC)
thread_title: Quality scale

message: The link to the /Comments page from this template seems to be causing some new users to leave comments about improving the article on the /Comments page.  Could that subpage be phased out to avoid this confusion?  All messages currently on Comment pages could be moved to article talk pages, including rating rationales. Pecos Joe (talk) 21:14, 4 September 2009 (UTC)
thread_title:  Comments section 

message: Please Insert in :Template:WikiProject Physics a interwiki: :ro:Format:Proiect Fizică (Terraflorin (talk) 07:54, 4 May 2012 (UTC)
thread_title:  ro.WikiProject Physics 

message: Please remove the following lines:
|auto=
  |AUTO_ASSESS_CAT     = Automatically assessed physics articles
Following this CfD, the category "Automatically assessed physics articles" (among many others) was deleted. This caused the complaint now appearing on this template's page that the category needs to be created for the banner to work correctly. Since bots are not currently used to assess WikiProject Physics articles, nor does future use seem likely (essentially all articles are already assessed, with new ones also continuously being assessed), the sensible thing to do seems to be to remove bot support from the template. Thank you.
786b6364 (talk) 14:52, 16 July 2013 (UTC)
replies: text: Done --Redrose64 (talk) 15:20, 16 July 2013 (UTC)
thread_title:  Edit request on 16 July 2013 

message: As part of a nearly-completed shift to distinguish requests for photos from requests for images in general, it is requested that this template be modified to place talk pages in "Wikipedia requested images of..." categories, rather than the old "Wikipedia requested photographs of..." categories. As such, please supplement all references to "photo(s) of..." and "photograph(s) of..." with "image(s) of..." in both the template and its documentation, while maintaining backwards compatibility for the old "photo" parameters. In particular, change "photograph or picture" to simply "image". Note that the "Wikipedia requested images of..." categories have already been created. Thank you! — s w p b T 19:18, 8 December 2015 (UTC)
replies: text: Mock-up in sandbox. — s w p b T 14:55, 9 December 2015 (UTC)

text: Not done for now: per moratorium proposed at Category_talk:Wikipedia_requested_images_by_subject#Way_forward. Ahecht (TALKPAGE) 00:45, 17 December 2015 (UTC)
thread_title:  Change photo requests to image requests 

message: :Moved to Template talk:WPBannerMeta/hooks/taskforces/templatepage. — xaosflux Talk 05:20, 24 December 2018 (UTC)
thread_title:  No definite articles for task forces? 

message: An editor has asked for a discussion to address the redirect Template:PHYSICS. Please participate in the redirect discussion if you wish to do so.  Magioladitis (talk) 08:02, 23 August 2019 (UTC)
thread_title:  "Template:PHYSICS" listed at [[Wikipedia:Redirects for discussion|Redirects for discussion]] 

message: Please change:
 |IMAGE_LEFT            = BlackHole.jpg
to
 |IMAGE_LEFT            = Black hole (NASA).jpg
Same image, but moved on Commons. :File:BlackHole.jpg →  :File:Black hole (NASA).jpg  (see sandbox: Template:WikiProject Physics/sandbox) -Christian75 (talk) 09:55, 26 August 2021 (UTC)
replies: text: firefly ( t · c ) 11:10, 26 August 2021 (UTC)
thread_title:  Template-protected edit request on 26 August 2021 

message: I noticed that if the Wikiproject physics is in a banner shell, it appears collapsed:

But alone it does no seem to support collapsed, eg this fails:

Is there a simple way to enable the collapsed feature without the banner shell?
Thanks Johnjbarton (talk) 15:58, 29 November 2023 (UTC)
thread_title:  Collapsed option?