Template:Machine chip: Difference between revisions

From stencil.wiki
No edit summary
No edit summary
Line 1: Line 1:
<!-- <includeonly>{{#ifexpr:{{#ask:[[Category:Machines]][[Has display name::{{{1|}}}]]|format=count}}=1|{{Machine chip/simple|{{{1|}}}}}|{{Machine chip/verbose|{{{1|}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}}}}}</includeonly> --><includeonly><span class="chip machine-chip">{{{1|}}}</span></includeonly><noinclude>
<includeonly>
{{#ifexpr:{{#ask:[[Category:Machines]][[Has display name::{{{1|}}}]]|format=count}}=1
    | {{Machine chip/simple|{{{1|}}}}}
    | {{Machine chip/verbose
        | {{{1|}}}
        | {{{2|}}}
        | {{{3|}}}
        | {{{4|}}}
    }}
}}</includeonly><noinclude>
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.  
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.  



Revision as of 17:13, 8 December 2024

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}}

Riso SF-EII LogoSF 5450 EII

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:Machine series page.

{{Machine chip|GR 3750}}

[[|

   ]]

Examples

{{Machine chip|Riso|EZ|570|E}} 

Riso EZ logoEZ 570 E

{{Machine chip|Riso|FR|3950}} 

Riso FR logoFR 3950

{{Machine chip|Riso|GR|3770}} 

Riso GR logoGR 3770

{{Machine chip|Riso|MZ|790}} 

Riso MZ logoMZ 790

{{Machine chip|Riso|RZ|990}} 

Riso RZ logoRZ 990 U

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

Riso SF logoSF 5450

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

Riso SF-EII LogoSF 5450 eii

{{Machine chip|Riso|A2}} 

A2

{{Machine chip|Riso|Print Gocco|B5}} 

PRINT GOCCO B5

{{Machine chip|Ricoh|JP|8000}} 

JP 8000