Wiki source code of Model Railway Layout SVG
Last modified by aas2 on 2025/01/30 12:17
Hide last authors
author | version | line-number | content |
---|---|---|---|
![]() |
11.1 | 1 | This guideline is a short introduction to the naming policy of the model railway track layout svg. |
![]() |
1.1 | 2 | |
3 | (% style="font-size: 24.0px;" %)Bell | ||
4 | |||
5 | * the bell itself: //bell// | ||
6 | * number and square next to the bell: //bell0// | ||
![]() |
11.1 | 7 | * sonic beams of the bell: //bell_sonic// |
![]() |
1.1 | 8 | |
![]() |
7.1 | 9 | = Error Messages = |
10 | |||
![]() |
11.1 | 11 | * each train and wagon has a dedicated error label and number field to show errors\\ |
12 | ** the label is identified with //TRAIN_OR_WAGON_error// | ||
13 | ** the number is identified with //TRAIN_OR_WAGON_error_number//\\ | ||
14 | *** a train is identified with //trainX// | ||
15 | *** a wagon Y of train X is identified with// trainX_Y//. The front wagon has index 0, the rear wagon has index 1. | ||
16 | ** examples: //train1_error, train5_error_number, train1_0_error, train5_1_error_number// | ||
17 | * there is one additional error label and number to show collision errors. These are //collision_error// and //collision_error_number// | ||
![]() |
7.1 | 18 | |
![]() |
1.1 | 19 | = Lamps = |
20 | |||
![]() |
11.1 | 21 | * lamp and corresponding number: //lampX// (e.g.// lamp0)// |
22 | * only the background of the lamps (without the corresponding number): //lampX_bg// (e.g. //lamp0_bg//) | ||
![]() |
1.1 | 23 | |
24 | = Points = | ||
25 | |||
![]() |
11.1 | 26 | * point and corresponding number: //pointX// (e.g. //point0//) |
27 | * only the background of the points (without the corresponding number): //pointX_bg// (e.g. //point0_bg//) | ||
![]() |
1.1 | 28 | |
29 | = Railroad Crossing = | ||
30 | |||
![]() |
11.1 | 31 | * number and circle: //rcX// //(//e.g.// rc0)// |
32 | * closed railroad gates (long): //gateX// (e.g. //gate0)// | ||
33 | * open railroad gates (short): //ogateX// (e.g. //ogate0//)// | ||
![]() |
1.1 | 34 | // |
35 | |||
36 | = Signals = | ||
37 | |||
![]() |
11.1 | 38 | * on unidirectional tracks: track name and chosen color //(e.g. OC_LN_2Red)// |
39 | * on bidirectional tracks: track name, direction and chosen color //(e.g. KH_ST_1fwdYellow or KH_ST_1revYellow)// | ||
![]() |
1.1 | 40 | |
![]() |
11.1 | 41 | = Contacts = |
42 | |||
43 | * //contactX// followed by its corresponding track name (e.g. //contact0KH_ST_3, contact1_KH_ST_3//) | ||
44 | * the first contact in (main) travel direction has the index 0, whereas the second contact hat the index 1. | ||
45 | |||
![]() |
1.1 | 46 | = Tracks = |
47 | |||
![]() |
11.1 | 48 | * without branches: the corresponding track name //(e.g. KH_ST_0)// |
49 | * with branches: track and branch name merged with //branch// //(e.g. KH_ST_0branchKIO_LN_0) | ||
![]() |
6.1 | 50 | // |
51 | |||
52 | = Trains = | ||
53 | |||
![]() |
11.1 | 54 | * the general naming scheme is //trainX// followed by the wagon //_Y//. The front wagon has index 0, the rear wagon has index 1.\\ |
55 | ** front wagons~:// train0_0, train1_0//, etc.// | ||
56 | // | ||
57 | ** rear wagon: //train0_1, train1_1, etc.// | ||
58 | |||
59 | = Areas = | ||
60 | |||
61 | * pink area: //KH_ST_area// | ||
62 | * yellow area: //IC_ST_area// | ||
63 | * green area: //OC_ST_area// |