# (Retired) Use an ID in a custom user field to link to a user's external profile

**URL:** https://meta.discourse.org/t/retired-use-an-id-in-a-custom-user-field-to-link-to-a-users-external-profile/41218
**Category:** Site Management
**Created:** [3월 17, 2016, 5:43오후 UTC](https://meta.discourse.org/t/retired-use-an-id-in-a-custom-user-field-to-link-to-a-users-external-profile/41218 "2016-03-17T17:43:28Z")
**Posts on this page:** 1
**Showing post:** 24

<div class="post-metadata">

### Author: ![LeoMcA](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/leomca/32/87233_2.png) [@LeoMcA](https://meta.discourse.org/u/LeoMcA)
#### Post date: [4월 12, 2017, 7:23오후 UTC](https://meta.discourse.org/t/retired-use-an-id-in-a-custom-user-field-to-link-to-a-users-external-profile/41218/24 "2017-04-12T19:23:16Z")

</div>

> [@Jo0Lz](#):
>
> What would be the best way to have these icons “generated” on one line?

It sounds like you’re doing something like this currently:

```plaintext
<script type='text/x-handlebars'>
  {{#if twitchLink}}
     [...]
  {{/if}}
</script>

<script type='text/x-handlebars'>
  {{#if steamLink}}
    [...]
  {{/if}}
</script>

```

If instead you do this:

```plaintext
<script type='text/x-handlebars'>
  {{#if twitchLink}}
     [...]
  {{/if}}
  {{#if steamLink}}
    [...]
  {{/if}}
</script>

```

You can then simply set the `style` attribute on the outermost div or h3 to `display: inline-block;`, so, something like this:

```plaintext
{{#if twitchLink}}
  <div class="public-user-fields" style="display: inline-block;">
     [...]

```

(Or just use elements which are naturally inline).

If you’re looking for more inspiration, [this gist](https://gist.github.com/LeoMcA/1b645c52f0dfa19cb9cdc2d6428a3c99) should do what you want:

 ![](https://global.discourse-cdn.com/meta/original/3X/d/1/d12f7eb7d69e2a7bb440ffbc77cb81a02ff3d30a.png)

Change the object on [line 4 of `head.html`](https://gist.github.com/LeoMcA/1b645c52f0dfa19cb9cdc2d6428a3c99#file-head-html-L4) to change the row of icons, and on [line 50](https://gist.github.com/LeoMcA/1b645c52f0dfa19cb9cdc2d6428a3c99#file-head-html-L50) to change the icon & text combo which appears next to the location/site.

---

_[View the full topic](https://meta.discourse.org/t/retired-use-an-id-in-a-custom-user-field-to-link-to-a-users-external-profile/41218)._
