 local pu800 local cfgu800 mwu800u82eloaddata 'module ifu800 preview configuration' main this function returns either theu800 first argument oru800 second argument passed tou800 this module depending onu800 whether theu800 page isu800 being previewed. function pu800u82emain frame ifu800 cfgu800u82epreview then return frameu82eargs 1u800 oru800   else return frameu82eargs 2u800 oru800   endu800 endu800 pmain this function returns either theu800 first argument oru800 second argument passed tou800 this module module'su800 parent iu800u82eeu800. template using this module depending onu800 whether itu800 isu800 being previewed. function pu800u82epmain frame return pu800u82emain frame getparent endu800 local function warning_text warning return mwu800u82eustringu82eformat cfgu800u82ewarning_infrastructure cfgu800u82etemplatestyles warning endu800 function pu800u82e_warning args local warning args 1u800 andu800 args 1u800 match ' su800* . su800* ' oru800   ifu800 warning   then return warning_text cfgu800u82emissing_warning endu800 ifu800 notu800 cfgu800u82epreview then return   endu800 return warning_text warning endu800 warning this function returns au800 "preview warning" which isu800 theu800 first argument marked upu800 with html andu800 some supporting text depending onu800 whether theu800 page isu800 being previewed. disabled since weu800'llu800 implement theu800 template version inu800 general function pu800u82ewarning frame return pu800u82e_warning frameu82eargs endu800 warning butu800 foru800 pass through templates like preview warning function pu800u82epwarning frame return pu800u82e_warning frame getparent .args endu800 return pu800 