Content deleted Content added
BrandonXLF (talk | contribs) No edit summary Tag: Reverted |
BrandonXLF (talk | contribs) Plural routes Tag: Reverted |
||
Line 64:
until not args[prefix .. index]
return out, index - 1 > 1 and 'routes' or 'route'
end
Line 74:
local routeType = args.curr_type
local routeLoc = args.curr_province
return string.format(
frame:preprocess(
[[{{s-start}}
|-
! colspan=3 | %s
|- style="text-align: center;"
| style="width:30%%;" | Previous
| style="width:40%%;" | %s
| style="width:30%%;" | Next
{{s-end}}]]
),
types[type] or args.title or error('Type or title missing'),
prevWord,
▲ edgeColumn('prev', routeLoc, args),
prev,
showRoute(route, routeType, routeLoc, routeLoc),
nextWord,
▲ edgeColumn('next', routeLoc, args)
next
)
end
|