localexport={}functionexport.show(frame)-- [[mw:Extension:Scirbunto/Lua_reference_manual#Accessing_parameters_from_wikitext]]-- it changes parameters order from original to unpredictable-- example: |p=15|10=1|20=2|30=3 >> |30=3|p=15|20=2|10=1 (1234 >> 4132)localargs=frame:getParent().argslocalp=(args["p"]andtonumber(args["p"])orerror("Missing parameter 'p' (position-X)"))localbottomforborderinpairs(args)doifborder~="p"andborder~="default"thenborder=tonumber(border)ifp>=borderthen-- this border is bottomifbottom==nilorborder>bottomthen-- old bottom is fartherbottom=borderendendendendifbottom==nilthenreturn(args["default"]or"")endbottom=args[tostring(bottom)]ifbottom=="@"thenreturn(args["default"]or"")endreturnbottomendreturnexport