Template:Chip container: Difference between revisions
IssuePress (talk | contribs) No edit summary |
Robertbaxter (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
<div class="chip-container">{{#if:{{{title|}}}|<h2 class="chip-container-label">{{{title}}}</h2>}}<div class="chips">{{#arraymaptemplate:{{{1|}}}|{{{template}}}|,|}}</div></div> | <div class="chip-container">{{#if:{{{title|}}}|<h2 class="chip-container-label">{{{title}}}</h2>}}<div class="chips">{{#arraymaptemplate:{{{1|}}}|{{{template}}}|,|}}</div></div> | ||
</includeonly> | </includeonly><noinclude> | ||
An optional wrapper for Chip templates. | |||
<noinclude> | |||
An optional wrapper for Chip | |||
== Usage == | == Usage == | ||
<pre>{{Chip container|Yellow, Cornflower, Burgundy|template=Color chip|title=Chip Container}}</pre> | <pre>{{Chip container|Yellow, Cornflower, Burgundy|template=Color chip|title=Chip Container}}</pre> | ||
{{Chip container|Yellow, Cornflower, Burgundy|template=Color chip|title=Chip Container}} | {{Chip container|Yellow, Cornflower, Burgundy|template=Color chip|title=Chip Container}} | ||
<pre>{{Chip container|Yellow, Cornflower, Burgundy|template=Color chip|title=Chip Container}}</pre> | |||
{{Chip container|GR 3750, GR 3770|template=Machine chip|title=Chip Container}} | |||
</noinclude> | </noinclude> |
Revision as of 16:20, 8 December 2024
An optional wrapper for Chip templates.
Usage
{{Chip container|Yellow, Cornflower, Burgundy|template=Color chip|title=Chip Container}}
{{Chip container|Yellow, Cornflower, Burgundy|template=Color chip|title=Chip Container}}