This guideline is a short introduction to the naming policy of the model railway track layout svg.
Bell
- the bell itself: bell
- number and square next to the bell: bell0
- sonic beams of the bell: bell_sonic
Error Messages
- each train and wagon has a separate error box, where an occurring error is indicated: errorbox, train and corresponding number dedicated error label and number field to show errors
- the label is identified with TRAIN_OR_WAGON_error
- the number is identified with TRAIN_OR_WAGON_error_number
- a train is identified with trainX
- a wagon Y of train X is identified with trainX_Y. The front wagon has index 0, the rear wagon has index 1.
- examples: train1_error, train5_error_number, train1_0_error, train5_1_error_number
- there is one additional error label and number to show collision errors. These are collision_error and collision_error_number
Lamps
- lamp and corresponding number: lampX (e.g. errorbox_train0)error message correlating to a particular train: error, train and corresponding number lamp0)
- only the background of the lamps (without the corresponding number): lampX_bg (e.g. errorlamp0_train0bg)
...
Points
- lamp point and the corresponding number: pointX (e.g. lamp0point0)
Points
- point and only the background of the points (without the corresponding number): pointX_bg (e.g. point0_bg)
Railroad Crossing
- number and circle: rc and the corresponding number rcX (e.g. rc0)
- closed railroad gates (long): gate and corresponding number gateX (e.g. gate0)
- open railroad gates (short): ogate and corresponding number ogateX (e.g. ogate0)
Signals
- on unidirectional tracks: track name and chosen colour color (e.g. OC_LN_2Red)
- on bidirectional tracks: track name, direction and chosen colour color (e.g. KH_ST_1fwdYellow or KH_ST_1revYellow)
Tracks
...
Contacts
- contactX followed by its corresponding track name (e.g. KHcontact0KH_ST_3, contact1_0branchKIOKH_LN_0)ST_3)
- the first contact in (main) travel direction has the index 0, whereas the second contact hat the index 1.
Tracks
- without branches: the corresponding track name (e.g. KH_ST_0)
Trains
- there are a total of 11 trains on the track, all numbered consecutively from KH_ST down to OC_ST with branches: track and branch name merged with branch (e.g. from train0_0 and train0_1 on KH_ST_1 to train10_0 and train10_1 on OC_ST_1)
- head of the train: train, number and 0 (e.g. train0_0)
- second part: train, number and 1 (e.g. train0_1)Ω0branchKIO_LN_0)
Trains
- the general naming scheme is trainX followed by the wagon _Y. The front wagon has index 0, the rear wagon has index 1.
- front wagons: train0_0, train1_0, etc.
- rear wagon: train0_1, train1_1, etc.
- front wagons: train0_0, train1_0, etc.
Areas
- pink area: KH_ST_area
- yellow area: IC_ST_area
- green area: OC_ST_area