Template:Userbox link: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Why Autolang doesn't work?)
(Added YT and Twitter.)
 
(7 intermediate revisions by one other user not shown)
Line 6: Line 6:
     -->| id-s    = background:rgb(255, 224, 51,.16)<!--
     -->| id-s    = background:rgb(255, 224, 51,.16)<!--
     -->| info-s  = background:rgb(255, 224, 51,.16)<!--
     -->| info-s  = background:rgb(255, 224, 51,.16)<!--
     -->| id      = [[File:Logo-gamebanana.png|24px|link=]]<!--
     -->| id      = [[File:icon-gamebanana.png|24px|link=]]<!--
     -->| info    = This user can be found over at <span class="plainlinks">[https://gamebanana.com/{{#if:{{{1|}}}|members/{{{1|}}}|}} GameBanana].</span><!--
     -->| info    = {{Userbox link/strings|ThisUser}} <span class="plainlinks">[https://gamebanana.com/{{#if:{{{1|}}}|members/{{{1|}}}|}} GameBanana].</span><!--
   -->}}<!--
   -->}}<!--
-->}}</onlyinclude></includeonly>[[Category:Templates]][[Category:Userbox Templates]]{{ModernTodo|Make <nowiki>{{Autolang}}</nowiki> works.}}<!--
-->| Twitter | X | twitter | x =<!--
  -->{{userbox<!--
    -->| border-c = rgb(255, 224, 255,.4)<!--
    -->| id-s    = background:rgb(255, 255, 255,.16)<!--
    -->| info-s  = background:rgb(255, 255, 255,.16)<!--
    -->| id      = [[File:Logo-Twitter-X.png|24px|link=]]<!--
    -->| info    = {{Userbox link/strings|ThisUser}} <span class="plainlinks">[https://twitter.com/{{#if:{{{1|}}}|@{{{1|}}}|}} Twitter (X)].</span><!--
  -->}}<!--
-->| YT | yt | youtube | Youtube | YouTube =<!--
  -->{{userbox<!--
    -->| border-c = rgb(253, 1, 25,.4)<!--
    -->| id-s    = background:rgb(253, 1, 25,.16)<!--
    -->| info-s  = background:rgb(253, 1, 25,.16)<!--
    -->| id      = [[File:YouTube_icon.png|24px|link=]]<!--
    -->| info    = {{Userbox link/strings|ThisUser}} <span class="plainlinks">[https://youtube.com/{{#if:{{{1|}}}|{{{1|}}}|}} YouTube].</span><!--
  -->}}<!--
-->}}</onlyinclude></includeonly>[[Category:Templates]][[Category:Userbox Templates]]<!--

Latest revision as of 20:28, 26 December 2023

English (en)Deutsch (de)Esperanto (eo)Español (es)Français (fr)Suomi (fi)Hrvatski (hr)Magyar (hu)Italiano (it)日本語 (ja)한국어 (ko)Nederlands (nl)Polski (pl)Português (pt)Português do Brasil (pt-br)Русский (ru)Slovenčina (sk)Svenska (sv)Türkçe (tr)Українська (uk)Tiếng Việt (vi)中文 (zh)中文(臺灣) (zh-tw)
Curly brackets white.pngTemplate Documentation [view] [edit]
Icon-translate.png Available doc translations
View
Page history
Icon-translate.png
This template uses a strings subpage
Please follow the format on this subpage(s) to add translations.

Userbox used for specifying a link to a website where you can be found.

Translations

The used strings are on the strings subpage. Please follow the format to add translations for them.

Copy and Paste

{{Userbox link | type = <Available values: twitter, youtube, gamebanana> | 1 = }}

Parameters and Examples

Parameter Description Example Preview
{{{type}}} String parameter for specifying the type of website you want to link to.
| type = GameBanana
Icon-gamebanana.png

This user can be found over at GameBanana.

{{{1}}} For specifying additional required information.
| 1 = 1734849