Template:IFDB/sandbox
Jump to navigation
Jump to search
IFDB/sandbox on the Interactive Fiction Database
| This is the template sandbox page for Template:IFDB (diff). |
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.
Contents
Template parameters
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| id | id | the IFDB game id (listed as TUID under Game Details); if empty or not specified, the id is obtained from wikidata
| Line | optional |
| title | title | the title of the game, to be shown as link text; if empty or not specified, the article title is used
| Line | suggested |
Format: inline
Test of raw TemplateData output:
Use this template to reference entries on the https://ifdb.tads.org/ Interactive Fiction Database.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Id | id | the IFDB game id (listed as TUID under Game Details); if empty or not specified, the id is obtained from wikidata
| Line | optional |
| Title | title | the title of the game, to be shown as link text; if empty or not specified, the article title is used
| Line | suggested |
Sample usage
- Specify
idandtitle:
{{IFDB | id=0dbnusxunq7fw5ro | title=Zork I}}
- Specify title only (
idis read from Wikidata):
{{IFDB | title=Zork I}}
- Use without any parameters (
idis read from Wikidata, and the article name is used fortitle):
{{IFDB}}
Note
Always preview the page when using this template without specifying the id,
to make sure it is correctly imported from Wikidata.
| The above documentation is transcluded from Template:IFDB/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |