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