Difference between revisions of "Template:BilibiliLink/doc"
Line 14: | Line 14: | ||
;Example usage | ;Example usage | ||
− | < | + | <code><nowiki>{{BilibiliLink}}</nowiki></code> → {{BilibiliLink}} (blank, only generates a default-sized logo) |
− | < | + | <code><nowiki>{{BilibiliLink|1473830}}</nowiki></code> → (Generates a link to [[Kizuna Ai]]'s channel) |
− | < | + | <code><nowiki>{{BilibiliLink|1473830|100px}}</nowiki></code> → {{BilibiliLink|1473830|100px}} (Generates a link to [[Kizuna Ai]]'s channel, changes logo size to 100px) |
− | < | + | <code><nowiki>{{BilibiliLink|1473830|60px|{{!}}left{{!}}thumb{{!}}Kizuna Ai's channel - bilibili}}</nowiki></code> → {{BilibiliLink|1473830|60px|{{!}}left{{!}}thumb{{!}}Kizuna Ai's channel - bilibili}} (Has Kizuna Ai's UID, changes logo size to 60px, floats the image to the left, creates a thumbnail version of the image) |
<noinclude>[[Category:Template documentation]]</noinclude> | <noinclude>[[Category:Template documentation]]</noinclude> |
Revision as of 20:23, 5 April 2023
- Introduction
This template generates a Bilibili logo that links to a personal account of a Bilibili user. It is usually included inside infoboxes of people such as VTubers.
- Parameters
{{BilibiliLink |UID |Logo, default size is 40px |To manually fill in the other image parameters, you need to use {{!}} instead of the pipe character }}
- Example usage
{{BilibiliLink}}
→ (blank, only generates a default-sized logo)
{{BilibiliLink|1473830}}
→ (Generates a link to Kizuna Ai's channel)
{{BilibiliLink|1473830|100px}}
→ (Generates a link to Kizuna Ai's channel, changes logo size to 100px)
{{BilibiliLink|1473830|60px|{{!}}left{{!}}thumb{{!}}Kizuna Ai's channel - bilibili}}
→
(Has Kizuna Ai's UID, changes logo size to 60px, floats the image to the left, creates a thumbnail version of the image)