Template:Part: Difference between revisions

Template page
(tet foo)
 
(Farnell-Bestellnr)
 
(42 intermediate revisions by 2 users not shown)
Line 1: Line 1:
* Typ: [[Part type::{{{type|}}}]]
← [[Electronics]]
* Ort: [[Part location::{{{location|}}}]]
 
* Menge: [[Part amount::{{{amount|-1}}}]]
{{infobox start
* Beschreibung: {{#if:{{{description|}}}[[Part description::{{{description|}}}]]}}
|headercolor=#ffffff
|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
}}
}}

Latest revision as of 14:30, 12 January 2013

Electronics


Part
Mindestlagermenge 1
Besitzstatus Club-Eigentum
Benutzung frei
Error: #autoedit cannot be called on pages in the "Part" namespace on this wiki.
Error: #autoedit cannot be called on pages in the "Part" namespace on this wiki.