Module:Params/testcases/tnumerical: Difference between revisions

Content deleted Content added
Grufo moved page Module:Params/testcases/tnumerical to Module:Params/testcases/sandbox over redirect: Creating an example template to compare functions that affect numerical and sequential parameters
Tag: New redirect
 
 
(8 intermediate revisions by 2 users not shown)
Line 1:
<includeonly>{| class="wikitable"
#REDIRECT [[Module:Params/testcases/sandbox]]
|-
 
! Function name
{{Redirect category shell|
! Result for {{para|&#35;first|{{{#first}}}}} and {{para|&#35;second|{{{#second}}}}}
{{R from move}}
|-
}}
| <code>[[Module:Params#squeezing|squeezing]]</code>
| {{#invoke:params|all_sorted|with_name_not_matching|#first|strict|with_name_not_matching|#second|strict|squeezing|for_each|&#124;$#&#61;$@}}
|-
| <code>[[Module:Params#filling_the_gaps|filling_the_gaps]]</code>
| {{#invoke:params|all_sorted|with_name_not_matching|#first|strict|with_name_not_matching|#second|strict|filling_the_gaps|for_each|&#124;$#&#61;$@}}
|-
| <code>[[Module:Params#clearing|clearing]]</code>
| {{#invoke:params|all_sorted|with_name_not_matching|#first|strict|with_name_not_matching|#second|strict|clearing|for_each|&#124;$#&#61;$@}}
|-
| <code>[[Module:Params#cutting|cutting]]&#124;{{{#first|0}}}&#124;{{{#second|0}}}]</code>
| {{#invoke:params|all_sorted|with_name_not_matching|#first|strict|with_name_not_matching|#second|strict|cutting|{{{#first|0}}}|{{{#second|0}}}|for_each|&#124;$#&#61;$@}}
|-
| <code>[[Module:Params#cropping|cropping]]&#124;{{{#first|0}}}&#124;{{{#second|0}}}</code>
| {{#invoke:params|all_sorted|with_name_not_matching|#first|strict|with_name_not_matching|#second|strict|cropping|{{{#first|0}}}|{{{#second|0}}}|for_each|&#124;$#&#61;$@}}
|-
| <code>[[Module:Params#purging|purging]]&#124;{{{#first|0}}}&#124;{{{#second|0}}}</code>
| {{#invoke:params|all_sorted|with_name_not_matching|#first|strict|with_name_not_matching|#second|strict|purging|{{{#first|0}}}|{{{#second|0}}}|for_each|&#124;$#&#61;$@}}
|-
| <code>[[Module:Params#backpurging|backpurging]]&#124;{{{#first|0}}}&#124;{{{#second|0}}}</code>
|{{#invoke:params|all_sorted|with_name_not_matching|#first|strict|with_name_not_matching|#second|strict|backpurging|{{{#first|0}}}|{{{#second|0}}}|for_each|&#124;$#&#61;$@}}
|-
| <code>[[Module:Params#reversing_numeric_names|reversing_numeric_names]]</code>
| {{#invoke:params|all_sorted|with_name_not_matching|#first|strict|with_name_not_matching|#second|strict|reversing_numeric_names|for_each|&#124;$#&#61;$@}}
|-
| <code>[[Module:Params#sorting_sequential_values|sorting_sequential_values]]</code>
| {{#invoke:params|all_sorted|with_name_not_matching|#first|strict|with_name_not_matching|#second|strict|sorting_sequential_values|for_each|&#124;$#&#61;$@}}
|}</includeonly><noinclude>{{Documentation|heading=[[File:Test Template Info-Icon - Version (2).svg|50px|alt=|link=]] Template documentation}}</noinclude>