Template:PartlistSMW: Difference between revisions

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

Latest revision as of 21:17, 28 June 2020

wird in Electronics verwendet, siehe dort.