Template:GemID/doc: Difference between revisions

From [N8]
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 8: Line 8:
=== Syntax ===
=== Syntax ===


<code><nowiki>{{GemID|name|caption|css=styles}}</nowiki></code>
<code><nowiki>{{GemID|id|caption|css=styles}}</nowiki></code>


* '''name''': The name of the ''Gemini Station'' user that the template should link to.
* '''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|Banri|My Profile|css=color:red; text-decoration:underline;}}</nowiki></code>
|<code><nowiki>{{GemID|12|My Profile|css=color:red; text-decoration:underline;}}</nowiki></code>
|{{GemID|Banri|My Profile|css=color:red; text-decoration:underline;}}
|{{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 is a documentation subpage for Template:GemID.
It contains usage information, categories, and other content that is not part of the original template page.

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