Difference between revisions of "Template:XLink/doc"

From Moegirlpedia
Jump to: navigation, search
(Created page with ";Introduction This template is used to quickly generate a logo that links to a specific Twitter account. It is mostly applied on character infoboxes, mostly [[VTuber|VTubers]...")
 
Line 9: Line 9:
 
|Twitter username
 
|Twitter username
 
|Logo size, default is 23px
 
|Logo size, default is 23px
|Parameter for manually filling in other image, use {{!}} instead
+
|Parameter for manually filling in other image, use {{!}} instead of the pipe character
 
}}
 
}}
 
</pre>
 
</pre>

Revision as of 01:09, 24 March 2023

Introduction

This template is used to quickly generate a logo that links to a specific Twitter account. It is mostly applied on character infoboxes, mostly VTubers.

Parameters
{{TwitterLink
|Twitter username
|Logo size, default is 23px
|Parameter for manually filling in other image, use {{!}} instead of the pipe character
}}
Usage

{{TwitterLink}}X logo.svg (Blank, only generates the default-sized logo)

{{TwitterLink|aichan_nel}}X logo.svg (Has Kizuna Ai's Twitter username)

{{TwitterLink|aichan_nel|100px}}X logo.svg (Has Kizuna Ai's Twitter username, logo size is changed to 100px)

{{TwitterLink|aichan_nel|60px|{{!}}left{{!}}thumb{{!}}Kizuna AI - Twitter}} → (Has Kizuna Ai's Twitter username, logo size is changed to 60px, other image parameters are added. For emergency use, it is generally not recommended to fill in the template parameters in position 3 unless specifically required)