Template:Brand chip: Difference between revisions
IssuePress (talk | contribs) No edit summary |
IssuePress (talk | contribs) No edit summary |
||
Line 18: | Line 18: | ||
A template to showcase brand links as visually engaging [https://m3.material.io/components/chips/overview chips] to highlight companies important to the stencil printing industry. Currently supports logos for [[Riso]], [[Ricoh]], and [[Gestetner]]. | A template to showcase brand links as visually engaging [https://m3.material.io/components/chips/overview chips] to highlight companies important to the stencil printing industry. Currently supports logos for [[Riso]], [[Ricoh]], and [[Gestetner]]. | ||
Brand chips can be included inline within a paragraph using {{code|<nowiki>{{Brand chip| | Brand chips can be included inline within a paragraph using {{code|<nowiki>{{Brand chip|riso}}</nowiki>|inline=y}} to produce a {{Brand chip|riso}} chip. When used this way, they appear smaller to maintain the article's visual flow. | ||
==Usage== | ==Usage== | ||
===Supported Brands=== | ===Supported Brands=== | ||
<pre> | <pre>{{Brand chip|Riso}}</pre><div>{{Brand chip|Riso}}</div> | ||
{{Brand chip|Riso}} | |||
</pre> | |||
<div>{{Brand chip|Riso}}</div> | |||
<pre> | <pre>{{Brand chip|Ricoh}}</pre><div>{{Brand chip|Ricoh}}</div> | ||
{{Brand chip|Ricoh}} | |||
</pre> | |||
<div>{{Brand chip|Ricoh}}</div> | |||
<pre> | <pre>{{Brand chip|gestetner}}</pre><div>{{Brand chip|gestetner}}</div> | ||
{{Brand chip| | |||
</pre> | |||
<div>{{Brand chip| | |||
Line 47: | Line 38: | ||
If no brand is specified, the chip defaults to "Generic." This fallback is provided for completeness but is not intended for regular use. | If no brand is specified, the chip defaults to "Generic." This fallback is provided for completeness but is not intended for regular use. | ||
<pre> | <pre>{{Brand chip}}</pre><div>{{Brand chip}}</div> | ||
{{Brand chip}} | |||
</pre> | |||
<div>{{Brand chip}}</div> | |||
</noinclude> | </noinclude> |
Revision as of 17:32, 11 December 2024
A template to showcase brand links as visually engaging chips to highlight companies important to the stencil printing industry. Currently supports logos for Riso, Ricoh, and Gestetner.
Brand chips can be included inline within a paragraph using Template:Code to produce a chip. When used this way, they appear smaller to maintain the article's visual flow.
Usage
Supported Brands
{{Brand chip|Riso}}
{{Brand chip|Ricoh}}
{{Brand chip|gestetner}}
Unsupported Brands
If the specified brand is not supported, the chip will display without a color background and include a red link.
{{Brand chip|Roneo}}
If no brand is specified, the chip defaults to "Generic." This fallback is provided for completeness but is not intended for regular use.
{{Brand chip}}
Generic