Israel Railways templates

edit

What do you need help with?

I want to improve the box for Israel Railways stations so it will be like that of the London Underground one (with line colors, etc.) IgKh 13:02, 16 June 2006 (UTC)Reply

Please provide the article title so i can see the problems. Aleenf1 14:43, 16 June 2006 (UTC)Reply

Perhaps this is the box you mean?

London Underground lines
Name Map colour First section opened Name dates from Type Length
Bakerloo Line Brown 1906 1906 Deep level 23 km / 14 miles
Central Line Red 1900 1900 Deep level 74 km / 46 miles
Circle Line Yellow 1884 1949 Sub-surface 22 km / 14 miles
District Line Green 1868 1868-1905 Sub-surface 64 km / 40 miles
East London Line Orange 1869 1980s Sub-surface 8 km / 5 miles
Hammersmith & City Line Pink 1863 1988 Sub-surface 14 km / 9 miles
Jubilee Line Silver 1879 1979 Deep level 36 km / 23 miles
Metropolitan Line Purple 1863 1863 Sub-surface 67 km / 42 miles
Northern Line Black 1890 1937 Deep level 58 km / 36 miles
Piccadilly Line Dark Blue 1906 1906 Deep level 71 km / 44 miles
Victoria Line Light Blue 1969 1969 Deep level 21 km / 13 miles
Waterloo & City Line Teal 1898 1898 Deep level 2 km / 1.5 miles

from London Underground ? Rich Farmbrough 14:45 16 June 2006 (GMT).

No, not this one. In the bottom of each Underground Station article (such as Russell_Square_tube_station) there is a small box that states the lines that pass through the station, their color, and the next and previous stations.

The boxes on the few articles on Israel Railways stations (see Jerusalem_Malcha_Train_Station), are broken - no color, bad titles, etc. IgKh 15:45, 16 June 2006 (UTC)Reply

Do you mean this fellow here?:
{{start LUL box}}
{{LUL line|previous=[[Holborn tube station|Holborn]]|line=Piccadilly Line|next=[[King's Cross St. Pancras tube station|King's Cross]]}}
{{end box}}

Budgiekiller 16:40, 16 June 2006 (UTC)Reply

Yes. How can I create a box template like this for Israel Railways lines? And another question: how can I create new stub categories? IgKh 16:47, 16 June 2006 (UTC)Reply

See Wikipedia:Stub #Additional information for instructions on new stub categories. Aleenf1 17:06, 16 June 2006 (UTC)Reply

OK the first box is

{{start LUL box}} {{LUL line|previous=[[Holborn tube station|Holborn]]|line=Piccadilly Line|next=[[King's Cross St. Pancras tube station|King's Cross]]}} {{end box}}

The second is

{{Start Israel Railways box}} {{Israel Railways line|term1=|previous=''Terminus''|line=Jerusalem-Kfar Saba Line|next=[[Biblical Zoo (Israel Railways station)|Biblical Zoo]]|term2=[[Kfar Saba-Hod Hasharon (Israel Railways station)|Kfar Saba-Hod Hasharon]]}} {{end box}}

The curly brackets invoke templates: these are pages that are substituted with the variable listed in the appropriate place (and can get quite complicated). If you look at the templates they are very similar but the one you are lloking at uses an argument called "line color" in this expression style="background:# . If you try setting this to a suitable value (I'm cheating and using {{rcr|London Underground|Waterloo & City}} from the big box above) you get

Preceding station   Israel Railways   Following station
Terminus   {{{route}}}   Biblical Zoo
towards Kfar Saba-Hod Hasharon

which shows us there is a bug in the template. Actually there seems to be more than one, because I fixed the obvious one, and it was still broken. But that's how to do it. Rich Farmbrough 18:28 16 June 2006 (GMT).

OK tmeplate now fixed. Rich Farmbrough 18:36 16 June 2006 (GMT).
Thank you very much! The only problem left is that both columns say "Next Station", rather than "Previous Station" and "Next Station".

IgKh 18:48, 16 June 2006 (UTC)Reply

That is becasue it depends on which direction you're going, I suppose. Template:Start Israel Railways box is the place to go to change it if you want to. Rich Farmbrough 22:03 28 June 2006 (GMT).

Shalom, I was wondering if you had any suggestions and improvements to the template version I used in the articles I created. Best and most complex example is at Tel Aviv Merkaz Railway Station. On a different subject – I left an answer form you on my talk page. Db1944 20:42, 20 August 2006 (UTC)Reply

Image:Jersualem-CBS.JPG

edit

I hope you don't mind I've uploaded your lovely picture to commons:Image:Jersualem-CBS.jpg
Best regards, Yuval YChat21:52, 12 November 2006 (UTC)Reply

Speedy deletion nomination of File:Jersualem-CBS.jpg

edit

Hi IgKh: The above was mistakenly placed on my page. Thanks. IZAK (talk) 07:06, 11 July 2010 (UTC)Reply