Template talk:Semitic languages

From Wikipedia, the free encyclopedia
Jump to: navigation, search
WikiProject Languages (Rated Template-class)
WikiProject icon This template is within the scope of WikiProject Languages, a collaborative effort to improve the coverage of standardized, informative and easy-to-use resources about languages on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.
 Template  This template does not require a rating on the project's quality scale.

Note on my changes[edit]

I started out by simply wanting to switch to horizontal list formatting, but found the structure of the template hard to follow, so I overhauled it so as to:

  • display fully opened for easier editing
  • display only the 3 top-level headers when opened on article pages
  • allow the whole of a single sub-group to display, either by specifying an unnamed parameter (standard practice for navboxes) or using "expanded=" (as it did previously)
  • eliminate the very costly use of nesting {{Navbox with collapsible groups}}

The improvement in efficiency is shown by the pre-processor report:

old version
NewPP limit report
Preprocessor node count: 5106/1000000
Post-expand include size: 387175/2048000 bytes
Template argument size: 340815/2048000 bytes
Expensive parser function count: 0/500
new version
NewPP limit report
Preprocessor node count: 3370/1000000
Post-expand include size: 134967/2048000 bytes
Template argument size: 130847/2048000 bytes
Expensive parser function count: 0/500

--NSH001 (talk) 20:47, 11 May 2012 (UTC)

Useless clicking[edit]

I can understand having the main subdivisions initially collapsed, but it seems superfluous to add a second level of clicking required before being able to see any links in the second two categories (Southern and Central) — especially given that Southern East is only a single line. --Trɔpʏliʊmblah 17:18, 12 June 2015 (UTC)

 Done. Tropylium, I have restructured the template slightly and made a few other improvements at the same time. This also means that the allowable values of the |expanded= parameter (which may also be passed in unnamed form) have changed; this parameter will need to be changed in any transclusions of this template that use it. I considered retaining the existing values for backwards compatibility, but that would have made the code unnecesarily complicated. See the revised template documentation. --NSH002 (talk) 21:58, 12 June 2015 (UTC)

Template needs to be completely redone[edit]

Template needs to be completely redone based on Hetzron (1970) — Preceding unsigned comment added by Jadhimah (talkcontribs) 09:06, 31 May 2017 (UTC)