Template talk:TxDOT

(Redirected from Template talk:TxDOT/sandbox)
Latest comment: 5 years ago by Imzadi1979 in topic Examples
WikiProject iconU.S. Roads: Texas Template‑class
WikiProject iconThis template is within the scope of the U.S. Roads WikiProject, an attempt to build a comprehensive and detailed guide to state highways and other major roads in the United States. If you would like to participate, you can edit the article attached to this page, or visit the project page, where you can join the project and/or contribute to the discussion.
TemplateThis template does not require a rating on the project's quality scale.
Locations
 Texas  
 
WikiProject iconUnited States: Texas 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.
TemplateThis template does not require a rating on Wikipedia's content assessment scale.
Taskforce icon
This template is supported by WikiProject Texas.

Examples edit

{{TxDOT|SH|49}} Transportation Planning and Programming Division (n.d.). "State Highway No. 49". Highway Designation Files. Texas Department of Transportation.
{{TxDOT|FM|1000}} Transportation Planning and Programming Division (n.d.). "Farm to Market Road No. 1000". Highway Designation Files. Texas Department of Transportation.
{{TxDOT|SL|151}} Transportation Planning and Programming Division (n.d.). "State Highway Loop No. 151". Highway Designation Files. Texas Department of Transportation.
{{TxDOT|SS|86}} Transportation Planning and Programming Division (n.d.). "State Highway Spur No. 86". Highway Designation Files. Texas Department of Transportation.

Inclusion of Park Roads edit

The state has a few roads serving state parks, and I've (at least attempted) to add a PR designation for those. Could someone better at templates than I make sure this works? --Korranus 01:23, 8 June 2007 (UTC)Reply

I'll take a look, I am actually working on an article in my sandbox for the park roads, User:Holderca1/sandbox. --Holderca1 10:48, 8 June 2007 (UTC)Reply
There was just a minor thing wrong that I took care of, works fine now. --Holderca1 18:48, 8 June 2007 (UTC)Reply

Business routes edit

The code included usage for a third parameter, in that it added it to the link title, but not the URL itself. This was problematic for referencing business routes' designation files: the text would be there, but it wouldn't link to the proper designation file. I've added it to the URL so it does now, and also modified the switch for the first parameter so it spells out "Business (Interstate/US/etc.)":

{{TxDOT|BI|20|D}} Transportation Planning and Programming Division (n.d.). "Business Interstate Highway No. 20-D". Highway Designation Files. Texas Department of Transportation.
{{TxDOT|BU|87|C}} Transportation Planning and Programming Division (n.d.). "Business U.S. Highway No. 87-K". Highway Designation Files. Texas Department of Transportation.
{{TxDOT|BS|123|B}} Transportation Planning and Programming Division (n.d.). "Business State Highway No. 123-B". Highway Designation Files. Texas Department of Transportation.
{{TxDOT|BF|1960|A}} Transportation Planning and Programming Division (n.d.). "Business Farm to Market Road No. 1960-A". Highway Designation Files. Texas Department of Transportation.

I'm assuming (fingers crossed) that it didn't break anything, seeing as how the third parameter didn't do anything non-cosmetic until now, but feel free to revert if something does end up wrong. :) --Kinu t/c 22:03, 9 January 2011 (UTC)Reply

Alternate U.S. routes edit

I also noticed that Alternate U.S. routes weren't being cited properly (i.e., the "Alternate" wasn't being printed). I've fixed that also. --Kinu t/c 23:02, 9 January 2011 (UTC)Reply

{{TxDOT|UA|77}} Transportation Planning and Programming Division (n.d.). "U.S. Highway No. 77 Alternate". Highway Designation Files. Texas Department of Transportation.

Farm to Market Spurs edit

The ref title states "FS x"; it should state "Farm to Market Spur x" Meltdown627 (talk) 21:08, 24 May 2018 (UTC)Reply

All fixed; we just needed to add the missing title code. Imzadi 1979  23:21, 24 May 2018 (UTC)Reply