Difference between revisions of "Template:XLink/doc"
Line 21: | Line 21: | ||
<code><nowiki>{{TwitterLink|aichan_nel|100px}}</nowiki></code> → {{TwitterLink|aichan_nel|100px}} (Has [[Kizuna Ai]]'s Twitter username, logo size is changed to 100px) | <code><nowiki>{{TwitterLink|aichan_nel|100px}}</nowiki></code> → {{TwitterLink|aichan_nel|100px}} (Has [[Kizuna Ai]]'s Twitter username, logo size is changed to 100px) | ||
− | <code><nowiki>{{TwitterLink|aichan_nel|60px|{{!}}left{{!}}thumb{{!}}Kizuna AI - Twitter}}</nowiki></code> → (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) | + | <code><nowiki>{{TwitterLink|aichan_nel|60px|{{!}}left{{!}}thumb{{!}}Kizuna AI - Twitter}}</nowiki></code> → {{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) |
<noinclude>[[Category:Template documentation]]</noinclude> | <noinclude>[[Category:Template documentation]]</noinclude> |
Revision as of 01:08, 5 May 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}}
→ (Blank, only generates the default-sized logo)
{{TwitterLink|aichan_nel}}
→ (Has Kizuna Ai's Twitter username)
{{TwitterLink|aichan_nel|100px}}
→ (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)