Difference between revisions of "Template:IFDB/doc"
Jump to navigation
Jump to search
imported>Rqndom (update JSON (make parameters optional)) |
imported>Rqndom (update descriptions) |
||
| Line 5: | Line 5: | ||
"params": { | "params": { | ||
"id": { | "id": { | ||
| − | "description": "the IFDB game id (listed as '''TUID''' under Game Details)", | + | "description": "the IFDB game id (listed as '''TUID''' under Game Details); if empty or not specified, the id is obtained from wikidata", |
"example": "0dbnusxunq7fw5ro", | "example": "0dbnusxunq7fw5ro", | ||
"type": "line", | "type": "line", | ||
| Line 11: | Line 11: | ||
}, | }, | ||
"title": { | "title": { | ||
| − | "description": "the title of the game, to be shown as link text", | + | "description": "the title of the game, to be shown as link text; if empty or not specified, the article title is used", |
"example": "Zork I", | "example": "Zork I", | ||
"type": "line", | "type": "line", | ||
Revision as of 13:17, 24 September 2020
| 40px | This is a documentation subpage for Template:IFDB. It contains usage information, categories and other content that is not part of the original template page. |
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
Sample usage
{{IFDB | id=0dbnusxunq7fw5ro | title=Zork I}}