Module talk:Template test case: Difference between revisions

Content deleted Content added
Line 80:
== How to specify page name? ==
 
I looked through the documentation, but I was unable to find a way to specify the page name (magic word PAGENAME) in a template test case. For templates that use Wikidata calls, for example, the Wikidata call checks the PAGENAME and retrieves the appropriate bit of data from the corresponding Wikidata page. Is there a way to do this? The result would be to render the template as it would appear when processed by [[Special:ExpandTemplates]] with the appropriate PAGENAME entered in the upper text field. – [[User:Jonesey95|Jonesey95]] ([[User talk:Jonesey95|talk]]) 22:55, 23 July 2020 (UTC)