Latest revision |
Your text |
Line 1: |
Line 1: |
| ← [[Electronics]]
| | * Typ: [[Part type::{{{type|}}}]] |
| | | * Ort: [[Part location::{{{location|}}}]] |
| {{infobox start
| | * Menge: [[Part amount::{{{amount|-1}}}]] |
| |headercolor=#ffffff
| | * Beschreibung: {{#if:{{{description|}}}[[Part description::{{{description|}}}]]}} |
| |name=[[Part type::{{PAGENAME}}]]
| |
| |description={{{description|}}}
| |
| |image={{{image|}}}
| |
| }}<!--
| |
| | |
| -->{{ifnotempty|{{{location|}}} | {{infobox row | name=Ort | value={{#arraymap:{{{location|}}}|,|x|[[Part location::x]]}} }}}}<!--
| |
| -->{{ifnotempty|{{{amount|}}} | {{infobox row | name=Menge | value=[[Part amount::{{{amount|}}}]] }}}}<!--
| |
| -->{{infobox row | name=Mindestlagermenge | value=[[Minimum amount::{{{min amount|1}}}]] }}<!--
| |
| -->{{ifnotempty|{{{rm|}}} | {{infobox row | name=RM | value=[[RM::{{{rm|}}}]] }}}}<!--
| |
| -->{{ifnotempty|{{{capacity|}}} | {{infobox row | name=Kapazität | value=[[Capacity::{{{capacity|}}}]] }}}}<!--
| |
| -->{{#ifeq:{{{is resistor|}}} | Yes| {{infobox row | name=Widerstand| value=[[Resistance::{{#titleparts:{{PAGENAME}}|1}}]] }}}}<!--
| |
| -->{{ifnotempty|{{{voltage|}}} | {{infobox row | name=Spannung | value=[[Voltage::{{{voltage|}}}]] }}}}<!--
| |
| -->{{ifnotempty|{{{tolerance|}}} | {{infobox row | name=Toleranz | value=[[Tolerance::{{{tolerance|}}}]] }}}}<!--
| |
| -->{{ifnotempty|{{{cost|}}} | {{infobox row | name=Spendenempfehlung|value=[[Cost::{{{cost|}}}]] }}}}<!--
| |
| -->{{ifnotempty|{{{datasheet|}}} | {{infobox row | name=Datenblatt| value={{Datasheet link | {{{datasheet}}} }} }}}}<!--
| |
| -->{{ifnotempty|{{{reichelt|}}} | {{infobox row | name=Reichelt | value=[[Reichelt ID::{{{reichelt|}}}]] }}}}<!--
| |
| -->{{ifnotempty|{{{pollin|}}} | {{infobox row | name=Pollin | value=[[Pollin ID::{{{pollin|}}}]] }}}}<!--
| |
| -->{{ifnotempty|{{{farnell|}}} | {{infobox row | name=Farnell | value=[[Farnell ID::{{{farnell|}}}]] }}}}<!--
| |
| -->{{ifnotempty|{{{owner|}}} | {{infobox row | name=User | value={{U|{{{owner|}}}}} }}}}<!--
| |
| | |
| -->{{infobox row | name=Besitzstatus | value=[[Has ownership::{{{ownership|club}}}| ]]{{Ownership|{{{ownership|club}}}}} }}<!--
| |
| -->{{infobox row | name=Benutzung | value=[[Usage condition::{{{use|free}}}| ]]{{Usage condition|{{{use|free}}}}} }}<!--
| |
| -->
| |
| |}
| |
| | |
| {{#if:{{{image|}}}|[[Has image::{{{image|}}}| ]]|[[Has no image::true| ]]}}<!-- | |
| -->{{#ifeq:{{{capacity|}}}||{{#ifeq:{{{is resistor|}}}|Yes||[[Part is ordinary::Yes| ]]}}}}<!--
| |
| -->{{#ifeq:{{{reichelt|}}}{{{pollin|}}}||[[Has no ID::Yes| ]]}}<!--
| |
| -->{{#ifexpr:{{{amount|9999}}} < {{{min amount|1}}} | [[Out of stock::Yes| ]] | [[Out of stock::No| ]]}}<!--
| |
| | |
| -->{{#ifeq:{{{is resistor|}}}|Yes|[[Part amount::-2| ]]|<!--
| |
| -->{{#ifeq:{{{amount|}}}||[[Part amount::-1| ]]}}<!--
| |
| -->{{#autoedit:form=Part
| |
| | target=Part:{{PAGENAME}}
| |
| | link type=button
| |
| | link text=+1
| |
| | Part[amount]={{#expr:{{{amount|0}}} + 1}}
| |
| | namespace=Part
| |
| | reload
| |
| }}
| |
| {{#autoedit:form=Part
| |
| | target=Part:{{PAGENAME}}
| |
| | link type=button
| |
| | link text=-1
| |
| | Part[amount]={{#expr:{{{amount|1}}} - 1}}
| |
| | namespace=Part
| |
| | reload
| |
| }}
| |
| }} | |