Template:Competnwad

From DoomWiki.org

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




Usage

This is used for linking to a file (usually a PWAD) at Compet-n, as:

{{competnwad|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: {{competnwad|id=7|title=Scythe}} becomes Scythe at Compet-n

  • The title can also be the first, unnamed parameter: {{competnwad|Scythe|id=7}} becomes Scythe at Compet-n.
  • The id can also be the second unnamed parameter: {{competnwad|Scythe|7}} becomes Scythe at Compet-n.
  • 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 Compet-n" bit is not desired, the linkonly parameter can be used: {{competnwad|Scythe|7|linkonly=1}} becomes Scythe.