User:Chuq/Template talk:Infobox Australian Road

From Wikipedia, the free encyclopedia

[edit] Testing

Midlands Highway
Length 176 km
General direction north-south
Route: Bridgewater
Bagdad
Campbell Town
Perth

Launceston
Davey Street
Length 3 km
General direction northeast-southwest
Route: Hobart
{{{through}}}
South Hobart

Just playing about here! Ideas:

  • Set the "through" field automatically use smaller text (font-size:90%)
  • Include distances (like dist# and location# in Place template)
  • Have a set definition on which end is the "start" and which is the "finish" :)
  • Auto generate the correct shield image from a variable, so no need to know the image names
  • Have a different colour background in the 'header' depending on if it is highway, street, etc. like the Place template.

Not that I'm making requests or demands, I was just wondering which of these people thought were more important! (Or not a good idea to start with!) -- Chuq 08:04, 2 December 2006 (UTC)

You will notice the result of more of my testing on the right. Setting type=highway makes it green, type=street makes it red. Haven't done anything else fancy (such as making variables optional based on the type) yet! -- Chuq 10:02, 2 December 2006 (UTC)