Template:IFDB/sandbox

From blackwiki
Jump to navigation Jump to search

IFDB/sandbox on the Interactive Fiction Database

Template documentation[view] [edit] [history] [purge]
This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.

TemplateData for IFDB

Use this template to reference entries on the Interactive Fiction Database.

Template parameters

ParameterDescriptionTypeStatus
idid
the IFDB game id (listed as TUID under Game Details); if empty or not specified, the id is obtained from wikidata
Example
0dbnusxunq7fw5ro
Lineoptional
titletitle
the title of the game, to be shown as link text; if empty or not specified, the article title is used
Example
Zork I
Linesuggested

Format: inline

Test of raw TemplateData output:

Use this template to reference entries on the https://ifdb.tads.org/ Interactive Fiction Database.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Idid

the IFDB game id (listed as TUID under Game Details); if empty or not specified, the id is obtained from wikidata

Example
0dbnusxunq7fw5ro
Lineoptional
Titletitle

the title of the game, to be shown as link text; if empty or not specified, the article title is used

Example
Zork I
Linesuggested

Sample usage

  • Specify id and title:
{{IFDB | id=0dbnusxunq7fw5ro | title=Zork I}}
  • Specify title only (id is read from Wikidata):
{{IFDB | title=Zork I}}
  • Use without any parameters (id is read from Wikidata, and the article name is used for title):
{{IFDB}}

Note

Always preview the page when using this template without specifying the id, to make sure it is correctly imported from Wikidata.