Template talk:Texas

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search
WikiProject United States / Texas (Rated Template-class)
WikiProject iconThis template is within the scope of WikiProject United States, a collaborative effort to improve the coverage of topics relating to the United States of America on Wikipedia. If you would like to participate, please visit the project page, where you can join the ongoing discussions.
 Template  This template does not require a rating on the project's quality scale.
Taskforce icon
This template is supported by WikiProject Texas.


Nav-box index crisis[edit]

15-Dec-2007: As the nav-box Template:Texas continues to be expanded with more cities or topics, and transcluded into more articles, the Wikipedia indexing is becoming a so-called "N-squared problem" or more accurately an "NxM (N-by-M) problem": when 2,500 articles use a nav-box having 200 wikilinks, the overall effect generates 500,000 entries into the Wikipedia index-file database: the seemingly small nav-box (with just 200 city/region names and topics) snowballs into a massive half-million entries in the Wikipedia link-files database.

The problem is encouraged because some people treat nav-box templates as being shared subroutines or common menus, but they are not: in MediaWiki language 1.6, nav-box templates are actually copied as multiple instances for each page when used, rather than implemented as a shared common routine. If just 10 pages use a nav-box linking 150 cities/regions, that's 1,500 index entries, and the current result has become the thousands of index entries already created by Template:Texas. Solutions are being implemented to avoid the growing nav-box index crisis, as discussed below. -Wikid77 (talk) 20:39, 15 December 2007 (UTC)

Template:Texas reduces nav-box crisis[edit]

15-Dec-2007: As a very simple solution to nav-box overlinking, the Template:Texas does not contain box links to the 254 counties in Texas (most of any state); instead, Template:Texas merely links the full-length counties article by "See: List of Texas counties". Although Template:Texas gives a simple solution reducing the nav-box crisis, it has the drawback of linking a very long article to provide county-name links, rather than a short nav-box template of county-names. Instead, I suggest using a condensed state-counties template for only counties of a state, similar to Template:Texas, but with only box links to county-names, avoiding a full-length article listing descriptions of all counties. Then, that kind of state-counties template ("Template:Texas_counties") would only be transcluded into a few hundred articles about counties, rather than several hundred. Meanwhile, each state-template could be substantially shortened (by using "See: Table of Texas counties" to also reduce overall wikilinks by 50,000 or so), when a condensed state-counties template has been developed and verified, for each state. Long term, the general solution would be multiple smaller templates:

Other templates could be added for future subjects. -Wikid77 (talk) 20:39, 15 December 2007 (UTC)

Linking both counties table and list[edit]

16-Dec-2007: Although Template:Texas reduces the nav-box index crisis by not including box links to the 254 counties, it instead links to a very long article about the counties, including 254 map images of those counties. I am changing Template:Texas to link to both a quick "Table of Texas counties" aka Template:Texas_counties, as well as the original list. Linking to that Table of counties will restore the functionality lost in August 2007, when the 254 county-links were removed; however, since the table is a separate article, it will not re-generate the "254,000" additional wiki-links as in the July version of Template:Texas. That table combines the benefits of the old, with the efficiency of the new. -Wikid77 (talk) 09:38, 16 December 2007 (UTC)

Metro areas[edit]

Suggestion: The metro areas section is rather misleading since it does not actually link to the metro areas (and people might indeed want to see these articles). Might I suggest splitting between a "major cities" section and a metro areas section? The number of links specified does not have to increase since many of the towns listed as principal metro area towns can simply be omitted from the "major city" list if they are not major cities. So, for example, Austin-Round Rock-San Marcos (3 links) becomes Austin-Round Rock-San Marcos and Austin (2 links).

--Mcorazao (talk) 21:06, 11 February 2010 (UTC)

White on blue[edit]

Is there a particular reason why this template is white on blue? Wouldn't it be better to just go with the default used by {{navbox}} to avoid having a rainbow at the bottom of the page when this navbox is next to another one and per WP:ACCESSIBILITY? Please let me know if there is a strong reason to have it a particular color. I noticed this was attempted recently, but was reverted, so I thought I would be proactive and start a thread here to avoid an edit war. Thanks! Plastikspork ―Œ(talk) 21:34, 19 December 2010 (UTC)

Since there were no objections, I have gone ahead and made the bold change. Please discuss here before reverting, if you disagree per WP:Deviations. Thanks! Plastikspork ―Œ(talk) 21:47, 1 May 2011 (UTC)