# Generic bbcode wrapper for theme components

**URL:** <https://meta.discourse.org/t/generic-bbcode-wrapper-for-theme-components/123516>\
**Category:** Announcements\
**Tags:** new-feature\
**Created:** [July 20, 2019, 12:48pm UTC](https://meta.discourse.org/t/generic-bbcode-wrapper-for-theme-components/123516 "2019-07-20T12:48:59Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![j.jaffeux](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/j.jaffeux/32/60297_2.png) [@j.jaffeux](https://meta.discourse.org/u/j.jaffeux)\
**Post date:** [July 22, 2019, 7:18am UTC](https://meta.discourse.org/t/generic-bbcode-wrapper-for-theme-components/123516/4 "2019-07-22T07:18:45Z")

</div>

I just pushed a fix for this, slight difference is that I won’t support foo-bar but fooBar. So you can now write:

```plaintext
[wrap=foo userId=1]
[/wrap]

```

And you will get:

```plaintext
<div data-wrap="foo" data-user-id="1">
</div>

```

---

_[View the full topic](https://meta.discourse.org/t/generic-bbcode-wrapper-for-theme-components/123516)._
