Las estaciones adyacentes son una plantilla de cuadro de sucesión especializada que vincula los artículos de estaciones adyacentes, junto con los terminales de una o más líneas o servicios. Es una versión Lua de {{ S-line }} (ver diferencias).
Antes de poder utilizar la plantilla, es necesario crear un módulo que incluya información sobre el sistema de transporte, como el título, las líneas y los terminales de esas líneas. El módulo de datos debe ser una subpágina de Módulo:Estaciones adyacentes (Módulo:Estaciones adyacentes/ sistema ) y debe tener una estructura específica.
Consulte Módulo: Estaciones adyacentes para obtener una guía sobre cómo crear y editar módulos de datos. Tenga en cuenta que esta plantilla no utiliza todas las variables.
Si existe un sistema en {{ S-line }} , también puede utilizar Special :ExpandTemplates para simplificar la creación de subpáginas para líneas con dos extremos. Deberá reemplazar cada dos espacios con un espacio de tabulación después.{{Adjacent stations/row|system|line}}
Para varias líneas o sistemas, esta plantilla solo se debe incluir una vez. A cada línea se le asigna un número. Los parámetros de la línea correspondiente tienen como sufijo el número (por ejemplo system2
, , line2
). Los parámetros sin sufijo numérico se tratan como grupo 1.
Después de crear la subpágina del módulo, puede utilizar la convert
función Módulo:Estaciones adyacentes para reemplazar las inclusiones de las plantillas de la serie S-line (esto actualmente no funciona con las plantillas de la serie {{ Rail line }} ). Esto se puede automatizar de forma semiautomática utilizando expresiones regulares en AWB y otras herramientas:
La conversión no funcionará si
La salida de {{ Adjacent stations }} es casi idéntica a la de {{ S-line }} , pero se utiliza de forma diferente. A continuación se muestran listas de elementos comparables en las dos plantillas.