How to Create a #Themes Post with an Install Button

AI-generated summary

A user is seeking guidance on creating a #Themes post with an install button مباركمبارك. ondrej provided the required code:

[wrap=theme-install-button repoUrl="GITHUB REPO URL" repoName="EXAMPLE"]
Install this theme component
[/wrap]

However, مباركمبارك reported that the code didn’t work as expected, resulting in only the text “Install this theme component” being displayed. مباركمبارك also inquired about customizing the layout of the install button.

Firepup650 suggested that the code may only work on Meta, but provided an example from Meta that demonstrates the correct usage. JammyDodger revealed that a special plugin is used for this functionality on Meta, but unfortunately, it is not currently available for other sites.

Can someone explain to me how I make a post like the ones in the #themes category, the ones with the install button, how can I make one of these?

[wrap=theme-install-button repoUrl="GITHUB REPO URL" repoName="EXAMPLE"]
Install this theme component
[/wrap]

It didn’t work, just the text “Install this theme component” comes out

I would like to know how I can do the same, place the icons, writing and the button at the bottom

If you’re doing this not on Meta, you probably need whatever TC Meta uses for it. (idk what/where that would be either)

If you are doing it on meta, it should work.

Random example #customization:theme-component topic

Top Contributors Sidebar
Raw:

[wrap=theme-install-button repoUrl="https://github.com/discourse/discourse-top-contributors-sidebar" repoName="Discourse Top Contributors Sidebar"]
Install this theme component
[/wrap]

Parsed:

Install this theme component

We have a special plugin for that, but unfotunately it isn’t currently avaiable to use for other sites.