Module:Depicted people/doc
< Module:Depicted people
Jump to navigation
Jump to search
Revision as of 09:37, 27 July 2020 by Imported>Sarang (+cat)
This is the documentation page for Module:Depicted people
The Module:Depicted people lists provided subjects. They can be both strings or Wikidata entity IDs. When they are Wikidata entity IDs, a wikilink on the user's language Wikipedia to that subject is provided.
Actually it list whatever Wikidata entity is provided, so the name should be Module:Wikidata labels or something more clear.
From Wikitext
Usage example:
{{#invoke:Depicted people|main|Q62849|Foo Bar|Q7259|Q188954|Q7439}}
Output:
Lua error in Module:Wikidata_label at line 283: attempt to index field 'wikibase' (a nil value).
From Lua
Use something as follow from Lua to have the same behaviour as above:
<source lang="lua"> local s = require('Module:Depicted people')._main( { 'Q62849', 'Foo Bar', 'Q7259', 'Q188954', 'Q7439' } ) </source>