Template:SocialLink: Difference between revisions
Appearance
Created page with "<includeonly><span style="display: inline-flex; align-items: center; gap: 0.3em;">[[{{{icon}}}|20px|frameless|link={{{link}}}|alt={{{service_name}}}]] [{{{link}}} {{{name}}}]</span></includeonly><noinclude> = Example = <pre>{{SocialLink|icon=File:Bluesky.svg|service_name=Bluesky|link=https://bsky.app/profile/dril.bsky.social|name=dril.bsky.social}}</pre> {{SocialLink|icon=File:Bluesky.svg|service_name=Bluesky|link=https://bsky.app/profile/dril.bsky.social|name=dril.bsky...." |
(No difference)
|
Revision as of 19:35, 26 January 2025
Example
{{SocialLink|icon=File:Bluesky.svg|service_name=Bluesky|link=https://bsky.app/profile/dril.bsky.social|name=dril.bsky.social}}
But generally see child templates like Template:Bluesky
Template Data
A nicely formatted link to a social media account. This is mainly intended as a metatemplate for other templates, use ones specific to a service rather than this directly.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Service Icon | icon | The icon file for the service. | File | required |
Service Name | service_name | The name of the service. | String | required |
Link | link | The link to the account on the service. | URL | required |
Account Name | name | The name of the account. | String | required |