Module:PagedGallery: Difference between revisions

Want an adless experience? Log in or Create an account.
m
fix regex escapes
m (it doesn't like braces)
m (fix regex escapes)
Line 2: Line 2:
local Box = require( 'Module:Box' ).Box
local Box = require( 'Module:Box' ).Box


local PAGE_NUMBER_FORMAT = "\((#+)\)"
local PAGE_NUMBER_FORMAT = "%((#+)%)"


local PagedGallery = Box.new()
local PagedGallery = Box.new()
Line 74: Line 74:
   getParent = function() return {
   getParent = function() return {
     args = {
     args = {
       format = 'The-Legend-of-Zelda-North-American-Instruction-Manual-Page-{##}.jpg',
       format = 'The-Legend-of-Zelda-North-American-Instruction-Manual-Page-(##).jpg',
       numPages = 47
       numPages = 47
     }
     }