Jump to content

Module:Folger Shakespeare/config

From Wikipedia, the free encyclopedia
This is the current revision of this page, as edited by Xover (talk | contribs) at 09:31, 21 April 2024 (basic config for urls and string formats). The present address (URL) is a permanent link to this version.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

-- printf()-like format string for the Folger play URLs.
local url_pattern = 'https://www.folger.edu/explore/shakespeares-works/%s/read/%s/%s/#%s'

-- printf()-like format string for the act, scene, line display.
local location_format = '[%s %s.%s.%s].'

-- printf()-like format string for the FTLN display.
local ftln_format = '<abbr title="Folger Through-Line Number">ftln</abbr> [%s %s].'

return {
  url_pattern = url_pattern,
  location_format = location_format,
  ftln_format = ftln_format,
}