Difference between revisions of "Template:IFDB/doc"

From blackwiki
Jump to navigation Jump to search
imported>Rqndom
imported>Rqndom
(update JSON (make parameters optional))
Line 8: Line 8:
 
"example": "0dbnusxunq7fw5ro",
 
"example": "0dbnusxunq7fw5ro",
 
"type": "line",
 
"type": "line",
"required": true
+
"required": false
 
},
 
},
 
"title": {
 
"title": {
Line 14: Line 14:
 
"example": "Zork I",
 
"example": "Zork I",
 
"type": "line",
 
"type": "line",
"required": true
+
"required": false,
 +
"suggested": true
 
}
 
}
 
},
 
},

Revision as of 13:13, 24 September 2020

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)
Example
0dbnusxunq7fw5ro
Lineoptional
titletitle
the title of the game, to be shown as link text
Example
Zork I
Linesuggested

Format: inline

Sample usage

{{IFDB | id=0dbnusxunq7fw5ro | title=Zork I}}