Template:Brand chip: Difference between revisions

From stencil.wiki
No edit summary
No edit summary
Line 16: Line 16:
| 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 {{code|<nowiki>{{Brand chip|Riso}}</nowiki>|inline=y}} to produce a <span class="chip brand-chip" style="background-color: #F8F1FA; border-color: #C991D9;"><span typeof="mw:File"><a href="/wiki/Riso" title="Riso"><img src="/w/images/thumb/d/dd/Riso-logo-small.png/50px-Riso-logo-small.png" decoding="async" width="50" height="13" class="mw-file-element" srcset="/w/images/thumb/d/dd/Riso-logo-small.png/75px-Riso-logo-small.png 1.5x, /w/images/thumb/d/dd/Riso-logo-small.png/100px-Riso-logo-small.png 2x" data-file-width="710" data-file-height="183"></a></span></span> chip. When used this way, they appear smaller to maintain the article's visual flow.  
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==

Revision as of 16:00, 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

{{Brand chip|Riso}} 


<div>{{Brand chip|Ricoh}}</div>


{{Brand chip|Gestetner}} 


{{Brand chip|Duplo}} 


{{Brand chip}} 
Generic