Move templatesWithParams from BasePage into Page

templatesWithParams has no suitable implementation for a WikibasePage,
and causes exceptions when mwparserfromhell is not available and
textlib.extract_templates_and_params_regex is used as a fallback.

Bug: T71664
Change-Id: Ia225ba19426c8819a23aa3c9a803d58302bf796e
Merge "Move templatesWithParams from BasePage into Page"