Template talk:Convert/nesting

From Self-sufficiency
Jump to: navigation, search

This is the talk-subpage for: Template:Convert/nesting.


Purpose

11-March-2010: This page is used to discuss issues about the depth of nest-levels of the multi-nested subtemplates in Template:Convert. There are related talk-subpages:

Also see: Template_talk:Convert - for general discussion.
Also see: Template_talk:Convert/density - about density conversions.
Also see: Template_talk:Convert/updates - for requesting protected updates.

This talk-subpage is intended to discuss changes to improve the nesting, or improve the explanations, or to help determine the nest-level of a conversion. -Wikid77 (talk) 10:43, 10 March 2010 (UTC)

New rounding routine for less nesting

11-March-2010: There is a new, simplified rounding subtemplate, {{rndpad}}, which is intended to bypass the complex, scientific notation rounder, {{rnd}}, except for extremely large amounts. For amounts above 10 billion, or rounding above 10-thousand (where n < -5), the full Template:Rnd should be used. However, for most amounts, there is no need to prepare for scientific notation, so the rounding could be done much faster and simpler by {{rndpad}}, which can show 10-digit amounts, while also padding for trailing-zeroes in decimal results.

The planned update, to begin using {{rndpad}}, would require changing {{Convert/round}} to invoke "rndpad" rather than "rnd" (with the same parameters). However, those changes should be tested in sandbox versions of the subtemplates. -Wikid77 10:43, 10 March 2010 (UTC)

Notice of updating Rnd to bypass Rnd/a

11-April-2010: This is just an FYI that Template:Rnd has been updated (on 5 April 2010) to bypass the small subtemplate {Rnd/a} to reduce Convert nesting by 1 more level, against the template-nesting limit. This change affected nearly 307,000 pages, and dropped 307,000 wikilinks to {Rnd/a}, which then become almost unused. See counts in database report:

The full talk-page topics are in Template_talk:Rnd:

Those topics describe the issue, with examples. After update, then 305,700 articles were auto-reformatted to de-link {Rnd/a} (within 5 hours on a Sunday night). However, another 1,195 articles were "stuck" as still linking to the unused {Rnd/a}, but hundreds per day later de-linked it, after each article was edited by the pool of thousands of active editors. -Wikid77 18:03, 11 April 2010 (UTC)