Module talk:Template test case: Difference between revisions

Content deleted Content added
Line 81:
 
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)
:Partial answer, still looking for a real answer: A possible workaround is to use {{para|qid}} in your infobox. See [[Template:Ordination/testcases]] for an example. – [[User:Jonesey95|Jonesey95]] ([[User talk:Jonesey95|talk]]) 01:23, 3 August 2020 (UTC)