Template:Part: Difference between revisions

Template page
m (test debug)
(Farnell-Bestellnr)
 
(37 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[Part type::{{PAGENAME}}test| ]]{{infobox start
[[Electronics]]
 
{{infobox start
  |headercolor=#ffffff
  |headercolor=#ffffff
  |name={{PAGENAME}}
  |name=[[Part type::{{PAGENAME}}]]
  |description={{{description|}}}
  |description={{{description|}}}
|image={{{image|}}}
}}<!--
}}<!--


-->{{ifnotempty|{{{location|}}}    | {{infobox row | name=Ort      | value=[[Part location::{{{location|}}}]] }}}}<!--
-->{{ifnotempty|{{{location|}}}    | {{infobox row | name=Ort      | value={{#arraymap:{{{location|}}}|,|x|[[Part location::x]]}} }}}}<!--
-->{{ifnotempty|{{{amount|}}}      | {{infobox row | name=Menge    | value=[[Part amount::{{{amount|}}}]]    }}}}<!--
-->{{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|}}}}}            }}}}<!--
-->{{ifnotempty|{{{owner|}}}      | {{infobox row | name=User      | value={{U|{{{owner|}}}}}            }}}}<!--


-->{{ifnotempty|{{{ownership|}}}  | {{infobox row | name=Besitzstatus | value=[[Has ownership::{{{ownership|}}}| ]]<!--
-->{{infobox row | name=Besitzstatus | value=[[Has ownership::{{{ownership|club}}}| ]]{{Ownership|{{{ownership|club}}}}} }}<!--
-->{{#switch: {{{ownership|}}}
-->{{infobox row | name=Benutzung    | value=[[Usage condition::{{{use|free}}}| ]]{{Usage condition|{{{use|free}}}}} }}<!--
| private = <span style="color: red">privat</span>
-->
| lent = <span style="color: orange">Leihgabe</span>
|}
| club = <span style="color: green">Club-Eigentum</span>
| <span style="color: red; font-weight: bold;">???</span>
}}}}}}<!--


-->{{ifnotempty|{{{use|}}}         | {{infobox row | name=Benutzung | value=[[Usage condition::{{{use|}}}| ]]<!--
{{#if:{{{image|}}}|[[Has image::{{{image|}}}| ]]|[[Has no image::true| ]]}}<!--
-->{{#switch: {{{use|}}}
-->{{#ifeq:{{{capacity|}}}||{{#ifeq:{{{is resistor|}}}|Yes||[[Part is ordinary::Yes| ]]}}}}<!--
| free    = <span style="color: green">frei</span>
-->{{#ifeq:{{{reichelt|}}}{{{pollin|}}}||[[Has no ID::Yes| ]]}}<!--
| ask    = <span style="color: orange">Nachfragen</span>
-->{{#ifexpr:{{{amount|9999}}} < {{{min amount|1}}} | [[Out of stock::Yes| ]] | [[Out of stock::No| ]]}}<!--
| rtfm    = <span style="color: orange">RTFM</span>
| no     = <span style="color: red">Nein</span>
| careful = <span style="color: orange">vorsichtig</span>
| payment = <span style="color: orange">gegen Spende</span>
}}}}}}
|}


{{#autoedit:form=Part
-->{{#ifeq:{{{is resistor|}}}|Yes|[[Part amount::-2| ]]|<!--
-->{{#ifeq:{{{amount|}}}||[[Part amount::-1| ]]}}<!--
-->{{#autoedit:form=Part
  | target=Part:{{PAGENAME}}
  | target=Part:{{PAGENAME}}
  | link type=button
  | link type=button
Line 43: Line 50:
  | namespace=Part
  | namespace=Part
  | reload
  | reload
}}
}}
}}

Latest revision as of 13: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.