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...")
 
 
(2 intermediate revisions by the same user not shown)
Line 14: Line 14:
 
;Example usage
 
;Example usage
  
<code>{{BilibiliLink}}</code> → {{BilibiliLink}} (blank, only generates a default-sized logo)
+
<code><nowiki>{{BilibiliLink}}</nowiki></code> → {{BilibiliLink}} (blank, only generates a default-sized logo)
  
<code>{{BilibiliLink|1473830}}</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>{{BilibiliLink|1473830|100px}}</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)
  
<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)
+
<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>

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)