Template:Brand chip: Difference between revisions
Robertbaxter (talk | contribs) No edit summary Tag: Reverted |
Robertbaxter (talk | contribs) No edit summary |
||
(9 intermediate revisions by 2 users not shown) | |||
Line 4: | Line 4: | ||
| ricoh = #FFF0EF | | ricoh = #FFF0EF | ||
| gestetner = #FFF3E0 | | gestetner = #FFF3E0 | ||
}}; | }}; | ||
border-color: {{#switch:{{lc:{{{1|}}}}} | border-color: {{#switch:{{lc:{{{1|}}}}} | ||
Line 10: | Line 9: | ||
| ricoh = #FF857E | | ricoh = #FF857E | ||
| gestetner = #FFC441 | | gestetner = #FFC441 | ||
}};">{{#switch:{{lc:{{{1|}}}}} | }};">{{#switch:{{lc:{{{1|}}}}} | ||
| riso = [[File:Riso-logo-small.png|50px|link=Riso]] | | riso = [[File:Riso-logo-small.png|50px|link=Riso]] | ||
Line 16: | Line 14: | ||
| gestetner = [[File:Gestetner-logo-small.png|50px|link=Gestetner]] | | gestetner = [[File:Gestetner-logo-small.png|50px|link=Gestetner]] | ||
| #default = {{#if:{{{1|}}}|[[{{{1}}}]]|Generic}} | | #default = {{#if:{{{1|}}}|[[{{{1}}}]]|Generic}} | ||
}}</span></includeonly> | }}</span></includeonly><!-- | ||
<noinclude> | --><noinclude> | ||
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 to produce a {{Brand chip| | Brand chips can be included inline within a paragraph using <code><nowiki>{{Brand chip|riso}}</nowiki></code> to produce a {{Brand chip|riso}} chip. When used this way, they appear smaller to maintain the article's visual flow. | ||
==Usage== | ==Usage== | ||
<pre> | ===Supported Brands=== | ||
{{Brand chip|Riso}} | <pre>{{Brand chip|Riso}}</pre><div>{{Brand chip|Riso}}</div> | ||
</pre> | |||
<div>{{Brand chip|Riso}}</div> | |||
<pre | <pre>{{Brand chip|Ricoh}}</pre><div>{{Brand chip|Ricoh}}</div> | ||
</pre> | |||
<div>{{Brand chip|Ricoh}}</div> | |||
<pre> | <pre>{{Brand chip|gestetner}}</pre><div>{{Brand chip|gestetner}}</div> | ||
{{Brand chip| | |||
</pre> | |||
<div>{{Brand chip| | |||
<pre> | ===Unsupported Brands=== | ||
{{Brand chip| | If the specified brand is not supported, the chip will display without a color background and include a red link. | ||
</pre> | <pre>{{Brand chip|Roneo}}</pre><div>{{Brand chip|Roneo}}</div> | ||
<div>{{Brand chip| | |||
<pre> | 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}} | |||
</pre> | <pre>{{Brand chip}}</pre><div>{{Brand chip}}</div> | ||
<div>{{Brand chip}}</div> | |||
</noinclude> | </noinclude> |
Latest revision as of 15:39, 12 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 {{Brand chip|riso}}
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