Template:Idgames


This template is used for linking to a file (usually a PWAD) at the Doomworld/idgames interface (with a reference to its frontpage).

Usage

{{idgames|file=somepath|title=somename}}
{{idgames|id=somenumber|title=somename}} (Deprecated usage)

where somepath is the file's path in the archive or somenumber is the file ID and somename is normally the file's title or description (although, like any hyperlink, it can say other things instead).

Examples:

{{idgames|file=levels/doom/d-f/eternity|Eternity}} becomes Eternity at Doomworld/idgames
{{idgames|id=1046|title=Eternity}} becomes Eternity at Doomworld/idgames
  • The title can also be the first, unnamed parameter: {{idgames|Eternity|id=1046}} becomes Eternity at Doomworld/idgames.
  • The id can also be the second unnamed parameter: {{idgames|Eternity|1046}} becomes Eternity at Doomworld/idgames.
  • If no title is given, the template uses the page title.
  • If no path or id is given, the template displays an error message: Error: no file or id given, see the instructions to use this template.
  • If the "at Doomworld/idgames" bit is not desired, the linkonly parameter can be used: {{idgames|Eternity|1046|linkonly=1}} becomes Eternity. Alternatively, use the {{ig}} template.