Template talk:Val
Template:Val is permanently protected from editing because it is a heavily used or highly visible template. Substantial changes should first be proposed and discussed here on this page. If the proposal is uncontroversial or has been discussed and is supported by consensus, editors may use {{edit template-protected}} to notify an administrator or template editor to make the requested edit. Usually, any contributor may edit the template's documentation to add usage notes or categories.
Any contributor may edit the template's sandbox. Functionality of the template can be checked using test cases. |
This is the talk page for discussing improvements to the Val template. |
|
Archives: 1, 2, 3, 4, 5, 6, 7Auto-archiving period: 90 days |
This template does not require a rating on Wikipedia's content assessment scale. It is of interest to the following WikiProjects: | |||||||||||||||||||||||||||||
|
The template {{Val2}} was considered for deletion on 2014 February 7. The result of the discussion was "move to Template:Val/sandbox2". |
Template-protected edit request on 27 March 2024
[edit]This edit request to Module:Val/units has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
The unit "fb-1" currently links to Barn (unit). I propose that it would be better to have it link to the section Barn (unit)#Inverse femtobarn. It provides specific information on that unit and would be more helpful to readers. Also, many other units link to specific sections within an article for the same reason, so this would be justified. Purplemountainmantalk contribs 21:21, 27 March 2024 (UTC)
- Done. Johnuniq (talk) 03:19, 28 March 2024 (UTC)
Spacing
[edit]This is causing spacing issues on articles. See for example the usage on K2-18b in the "Evolution" section. Is there any way to shrink the numbers so that it fits within the line without enlarging the surrounding space? Viriditas (talk) 20:55, 3 April 2024 (UTC)
- Not really. There is an accessibility guideline somewhere saying that text should not be too small. If that format is considered undesirable, perhaps some manual wikitext could be used to say +this -that? Johnuniq (talk) 05:34, 4 April 2024 (UTC)
A teragram is not a tonne
[edit]The current list of units contains:
Tg [[Tonne|g]] SI
which is not correct: a Tg is a teragram, i.e. 1012 g, which is a million tonnes, not just one. Can we please fix this?
Spidermario (talk) 16:50, 10 July 2024 (UTC)
- It has been like that for a long time. Perhaps whoever added those units thought Teragram was not a suitable link target? Anyway, the fix is simple. It would be nice if someone examined Module:Val/units and commented here if there were any other problems that should be fixed at the same time. I'll have a look in a couple of days if no one beats me to it. Johnuniq (talk) 01:29, 11 July 2024 (UTC)
Decibel
[edit]Are Decibel units intentionally omitted from this template? Adding |ul=dB
linking to Decibel would be a good start. If someone wants to go to town on it, see Decibel § List of suffixes for a bunch of derived units. ~Kvng (talk) 19:38, 14 September 2024 (UTC)
Pop-up
[edit]Is it possible to add a parameter yielding a pop-up of the unit name without the link?-- Carnby (talk) 08:41, 15 September 2024 (UTC)
- Not a parameter, but it can be defined in the unit. Search for "abbr" at Module:Val/units. Example:
{{val|12|u=mg/L}}
→ 12 mg/L
- Johnuniq (talk) 08:55, 15 September 2024 (UTC)
- @Johnuniq I see. I was asking just because amperes (A) was written "amps" in FASTON terminal.-- Carnby (talk) 12:17, 15 September 2024 (UTC)
- Template-Class physics articles
- NA-importance physics articles
- Template-Class physics articles of NA-importance
- Template-Class science articles
- NA-importance science articles
- Template-Class Engineering articles
- NA-importance Engineering articles
- WikiProject Engineering articles
- Template-Class mathematics articles
- NA-priority mathematics articles