Module:Depicted people/doc
Jump to navigation
Jump to search
CodeDiscussionEditHistoryLinksLink count Subpages:DocumentationTestsResultsSandboxLive code All modules
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
[edit]Usage example:
{{#invoke:Depicted people|main|Q62849|Foo Bar|Q7259|Q188954|Q7439}}
Output:
Miguel de Icaza, Foo Bar, Ada Lovelace, Eric S. Raymond and Richard Stallman
From Lua
[edit]Use something as follow from Lua to have the same behaviour as above:
local s = require('Module:Depicted people')._main( {
'Q62849',
'Foo Bar',
'Q7259',
'Q188954',
'Q7439'
} )