Template:PartlistSMW: Difference between revisions

Template page
m (muha)
(-Spalte Aktion)
 
(13 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>
-->| [[Part:{{{?Part type|}}}|{{{?Part type|}}}]]
| {{#if:{{{Has image|}}}|[[File:{{{Has image|}}}|100x100px|frameless]]}}
| {{{?Part location|}}}
| [[Part:{{{Part type|}}}|{{{Part type|}}}]]
| {{{?Part amount|}}}
| {{{Part location|}}}
|
| {{#switch: {{{Part amount|}}}
{{#formlink:form=Part
  | -2 =
| link text = edit
  | -1 = ?
| link type = button
  | 0  = <span style="color: red; font-weight: bold;">0</span>
| target = Part:{{{?Part type|}}}
  | 1 = <span style="color: orange">1</span>
| popup
  | {{{Part amount|}}}
}}
  }}
{{#autoedit:form=Part
| {{{Has description|}}}
| target = Part:{{{?Part type|}}}
|-
| link type = button
</includeonly>
| 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|}}}
| {{{?Has image|}}}
|-<!--
--></includeonly>

Latest revision as of 21:17, 28 June 2020

wird in Electronics verwendet, siehe dort.