Jump to content
 







Main menu
   


Navigation  



Main page
Contents
Current events
Random article
About Wikipedia
Contact us
Donate
 




Contribute  



Help
Learn to edit
Community portal
Recent changes
Upload file
 








Search  

































Create account

Log in
 









Create account
 Log in
 




Pages for logged out editors learn more  



Contributions
Talk
 

















Module:Adjacent stations/i18n






العربية
تۆرکجه
Basa Bali

 / Bân-lâm-gú
Беларуская

الدارجة
فارسی
Français

/Hak-kâ-ngî

ि
Hrvatski
Bahasa Indonesia
עברית
Jawa
Kurdî
Magyar
ि
Македонски

مصرى
Bahasa Melayu
Minangkabau
 / Mìng-dĕ̤ng-nḡ




پنجابی
Português
Русский

Simple English
سنڌي
Slovenščina
کوردی
Tagalog
ி
 


Türkçe
Tiếng Vit
ייִדיש


 

Edit links
 









Module
Talk
 

















Read
View source
View history
 








Tools
   


Actions  



Read
View source
View history
 




General  



What links here
Related changes
Upload file
Special pages
Permanent link
Page information
Get shortened URL
Download QR code
Wikidata item
 




Print/export  



Download as PDF
Printable version
 
















Appearance
   

 





Permanently protected module

From Wikipedia, the free encyclopedia
 

< Module:Adjacent stations

I18n for Module:Adjacent stations

local p = {}

p = {
 ['en-GB'] = {
  ['preceding'] = function(s)
   return s and 'Preceding ' .. s
  end,
  ['following'] = function(s)
   return s and 'Following ' .. s
  end,
  ['stop_noun'] = 'station',
  ['nonstop_past'] = function(s)
   return s and s .. ' did not stop here'
  end,
  ['nonstop_present'] = function(s)
   return s and s .. ' does not stop here'
  end,
  ['comma'] = function(s)
   return s and ', ' .. s
  end,
  ['or'] = function(s)
   return s and ' or ' .. s
  end,
  ['via-first'] = false, -- If the «via» text comes before termini, change to «true»
  ['via'] = function(s)
   return s and ' via&nbsp;' .. s
  end,
  ['comma-format'] = ',%s+',
  ['or-format'] = '%s+or%s+',
  ['via-format'] = '%s+via%s+(.+)$', -- first match is station name
  ['towards'] = function(s)
   return s and 'towards ' .. s
  end,
  ['through'] = function(s)
   return s and 'through to ' .. s
  end,
  ['reverse'] = 'Reverses direction',
  ['oneway'] = 'One-way operation',
  ['terminus'] = 'Terminus',
  ['transfer'] = function(s)
   return s and 'transfer at ' .. s
  end,
  ['error_duplicate'] = function(s)
   return s and 'Same row number used multiple times for ' .. s
  end,
  ['error_format'] = 'Station format table missing in data page',
  ['error_line'] = 'Lines table missing in data module',
  ['error_missing'] = function(s)
   return s and '"' .. (s or '') .. '" is missing from the data page'
  end,
  ['error_unknown'] = function(s)
   return s and 'Unknown line "' .. (s or '') .. '"'
  end
 }
}

p['en-US'] = mw.clone(p['en-GB'])
p['en-US']['towards'] = function(s) return s and 'toward ' .. s end
p['en-AU'] = mw.clone(p['en-GB'])

return p

Retrieved from "https://en.wikipedia.org/w/index.php?title=Module:Adjacent_stations/i18n&oldid=1159928783"

Category: 
Rail transport succession modules
Hidden category: 
Wikipedia template-protected modules
 



This page was last edited on 13 June 2023, at 12:15 (UTC).

Text is available under the Creative Commons Attribution-ShareAlike License 4.0; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy. Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc., a non-profit organization.



Privacy policy

About Wikipedia

Disclaimers

Contact Wikipedia

Code of Conduct

Developers

Statistics

Cookie statement

Mobile view



Wikimedia Foundation
Powered by MediaWiki