Template:GemID/doc: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 8: | Line 8: | ||
=== Syntax === | === Syntax === | ||
<code><nowiki>{{GemID| | <code><nowiki>{{GemID|id|caption|css=styles}}</nowiki></code> | ||
* ''' | * '''id''': The id of the ''Gemini Station'' user that the template should link to. | ||
* '''caption''': An optional caption for the link. In other words, the text that forms the link. Defaults to the user name. | * '''caption''': An optional caption for the link. In other words, the text that forms the link. Defaults to the user name. | ||
* '''styles''': Optional [[H:CYS#CSS Properties|CSS properties]] separated by semicolons. | * '''styles''': Optional [[H:CYS#CSS Properties|CSS properties]] separated by semicolons. | ||
| Line 21: | Line 21: | ||
! Output | ! Output | ||
|- | |- | ||
|<code><nowiki>{{GemID| | |<code><nowiki>{{GemID|12|My Profile|css=color:red; text-decoration:underline;}}</nowiki></code> | ||
|{{GemID| | |{{GemID|12|My Profile|css=color:red; text-decoration:underline;}} | ||
|} | |} | ||
<includeonly>[[Category:User templates]]</includeonly> | <includeonly>[[Category:User templates]]</includeonly> | ||
Latest revision as of 16:00, 19 June 2020
This template should only be used in the User: namespace
Usage
Provides a link to the profile page for a Gemini Station user.
Syntax
{{GemID|id|caption|css=styles}}
- id: The id of the Gemini Station user that the template should link to.
- caption: An optional caption for the link. In other words, the text that forms the link. Defaults to the user name.
- styles: Optional CSS properties separated by semicolons.
Example
| Input | Output |
|---|---|
{{GemID|12|My Profile|css=color:red; text-decoration:underline;}}
|
My Profile |
