Jump to content

Template talk:Physics particle

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Hqb (talk | contribs) at 20:16, 20 March 2008 (Forced bold?: looks good!). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Forced bold?

I applaud the idea of having standardized templates for all subatomic particles, but it looks like the current version of {{PhysicsParticle}} always displays the particle's symbol in a bold font, which is distracting in most contexts. In particular, since this template is used in {{SubatomicParticle}}, we get particle names like e
(electron) or γ (photon), which is rather uncommon in my experience. Perhaps the default should be non-bold, but with an optional parameter for requesting bold/italic symbols? Hqb (talk) 13:29, 20 March 2008 (UTC)[reply]

Done. I originally made them bold because the page I based the first version off was using bold. These templates are there to facilitate making all physics pages have the same look and feel and the Category:Nuclide templates aren't bold either, so neither should this one.
There should be no need for make it available as an argument, as it is simpler to use single quotes like so: ''{{SubatomicParticle|electron}}'' -> e
and '''{{SubatomicParticle|electron}}''' -> e
.
My TODO list includes rewriting the various Category:Nuclide templates to use this template as well, making it possible to change the look and feel of everything in one place. That should save vandals a lot of work :)
- SkyLined (talk) 20:02, 20 March 2008 (UTC)[reply]
Great, thanks! Hqb (talk) 20:16, 20 March 2008 (UTC)[reply]