Template:Machine chip: Difference between revisions

From stencil.wiki
No edit summary
No edit summary
 
(35 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly><span class="chip brand-chip">{{#switch:{{lc:{{{4|}}}}}
<includeonly>{{#if:{{{2|}}}|{{Machine chip/verbose|{{{1|}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}}}|{{Machine chip/simple|{{{1|}}}}}}}</includeonly><!--
    | eii = [[File:Riso-sf-eii-logo-small.png|30px|link=SF Series|Riso SF-EII Logo]]
--><noinclude>
    | #default = {{#switch:{{lc:{{{2|}}}}}
A template to display machine links as [https://m3.material.io/components/chips/overview chips]. It currently supports logos for [[Riso]] [[EZ]], [[FR]], [[GR]], [[MZ]], [[RZ]], and [[SF]] machines. Machines in any other series will be displayed as a simple text link.  
        | ez = [[File:Riso-ez-logo-small.png|30px|link=EZ Series|Riso EZ Logo]]
        | fr = [[File:Riso-fr-logo-small.png|20px|link=FR Series|Riso FR Logo]]
        | gr = [[File:Riso-gr-logo-small.png|24px|link=GR Series|Riso GR Logo]]
        | mz = [[File:Riso-mz-logo-small.png|30px|link=MZ Series|Riso MZ Logo]]
        | rz = [[File:Riso-rz-logo-small.png|30px|link=RZ Series|Riso RZ Logo]]
        | sf = [[File:Riso-sf-logo-small.png|20px|link=SF Series|Riso SF Logo]]
    }}
    }}[[{{uc:{{{1|}}}}} {{uc:{{{2|}}}}}{{uc:{{{3|}}}}}{{uc:
  {{#switch:{{lc:{{{4|}}}}}
    | eii = -eii
    | -eii = -eii
    | #default = {{{4|}}}
  }}
}}]]</span></includeonly>
<noinclude>
A template to showcase machine links as [https://m3.material.io/components/chips/overview chips] to highlight companies important to the stencil printing industry. Currently supports logos for several [[Riso]] machine series.


==Usage==
== Usage ==
To properly use this template, split each of the elements
To use this template split each of the elements:
<pre>
<pre>
{{Machine chip|Brand|Series|Model Number|Extra}}
{{Machine chip|Brand|Series|Model Number|Extra}}
Line 26: Line 10:


For the most part, the Model Number and Extra fields are optional. However, SF-EII models require "EII" in the Extra field slot in order to show the correct logo:  
For the most part, the Model Number and Extra fields are optional. However, SF-EII models require "EII" in the Extra field slot in order to show the correct logo:  
<pre>{{Machine chip|RISO|SF|5450|EII}}</pre>
<pre>{{Machine chip|Riso|SF|5450|EII}}</pre>
{{Machine chip|RISO|SF|5450|EII}}
<div>{{Machine chip|Riso|SF|5450|EII}}</div>


===Examples===
Machine chips can be included inline within a paragraph using <code><nowiki>{{Machine chip|Riso|MZ|790}}</nowiki></code> to produce a {{Machine chip|Riso|MZ|790}}  chip. When used this way, they appear smaller to maintain the article's visual flow.


=== Shortcut ===
The template can also be called with only one element, the "display name" (e.g. "GR 3750" or "MZ 790 U" etc.) but ''only if that machine has been defined on the relevant [[:Category:Duplicator series|Duplicator series]] page.'' If a single parameter is passed that is not recognized as a machine in the database, it will be rendered as a redlink.
<pre>
{{Machine chip|GR3750}}
</pre>
<div>{{Machine chip|GR3750}}</div>
<pre>
{{Machine chip|Duplo DC-10 Mini}}
</pre>
<div>{{Machine chip|Duplo DC-10 Mini}}</div>
A series can also be linked as a machine chip with the text for the series page or series code.
<pre>
{{Machine chip|GR series}} {{Machine chip|FR}}
</pre>
<div>{{Machine chip|GR series}} {{Machine chip|FR}}</div>
=== Examples ===
<pre>
<pre>
{{Machine chip|Riso|EZ|570|E}}  
{{Machine chip|Riso|EZ|570|E}}  
</pre>
</pre>
{{Machine chip|Riso|EZ|570|E}}
<div>{{Machine chip|Riso|EZ|570|E}}</div>


<pre>
<pre>
{{Machine chip|Riso|FR|3950}}  
{{Machine chip|Riso|FR|3950}}  
</pre>
</pre>
{{Machine chip|Riso|FR|3950}}
<div>{{Machine chip|Riso|FR|3950}}</div>


<pre>
<pre>
{{Machine chip|Riso|GR|3770}}  
{{Machine chip|Riso|GR|3770}}  
</pre>
</pre>
{{Machine chip|Riso|GR|3770}}
<div>{{Machine chip|Riso|GR|3770}}</div>


<pre>
<pre>
{{Machine chip|Riso|MZ|790}}  
{{Machine chip|Riso|MZ|790}}  
</pre>
</pre>
{{Machine chip|Riso|MZ|790}}
<div>{{Machine chip|Riso|MZ|790}}</div>
    
    
<pre>
<pre>
{{Machine chip|Riso|RZ|990}}  
{{Machine chip|Riso|RZ|990}}  
</pre>
</pre>
{{Machine chip|Riso|RZ|990|U}}
<div>{{Machine chip|Riso|RZ|990|U}}</div>
   
   
<pre>
<pre>
{{Machine chip|Riso|SF|5450}}  
{{Machine chip|Riso|SF|5450}}
</pre>
</pre>
{{Machine chip|Riso|SF|5450}}
<div>{{Machine chip|Riso|SF|5450}}</div>


<pre>
<pre>
{{Machine chip|Riso|SF|5450|eii}}  
{{Machine chip|Riso|A2}}  
</pre>
</pre>
{{Machine chip|Riso|SF|5450|eii}}
<div>{{Machine chip|Riso|A2}}<div>


<pre>
<pre>
{{Machine chip|Riso|A2}}  
{{Machine chip|Riso|Print Gocco|B5}}  
</pre>
</pre>
{{Machine chip|Riso|A2}}
<div>{{Machine chip|Riso|Print Gocco|B5}}</div>


<pre>
<pre>
{{Machine chip|Ricoh|JP|8000}}  
{{Machine chip|Ricoh|JP|8000}}  
</pre>
</pre>
{{Machine chip|Ricoh|JP|8000}}  
<div>{{Machine chip|Ricoh|JP|8000}}</div>
 
</noinclude>
</noinclude>

Latest revision as of 16:53, 3 February 2025

A template to display machine links as chips. It currently supports logos for Riso EZ, FR, GR, MZ, RZ, and SF machines. Machines in any other series will be displayed as a simple text link.

Usage

To use this template split each of the elements:

{{Machine chip|Brand|Series|Model Number|Extra}}

For the most part, the Model Number and Extra fields are optional. However, SF-EII models require "EII" in the Extra field slot in order to show the correct logo:

{{Machine chip|Riso|SF|5450|EII}}

Machine chips can be included inline within a paragraph using {{Machine chip|Riso|MZ|790}} to produce a Riso MZ logoMZ790 chip. When used this way, they appear smaller to maintain the article's visual flow.

Shortcut

The template can also be called with only one element, the "display name" (e.g. "GR 3750" or "MZ 790 U" etc.) but only if that machine has been defined on the relevant Duplicator series page. If a single parameter is passed that is not recognized as a machine in the database, it will be rendered as a redlink.

{{Machine chip|GR3750}}
{{Machine chip|Duplo DC-10 Mini}}

A series can also be linked as a machine chip with the text for the series page or series code.

{{Machine chip|GR series}} {{Machine chip|FR}}
Riso GR logo Riso FR logo

Examples

{{Machine chip|Riso|EZ|570|E}} 
{{Machine chip|Riso|FR|3950}} 
{{Machine chip|Riso|GR|3770}} 
{{Machine chip|Riso|MZ|790}} 
{{Machine chip|Riso|RZ|990}} 
{{Machine chip|Riso|SF|5450}}
{{Machine chip|Riso|A2}} 
A2
{{Machine chip|Riso|Print Gocco|B5}} 
{{Machine chip|Ricoh|JP|8000}}