Template:Pill: Difference between revisions
From OpenTreeID Help
Imported from the SquidWeb wiki |
OpenTreeID version: ot- styles and OpenTreeID examples |
||
| Line 1: | Line 1: | ||
<span class=" | <span class="ot-pill {{{class|}}}">{{{1|}}}</span><noinclude> | ||
Inline value pill for defaults and states. Grey by default; <code>class= | Inline value pill for defaults and states. Grey by default; <code>class=ot-pill--on</code> for the green "active" variant. | ||
<pre>{{Pill| | <pre>{{Pill|Draft}} {{Pill|class=ot-pill--on|Released}} {{Pill|Owner}}</pre> | ||
gives {{Pill| | gives {{Pill|Draft}} {{Pill|class=ot-pill--on|Released}} {{Pill|Owner}} | ||
[[Category:Content block templates]]</noinclude> | [[Category:Content block templates]]</noinclude> | ||
Latest revision as of 12:24, 23 October 2026
Inline value pill for defaults and states. Grey by default; class=ot-pill--on for the green "active" variant.
{{Pill|Draft}} {{Pill|class=ot-pill--on|Released}} {{Pill|Owner}}
gives Draft Released Owner