Template:Infobox video game series/Wikidata
< Template:Infobox video game series
Jump to navigation
Jump to search
Revision as of 16:35, 2 May 2014 by imported>Jackmcbarn (wrap entire template in includeonly to avoid script errors)
| This template uses Lua: |
This is a version of Template:Infobox video game series which autofills the fields "Genres", "Publishers" and "Platforms" from Wikidata if they are omitted from the article (local values for the parameters override the Wikidata call).
The template was created as a proof-of-concept for autofilling infoboxes, per the discussion at Wikipedia talk:Wikidata/Archive 2 #Video game series.
The template calls Module:Wikidata.
Usage
- Example
- Copy the text below, paste it into any section of Assassin's Creed and preview it (please don't save!).
{{Infobox video game series/Wikidata
| image = <!-- Commented out: [[image:Assassin's Creed cover.png]] -->
| caption = [[DVD region code#Region_codes_and_countries|Region 1]] cover
}}
This produces the equivalent of:
| Assassin's Creed | |
|---|---|
| Genre(s) | Action-adventure game |
| Publisher(s) | Ubisoft |
| The above documentation is transcluded from Template:Infobox video game series/Wikidata/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |