Template:PartlistSMW: Difference between revisions

Template page
(Ähm... ja)
(-Spalte Aktion)
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
''not to be called manually''
''wird in [[Electronics]] verwendet, siehe dort.''
</noinclude><includeonly>
</noinclude><includeonly>
| {{#if:{{{?Has image|}}}|[[File:{{{?Has image|}}}|100x100px|frameless]]}}
| {{#if:{{{Has image|}}}|[[File:{{{Has image|}}}|100x100px|frameless]]}}
| [[Part:{{{?Part type|}}}|{{{?Part type|}}}]]
| [[Part:{{{Part type|}}}|{{{Part type|}}}]]
| {{{?Part location|}}}
| {{{Part location|}}}
| {{{?Part amount|}}}
| {{#switch: {{{Part amount|}}}
|
  | -2 =
{{#formlink:form=Part
  | -1 = ?
| link text = edit
  | 0 = <span style="color: red; font-weight: bold;">0</span>
| link type = button
  | 1 = <span style="color: orange">1</span>
| target = Part:{{{?Part type|}}}
  | {{{Part amount|}}}
| popup
  }}
}}
| {{{Has description|}}}
<!--{{#autoedit:form=Part
| target = Part:{{{?Part type|}}}
| link type = button
  | link text = +1
| Part[amount] = {{#expr:{{{?Part amount|0}}} + 1}}
| namespace = Part
  | reload
}}
{{#autoedit:form=Part
| target = Part:{{{?Part type|}}}
| link type = button
| link text = -1
| Part[amount] = {{#expr:{{{?Part amount|1}}} - 1}}
| namespace = Part
| reload
}}-->
| {{{?Has description|}}}
|-
|-
</includeonly>
</includeonly>

Latest revision as of 22:17, 28 June 2020

wird in Electronics verwendet, siehe dort.