Page history
24 June 2023
13 June 2022
no edit summary
−5
i have no idea how regex is supposed to work in lua
−4
no edit summary
+6
Created page with "local p={} function p.regionSwitcher(frame) local nameWithoutSuffix=mw.ustring.gsub(mw.getCurrentTitle().prefixedText,'( \\(Asia\\))|( \\(China\\))','') return [=[{| style="margin: auto; text-align: center" class="toccolours" ! style="background:#cceeff" width="120px"|Region Switcher |- | style="font-size:90%;"| [[]=]..nameWithoutSuffix..[=[|Japan]] - [[]=]..nameWithoutSuffix..[=[ (Asia)|Asia]] - [[]=]..nameWithoutSuffix..[=[ (China)|China]] |}]=] end return p"
+467