Template:Competnuser

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



Usage

This is used for linking to a user's demos list at Compet-n, as:

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

where somenumber is the user ID and somename is normally the user's name or alias (although, like any hyperlink, it can say other things instead).

Example: {{competnuser|id=1|title=Adam 'Adamh' Hegyi}} becomes Adam 'Adamh' Hegyi at Compet-n

  • The title can also be the first, unnamed parameter: {{competnuser|Adam Hegyi's demos|id=1}} becomes Adam Hegyi's demos at Compet-n.
  • The id can also be the second unnamed parameter: {{competnuser|Adam Hegyi's demos|1}} becomes Adam Hegyi's demos 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: {{competnuser|Adamh|1|linkonly=1}} becomes Adamh.

The user is automatically added to category Compet-n players.