Template:Forums user: Difference between revisions
Template page
More actions
Create Forums user link template |
m Replace reader-visible prose double hyphens with a proper em dash entity |
||
| Line 6: | Line 6: | ||
Renders as: [https://forums.lokamc.com/members/1 Cryptite] | Renders as: [https://forums.lokamc.com/members/1 Cryptite] | ||
The first unnamed parameter (or <code>id</code>) is the member's numeric forums user ID | The first unnamed parameter (or <code>id</code>) is the member's numeric forums user ID — visible in their profile URL, e.g. <code>1</code> for <code>https://forums.lokamc.com/members/1</code>. There's no way to look up a display name from the ID alone (this install has no extension that can fetch external data), so the second unnamed parameter (or <code>name</code>) is also required — without it, the ID itself is shown as a fallback. | ||
== Parameters == | == Parameters == | ||
Latest revision as of 14:18, 23 August 2026
Usage
{{Forums user|1|Cryptite}}
Renders as: Cryptite
The first unnamed parameter (or id) is the member's numeric forums user ID — visible in their profile URL, e.g. 1 for https://forums.lokamc.com/members/1. There's no way to look up a display name from the ID alone (this install has no extension that can fetch external data), so the second unnamed parameter (or name) is also required — without it, the ID itself is shown as a fallback.
Parameters
| Parameter | Description |
|---|---|
id
|
The member's numeric forums user ID. Required. The first unnamed parameter also works. |
name
|
The member's display name. Falls back to the raw ID if omitted. The second unnamed parameter also works. |