Difference between revisions of "Template:BilibiliLink/doc"

From Moegirlpedia
Jump to: navigation, search
(Created page with ";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 VTuber|V...")
 
Line 14: Line 14:
 
;Example usage
 
;Example usage
  
<code>{{BilibiliLink}}</code> → {{BilibiliLink}} (blank, only generates a default-sized logo)
+
<nowiki><code>{{BilibiliLink}}</code></nowiki> → {{BilibiliLink}} (blank, only generates a default-sized logo)
  
<code>{{BilibiliLink|1473830}}</code> → (Generates a link to [[Kizuna Ai]]'s channel)
+
<nowiki><code>{{BilibiliLink|1473830}}</code></nowiki> → (Generates a link to [[Kizuna Ai]]'s channel)
  
<code>{{BilibiliLink|1473830|100px}}</code> → {{BilibiliLink|1473830|100px}} (Generates a link to [[Kizuna Ai]]'s channel, changes logo size to 100px)
+
<nowiki><code>{{BilibiliLink|1473830|100px}}</code></nowiki> → {{BilibiliLink|1473830|100px}} (Generates a link to [[Kizuna Ai]]'s channel, changes logo size to 100px)
  
<code>{{BilibiliLink|1473830|60px|{{!}}left{{!}}thumb{{!}}Kizuna Ai's channel - bilibili}}</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)
+
<nowiki><code>{{BilibiliLink|1473830|60px|{{!}}left{{!}}thumb{{!}}Kizuna Ai's channel - bilibili}}</code></nowiki> → {{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:22, 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

<code>{{BilibiliLink}}</code> → Bilibili Logo Blue.svg (blank, only generates a default-sized logo)

<code>{{BilibiliLink|1473830}}</code> → (Generates a link to Kizuna Ai's channel)

<code>{{BilibiliLink|1473830|100px}}</code> → Bilibili Logo Blue.svg (Generates a link to Kizuna Ai's channel, changes logo size to 100px)

<code>{{BilibiliLink|1473830|60px|{{!}}left{{!}}thumb{{!}}Kizuna Ai's channel - bilibili}}</code> →

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)