Template:Competnuserp

From DoomWiki.org

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




Usage

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

{{competnuserp|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: {{competnuserp|id=1|title=Adam 'Adamh' Hegyi}} becomes Adam 'Adamh' Hegyi at Compet-n

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