Template:Chip container: Difference between revisions
IssuePress (talk | contribs) No edit summary |
IssuePress (talk | contribs) No edit summary |
||
Line 2: | Line 2: | ||
<div class="chip-container"> | <div class="chip-container"> | ||
{{#if:{{{title|}}}|<h2 class="chip-container-label">{{{title}}}</h2>}} | {{#if:{{{title|}}}|<h2 class="chip-container-label">{{{title}}}</h2>}} | ||
<div class="chips">{{#arraymaptemplate:{{{1|}}}|{{{template | <div class="chips">{{#arraymaptemplate:{{{1|}}}|{{{template}}}|,|}}</div> | ||
</div> | </div> | ||
</includeonly> | </includeonly> | ||
Line 10: | Line 10: | ||
== Usage == | == Usage == | ||
<pre>{{Chip container|Yellow, Cornflower, Burgundy|template=Color|title=Chip Container}}</pre> | <pre>{{Chip container|Yellow, Cornflower, Burgundy|template=Color chip|title=Chip Container}}</pre> | ||
{{Chip container|Yellow, Cornflower, Burgundy|template=Color|title=Chip Container}} | {{Chip container|Yellow, Cornflower, Burgundy|template=Color chip|title=Chip Container}} | ||
</noinclude> | </noinclude> |
Revision as of 00:34, 7 December 2024
An optional wrapper for Chip Templates
Usage
{{Chip container|Yellow, Cornflower, Burgundy|template=Color chip|title=Chip Container}}
Chip Container