Zoekresultaten

Naar navigatie springen Naar zoeken springen
  • -- namespace we are in. $2 is a link to the main template page, and $3 is a diff link between -- the sandbox and the main template. The display value of the diff link is set by
    18 kB (2.083 woorden) - 2 sep 2019 14:55
  • In the most basic scenario, you can use getArgs inside your main function. The variable <code>args</code> is a table containing the argument function p.main(frame)
    16 kB (2.443 woorden) - 25 sep 2019 14:57
  • -- Main function p.main = makeInvokeFunc('_main')
    36 kB (4.462 woorden) - 5 nov 2019 12:47
  • and subpage ~= "testcases" -- It works in the main namespace on Meta because it allows subpages there
    12 kB (1.612 woorden) - 5 nov 2019 12:39
  • ...sing sandbox version of the library from the debug console. To run against main lib, use =p.run() local frame = mw.getCurrentFrame():newChild{title='testcases', args={module=libName .. '/sandbox', displayMode='log'}}
    18 kB (2.092 woorden) - 25 sep 2019 14:49
  • if subpage == 'doc' or subpage == 'sandbox' or subpage == 'testcases' then return end -- Main navbox tables
    13 kB (1.787 woorden) - 25 sep 2019 14:49
  • local testcases = (string.sub(title.subpageText,1,9) == 'testcases') testcases == false and
    41 kB (7.070 woorden) - 25 sep 2019 14:56