Jump to content

Module:Road data/strings/ZAF

Permanently protected module
From Wikipedia, the free encyclopedia

--[==[
To inspect the content of this data module, use [[Special:ExpandTemplates]]
and enter the following input text:
  {{#invoke:Road data/dump|dump|module=Module:<name-of-this-module>}}

To inspect the content of this data module when editing, enter the following
into the Debug console:
  local util = require("Module:Road data/util")
  print(util.arrayToString(p))
To inspect a particular route type, change `p` above to include the route type,
e.g., `p.I` and `p["US-Hist"]`.
]==]

-- South Africa
local ZAF = {}

local util = require("Module:Road data/util")

ZAF.N = {
	shieldmain = "SA road N%route%.svg",
	shieldlist = "SA road N%route%.svg",
	shield = "SA road N%route%.svg",
	shieldto = "SA road to N%route%.svg",
    name = "N%route%",
    link = "N%route% (South Africa)",
    abbr = "N%route%",
    color = "motorway"
    
}

ZAF.R = {
	shield = "SA road R%route%.svg",
    name = "R%route%",
    link = "R%route% (South Africa)",
    abbr = "R%route%"
    
}
    
ZAF.M = {
	shield = "M%route% ZAF jct.svg",
	shieldmain = "SA road M%route%.svg",
    name = "M%route%",
    link = "M%route% ([dab||%dab%|South Africa])",
    abbr = "M%route%",
    color = "motorway"
	
}

ZAF.ELM = {
	shield = "M%route% ZAF jct.svg",
	shieldmain = "SA road M%route%.svg",
    name = "M%route%",
    link = "M%route% (East London)",
    abbr = "M%route%"
}

ZAF.CTM = {
	shield = "M%route% ZAF jct.svg",
	shieldmain =  "SA road M%route%.svg",
    name = ZAF.M.name,
    link = "M%route% (Cape Town)",
    abbr = "M%route%"
}

ZAF.JM = {
	shield = {
		arg = "route",
		default = "M%route% ZAF jct.svg",
		["1"] = "M%route% ZAF jct blue.svg",
		["2"] = "M%route% ZAF jct blue.svg",
	},
	shieldmain = "Joburg road M%route%.svg",
    name = ZAF.M.name,
    link = "M%route% (Johannesburg)",
    abbr = "M%route%"
}

ZAF.PRM = {
	shield = "M%route% ZAF jct.svg",
	shieldmain = "Joburg road M%route%.svg",
    name = ZAF.M.name,
    link = "M%route% (Pretoria)",
    abbr = "M%route%"
}


ZAF.DM = {
	shield = "M%route% ZAF jct.svg",
	shieldmain = "Durban road M%route%.svg",
    name = ZAF.M.name,
    link = "M%route% (Durban)",
    abbr = "M%route%"
}    
    

ZAF.BLM = {
	shield = "M%route% ZAF jct.svg",
	shieldmain = "SA road M%route%.svg",
    name = ZAF.M.name,
    link = "M%route% (Bloemfontein)",
    abbr = "M%route%"
}

ZAF.PEM = {
	shield = "M%route% ZAF jct.svg",
	shieldmain = "Port Elizabeth road M%route%.svg",
    name = ZAF.M.name,
    link = "M%route% (Port Elizabeth)",
    abbr = "M%route%"
}

ZAF.PIM = {
	shield = "M%route% ZAF jct.svg",
	shieldmain = "SA road M%route%.svg",
    name = ZAF.M.name,
    link = "M%route% (Pietermaritzburg)",
    abbr = "M%route%"
	
}

ZAF.RING = {
	shield =  "%route% Ring Road",
    name =  "%route% Ring Road",
    link = "%route% Ring Road",
    abbr = "%route% Ring Road"
	
}

return ZAF