Template:Dsda

From DoomWiki.org

Revision as of 06:31, 19 December 2016 by Xymph (talk | contribs) (fix template name in documentation)

Error: no id given, see the instructions to use this template.




Usage

This is used for linking to a file (usually a PWAD) at the Doomed Speed Demos Archive, as:

{{dsda|id=somenumber|title=somename}}

where 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).

Example: {{dsda|id=1243|title=Suspended in Dusk}} becomes Suspended in Dusk (archived 🏛) at the Doomed Speed Demos Archive

  • The title can also be the first, unnamed parameter: {{dsda|Suspended in Dusk|id=1243}} becomes Suspended in Dusk (archived 🏛) at the Doomed Speed Demos Archive.
  • The id can also be the second unnamed parameter: {{dsda|Suspended in Dusk|1243}} becomes Suspended in Dusk (archived 🏛) at the Doomed Speed Demos Archive.
  • For WADs with multiple pages, a map number can be specified with the mapid parameter. This follows DSDA's URL format, e.g. "mapid=211" for MAP11 or "mapid=142" for E4M2.
  • If no title is given, the template uses the page title.
  • If no id is given, the template displays an error message: Error: no id given, see the instructions to use this template.
  • If the "at the Doomed Speed Demos Archive" bit is not desired, the linkonly parameter can be used: {{dsda|Suspended in Dusk|1243|linkonly=1}} becomes Suspended in Dusk (archived 🏛).