Difference between revisions of "Template:BilibiliLink/doc"

From Moegirlpedia
Jump to: navigation, search
 
Line 16: Line 16:
 
<code><nowiki>{{BilibiliLink}}</nowiki></code> → {{BilibiliLink}} (blank, only generates a default-sized logo)
 
<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}}</nowiki></code> → {{BilibiliLink|1473830}} (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|100px}}</nowiki></code> → {{BilibiliLink|1473830|100px}} (Generates a link to [[Kizuna Ai]]'s channel, changes logo size to 100px)

Latest revision as of 20:25, 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}}Bilibili Logo Blue.svg (blank, only generates a default-sized logo)

{{BilibiliLink|1473830}}Bilibili Logo Blue.svg (Generates a link to Kizuna Ai's channel)

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

{{BilibiliLink|1473830|60px|{{!}}left{{!}}thumb{{!}}Kizuna Ai's channel - bilibili}}

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)