Template:WikipediaExtract: Difference between revisions

From Morrissey-solo Wiki
(Add image)
No edit summary
Line 8: Line 8:
}}
}}
{{#get_web_data:
{{#get_web_data:
  url=https://en.wikipedia.org/w/api.php?format=json&action=query&prop=pageimages&pilimit=1&pithumbsize=300&titles={{trim| {{{1}}} }}
  url=https://en.wikipedia.org/w/api.php?format=json&action=query&prop=pageimages&pilimit=1&pilicense=any&pithumbsize=300&titles={{trim| {{{1}}} }}
  |format=JSON
  |format=JSON
  |use jsonpath
  |use jsonpath

Revision as of 07:22, 30 September 2021