There is a template which is designed to make a table of all items that are listed as being at location using {{PAGENAME}} function, so on that page. Creates table called 'What to Catch' and works fine, until I created page of Lover's Lake.
Table on that page is an empty table and I suspect it is because I created the page using an apostrophe, so it is not transcluding and matching the Lover's Lake to Lover's Lake. The template itself is Farovia fish summary and I have worked out that in the template I can use Titleparts function for example: {{#titleparts: {{PAGENAME}} }} for each item for this location of Lover's Lake which appears to work.
My question is this a correct way to do this or will I come upon other unintended issues later? Is there another or better way of doing this. Hindsight, I should have simply avoid apostrophe altogether, and guess I could and rename the page and edit lots of other pages that is linked too, but would prefer to only edit one or couple pages instead of all those. Also if needed each page also uses Template:FishInfobox which also uses Template:FishInfo