Tool - Widget Inserter
Insert pre-made widgets (HTML + CSS) into your theme with customizable fields.
Widgets are small, reusable UI blocks (HTML + CSS) that you can insert into your theme and then customize.
Where to find it
Open Tools (Ctrl/Cmd+K) → search Widget Inserter.
Use it
- Select a widget from the list (or use search).
- Fill out the widget’s fields (some fields allow HTML).
- Click:
- Insert HTML (or Insert CSS) to add/update only one side, or
- Use the combined insert option (when available) to add/update both.
Marked snippets (no duplication)
When you insert, the lab wraps the widget output in stable markers so reinserting updates the existing widget block:
<!-- oshilab:begin block=widget/<id>/html v=1 -->
<!-- Widget: <Widget Name> -->
...
<!-- oshilab:end block=widget/<id>/html -->
/* oshilab:begin block=widget/<id>/css v=1 */
/* Widget: <Widget Name> */
...
/* oshilab:end block=widget/<id>/css */
If you delete the markers, the next insert will create a new copy.
Included widgets
- Callout Box — A title + body callout with an optional link. Fully scoped to
.labw-callout. - Info Card — Simple heading & content card. Great for “About”, “Rules”, “Credits”, etc.
- MyOshi Card (native-looking) — A native-looking card that reuses MyOshi’s built-in
.card/.card-header/.card-bodystyles. - Notice Glow (native) — A native-looking “notice” strip that reuses the base template’s
.notice-glowstyle. - Sparkle Divider (native) — A themed horizontal divider that matches the base template’s “sparkle” styling.
- Streaming Schedule (Grid) — Responsive 7-day schedule grid. Fill each day with slots using the provided markup.
- Twitch Buttons — Three CTA buttons for Twitch. Delete any you don’t want.
Notes
- Most widgets are scoped with
labw-*class names to avoid collisions. - “Native” widgets intentionally reuse MyOshi/base-template classes like
.card,.notice-glow, or.sparkle-divider.