Difference between revisions of "Template:IFDB/doc"
Jump to navigation
Jump to search
imported>Rqndom m (Rqndom moved page User:Rqndom/IFDB/doc to Template:IFDB/doc: move template doc subpage draft) |
imported>Rqndom (use TemplateData for documentation) |
||
| Line 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
<!-- Add categories where indicated at the bottom of this page and interwikis at Wikidata --> | <!-- Add categories where indicated at the bottom of this page and interwikis at Wikidata --> | ||
| − | Use this template to reference entries on the [https://ifdb.tads.org/ Interactive Fiction Database]. | + | {{Format TemplateData|JSON= |
| + | { | ||
| + | "params": { | ||
| + | "id": { | ||
| + | "description": "the IFDB game id (listed as '''TUID''' under Game Details)", | ||
| + | "example": "0dbnusxunq7fw5ro", | ||
| + | "type": "line", | ||
| + | "required": true | ||
| + | }, | ||
| + | "title": { | ||
| + | "description": "the title of the game, to be shown as link text", | ||
| + | "example": "Zork I", | ||
| + | "type": "line", | ||
| + | "required": true | ||
| + | } | ||
| + | }, | ||
| + | "description": "Use this template to reference entries on the [https://ifdb.tads.org/ Interactive Fiction Database].", | ||
| + | "format": "inline" | ||
| + | } | ||
| + | |TOC=1}} | ||
| + | |||
== Usage == | == Usage == | ||
Sample usage: | Sample usage: | ||
| Line 7: | Line 27: | ||
{{IFDB | id=0dbnusxunq7fw5ro | title=Zork I}} | {{IFDB | id=0dbnusxunq7fw5ro | title=Zork I}} | ||
</pre> | </pre> | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
<includeonly>{{sandbox other|| | <includeonly>{{sandbox other|| | ||
Revision as of 14:03, 13 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)
| Line | required |
| title | title | the title of the game, to be shown as link text
| Line | required |
Format: inline
Usage
Sample usage:
{{IFDB | id=0dbnusxunq7fw5ro | title=Zork I}}