Line 16: |
Line 16: |
| | {{#ifexpr: {{#var: i }} <= {{#expr:{{#var: {{{count_source_name|}}}_actual_number_of_objects|{{{count}}}}} + {{{start|1}}} - 1}} | true }} | | | {{#ifexpr: {{#var: i }} <= {{#expr:{{#var: {{{count_source_name|}}}_actual_number_of_objects|{{{count}}}}} + {{{start|1}}} - 1}} | true }} |
| | <!-- Shared with other param arrays | | | <!-- Shared with other param arrays |
− | -->[{{#var: i }}][id]={{{id|}}};<!-- | + | -->{{OslTemplate:LabProcess/Parameter/MultiQuantitative/Config |
− | -->[{{#var: i }}][type]={{{param_type|}}};<!--
| + | |index={{#expr: {{{index_start|0}}} + {{#var: i }} }} |
− | -->[{{#var: i }}][name]={{{param_name|Parameter}}}{{#expr:{{#var: i }}+{{{name_start|{{{start|1}}}}}}-{{{start|1}}}}};<!--
| + | |id={{{id|}}} |
− | -->[{{#var: i }}][label]={{{label_name|Parameter}}} {{#expr:{{#var: i }}+{{{name_start|{{{start|1}}}}}}-{{{start|1}}}}};<!--
| + | |param_type={{{param_type|}}} |
− | -->[{{#var: i }}][object_id]={{#replace:{{#replace:{{PAGENAME}}|00-pi|}}|00-pt|}}{{#ifexpr: {{#var: i }} <= 9 |0|}}{{#var: i }}-{{{object_id_postfix|mi}}};<!-- individual section
| + | |param_name={{{param_name|Parameter}}}{{#expr:{{#var: i }}+{{{name_start|{{{start|1}}}}}}-{{{start|1}}}}} |
− | -->[{{#var: i }}][nominal_quantity]={{{nominal_quantity|}}};<!-- | + | |param_label={{{param_label|Parameter}}} {{#expr:{{#var: i }}+{{{name_start|{{{start|1}}}}}}-{{{start|1}}}}} |
− | -->[{{#var: i }}][nominal_value]={{{nominal_value|}}};<!--
| + | |object_id={{#replace:{{#replace:{{PAGENAME}}|00-pi|}}|00-pt|}}{{#ifexpr: {{#var: i }} <= 9 |0|}}{{#var: i }}-{{{object_id_postfix|mi}}}<!-- individual section |
− | -->[{{#var: i }}][nominal_unit]={{{nominal_unit|}}};<!--
| + | --> |
− | -->[{{#var: i }}][actual_quantity]={{{actual_quantity|}}};<!--
| + | |nominal_quantity={{{nominal_quantity|}}} |
− | -->[{{#var: i }}][actual_value]={{{actual_value|}}};<!-- | + | |nominal_value={{{nominal_value|}}} |
− | -->[{{#var: i }}][actual_unit]={{{actual_unit|}}};<!-- | + | |nominal_unit={{{nominal_unit|}}} |
| + | |actual_quantity{{#if:{{{actual_quantity|}}}||NULL}}={{{actual_quantity|}}}<!-- don't pass empty param so nominal value will default actual --> |
| + | |actual_value{{#if:{{{actual_value|}}}||NULL}}={{{actual_value|}}}<!-- don't pass empty param so nominal value will default actual --> |
| + | |actual_unit{{#if:{{{actual_unit|}}}||NULL}}={{{actual_unit|}}}<!-- don't pass empty param so nominal value will default actual --> |
| + | }}<!-- |
| -->{{#vardefine: i | {{#expr: {{#var: i }} + 1 }} }} | | -->{{#vardefine: i | {{#expr: {{#var: i }} + 1 }} }} |
| }}</includeonly> | | }}</includeonly> |