Template:Userbox link: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Made userbox for users who are also on GameBanana)
 
(Added YT and Twitter.)
 
(35 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{userbox
{{doc}}<includeonly><onlyinclude><!--
| border-c = rgb(255, 224, 51,.4)
-->{{#switch:{{{type}}}<!--
| id-s    = background:rgb(255, 224, 51,.16)
-->| Gamebanana | GameBanana =<!--
| info-s  = background:rgb(255, 224, 51,.16)
  -->{{userbox<!--
| id      = [[File:Gblogo.png|18px|link=]]
    -->| border-c = rgb(255, 224, 51,.4)<!--
| info    = This user can be found over at [https://gamebanana.com/{{#if:{{{1|}}}|members/{{{1|}}}|}} GameBanana].
    -->| id-s    = background:rgb(255, 224, 51,.16)<!--
}}
    -->| info-s  = background:rgb(255, 224, 51,.16)<!--
    -->| id      = [[File:icon-gamebanana.png|24px|link=]]<!--
    -->| info    = {{Userbox link/strings|ThisUser}} <span class="plainlinks">[https://gamebanana.com/{{#if:{{{1|}}}|members/{{{1|}}}|}} GameBanana].</span><!--
  -->}}<!--
-->| 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